PDA

View Full Version : [REQUEST] GitHub download/update plugin or script?


EMK0
2009-07-30, 06:36
Is there a plugin/script for xbmc that can tell git to do things like update? Just need it to keep to to date with hitchers mods, or can git be setup to do this by its self? im using linux.

redtapemedia
2009-07-30, 08:01
Is there a plugin/script for xbmc that can tell git to do things like update? Just need it to keep to to date with hitchers mods, or can git be setup to do this by its self? im using linux.

Correct me if I'm wrong, but couldn't you add the RSS feed? That would allow you to know when there's an update at least. Auto update would be pretty cool though.

theuni
2009-07-30, 08:45
Blindly updating a live repo without reading the changelog is bound to cause problems every now and then.

That said, 'git pull path' in a cron job should do the trick.

TheUni

spiff
2009-07-30, 10:47
or os.popen('git pull path') from python if you want to do a script yourself...

rwparris2
2009-07-30, 13:21
or os.popen('git pull path') from python if you want to do a script yourself...
popen is (or was) broken inside of xbmc last I checked, but os.system worked.