2011-07-27, 19:25
Okay so ... I have taken rob webers script.libraryautoupdate which was in the official xbmc add on repo for dharma and modified/updated it to work with git head. I also added a check to see if a library update is already in progress and if so, cancel the new update. So in effect it will update (as specified in settings) the video and/or music libraries at specified intervals (currently .5, 1, 2, 4, 8, 16, 24 hrs.) as long as source is not playing and said library is not already updating.
Now the scheduled updates will be skipped and the timer reset if A. a video or music is playing (to avoid an update while playing either) or B. a scan of either library is already in progress (which is why it works best with xbmc revs from https://github.com/xbmc/xbmc/commit/9688...b9eb4c1bca (thanks vdrfan!) .
Since I am a complete n00b to xbmc addon scripting I am pretty sure it might have some holes in it for pre-eden ... but that said I rely on the script to make my xbmc installs work most like an appleTV type setup in that the library(s) are automatically updated at specified intervals.
So ... it works fine on git head for xbmc as of https://github.com/xbmc/xbmc/commit/9688...b9eb4c1bca which allows the script to discern between whether or not a music or library scan is in process. Any install from before that will fail on update.
The add on can be downloaded here: http://handbrake.dynaflashtech.net/downl...update.zip
Please note: this only works on xbmc git head as of https://github.com/xbmc/xbmc/commit/9688...b9eb4c1bca properly, as its targeted at the next xbmc eden release.
ISSUES: One of the issues I am having is that the linked zip file will not install properly from the current addon manager. it will report that is not a supported addon structure. I have no clue why this is and any info would be greatly appreciated from those 'in the know'.
So, to install it and try it out ... you have to decompress the zip file and put it in your addons directory.
Basically at this point I would love to have someone tell me how to make it install in the git head addons manager from a zip so I can get feedback for starters.
Further ... I also would like to know if this is most appropriately offered under a new addon or as a fork to rob webers most excellent work for an auto update addon for dharma as applied to xbmc eden.
Please test and advise ...
Edit: below was fixed, its was an issue with xbmc as opposed to this add on.
Note: accessing the 'changelog' causes a crash.
Thanks.
Now the scheduled updates will be skipped and the timer reset if A. a video or music is playing (to avoid an update while playing either) or B. a scan of either library is already in progress (which is why it works best with xbmc revs from https://github.com/xbmc/xbmc/commit/9688...b9eb4c1bca (thanks vdrfan!) .
Since I am a complete n00b to xbmc addon scripting I am pretty sure it might have some holes in it for pre-eden ... but that said I rely on the script to make my xbmc installs work most like an appleTV type setup in that the library(s) are automatically updated at specified intervals.
So ... it works fine on git head for xbmc as of https://github.com/xbmc/xbmc/commit/9688...b9eb4c1bca which allows the script to discern between whether or not a music or library scan is in process. Any install from before that will fail on update.
The add on can be downloaded here: http://handbrake.dynaflashtech.net/downl...update.zip
Please note: this only works on xbmc git head as of https://github.com/xbmc/xbmc/commit/9688...b9eb4c1bca properly, as its targeted at the next xbmc eden release.
ISSUES: One of the issues I am having is that the linked zip file will not install properly from the current addon manager. it will report that is not a supported addon structure. I have no clue why this is and any info would be greatly appreciated from those 'in the know'.
So, to install it and try it out ... you have to decompress the zip file and put it in your addons directory.
Basically at this point I would love to have someone tell me how to make it install in the git head addons manager from a zip so I can get feedback for starters.
Further ... I also would like to know if this is most appropriately offered under a new addon or as a fork to rob webers most excellent work for an auto update addon for dharma as applied to xbmc eden.
Please test and advise ...
Edit: below was fixed, its was an issue with xbmc as opposed to this add on.
Note: accessing the 'changelog' causes a crash.
Thanks.