[REQUEST] GitHub download/update plugin or script?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
EMK0 Offline
Senior Member
Posts: 207
Joined: Oct 2008
Reputation: 0
Post: #1
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.
find quote
redtapemedia Offline
UMM Project
Posts: 544
Joined: Mar 2009
Post: #2
EMK0 Wrote: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.
find quote
theuni Offline
Team-XBMC Communication Manager
Posts: 1,088
Joined: Oct 2007
Reputation: 2
Location: Atlanta, Ga, USA
Post: #3
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
find quote
spiff Online
Grumpy Bastard Developer
Posts: 12,179
Joined: Nov 2003
Reputation: 82
Post: #4
or os.popen('git pull path') from python if you want to do a script yourself...

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,341
Joined: Jan 2008
Reputation: 2
Location: US
Post: #5
spiff Wrote: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.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote