[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
_Mikie_ Offline
Senior Member
Posts: 220
Joined: May 2011
Reputation: 5
Location: South Africa
Post: #181
mbw2001 with the updater I used API v2 which is now dead. If you look here https://github.com/mrkipling/maraschino/...updater.py it was adapted for v3. Might be helpful Smile
find quote
mbw2001 Online
Junior Member
Posts: 24
Joined: Mar 2011
Reputation: 1
Post: #182
Im looking at it atm. However Im wondering a bit about some of the code. For instance: You write the current version to version.txt, but you never read that file?
find quote
_Mikie_ Offline
Senior Member
Posts: 220
Joined: May 2011
Reputation: 5
Location: South Africa
Post: #183
The one above they edited so I don't know what exactly is going on there. The original one from HTPC Manager should use the version.txt. I was just referencing the API because the original HTPC Manager uses the old API.

Is there a scheduler to check regularly for updates or is it all manual?
find quote
gugahoi Offline
Fan
Posts: 716
Joined: Aug 2009
Reputation: 4
Post: #184
(2012-06-28 08:20)_Mikie_ Wrote:  The one above they edited so I don't know what exactly is going on there. The original one from HTPC Manager should use the version.txt. I was just referencing the API because the original HTPC Manager uses the old API.

Is there a scheduler to check regularly for updates or is it all manual?

Just to help you guys there is a scheduler. Every 6 hours it will check for updates and it does use Version.txt to compare git hashes.

Maraschino - github - website
find quote
_Mikie_ Offline
Senior Member
Posts: 220
Joined: May 2011
Reputation: 5
Location: South Africa
Post: #185
Yeah, complicated scheduler at that! But I was referring to whether HTPC Manager had the scheduler added yet or not Smile
find quote
mbw2001 Online
Junior Member
Posts: 24
Joined: Mar 2011
Reputation: 1
Post: #186
I purposely didnt implement the schedular from the development branch yet. I would like to get the update script working first.

The script itself seems to be working (removed all the maraschino.* variables and made it pretty much standalone. I prefere a simple working skeleton i kan expand if needed.)

Next step is making the manual update check button work and a manual do update button. After that i might make a schedualed check. Though i might just save the version and date and do a check if current date is different than last check. Implementing af schedualer just for this seems overly complicated.
find quote
N3MIS15 Offline
Fan
Posts: 460
Joined: Jul 2010
Reputation: 12
Location: Melbourne, VIC
Post: #187
https://github.com/mrkipling/maraschino/...__.py#L147
Thats where the version check happens (on launch) after launch the hash is checked from Maraschinos memory.

as for the scheduler i used APScheduler. Its pretty simple...

Code:
from apscheduler.scheduler import Scheduler

SCHEDULE = Scheduler()
SCHEDULE.add_interval_job(checkGithub, hours=6)
SCHEDULE.start()

[Image: all-fanart.jpg]
find quote
_Mikie_ Offline
Senior Member
Posts: 220
Joined: May 2011
Reputation: 5
Location: South Africa
Post: #188
For everyone who used to use this I think that we are back to plus minus where we were before development stopped.

https://github.com/mbw2001/HTPC-Manager
find quote
Aenima99x Offline
Donor
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #189
Awesome thx Mikie!
find quote
Livin Offline
Posting Freak
Posts: 3,430
Joined: May 2004
Reputation: 17
Location: above ground
Post: #190
Hey guys,
I've been using Marachino for a few weeks now, and overall think it is good but I need it to be touchscreen friendly... it is not. And I'm not sure they have any interest in making it be - maybe cuz touch screens are a fad Wink

anyway... if this app will be touch friendly (I'm not talking about small mobile phone screens) then I'm onboard.

Please let use know what the plans are for touch.

thx!

I'm not an expert but I play one at work.
find quote
Post Reply