![]() |
|
Directory Watchdog - Background file monitor service to initiate auto update library? - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: Feature Suggestions (/forumdisplay.php?fid=9) +--- Thread: Directory Watchdog - Background file monitor service to initiate auto update library? (/showthread.php?tid=66348) |
Directory Watchdog - Background file monitor service to initiate auto update library? - sireone - 2010-01-07 03:06 I've been searching and searching and it seems that one feature that needs to be implemented in the next update is Automatically Updating of the video library in XBMC Live!. They took one step forward and added 'Update on Startup', but what we really need is updating at specified intervals. I did some searching and found some scripts (based on xbmc-eventclients-xbmc-send), but then realized that Camelot 9.11 does not contain cron. If anyone has any ideas, lemme know, Thanks, - hikaricore - 2010-01-07 03:11 Why not just map an unused button on your remote? Does the trick for me. - althekiller - 2010-01-07 03:21 Install cron, live is just a stripped ubuntu. - robweber - 2010-01-07 03:54 While the suggested solutions all 'work', the fact remains that it requires some additional setup (some platform dependent) for something that could easily be solved with a setting in XBMC where you set the time of day and it just does it. - sireone - 2010-01-07 04:12 Am i missing something here? Quote:xbmc@XBMCLive:~$ sudo apt-get install cron - wstewart - 2010-01-07 05:10 cron is the package. Did you do apt-get update Must be something wrong with your sources. Check /etc/apt/sources.list - sireone - 2010-01-07 05:16 That did it! Once I ran 'apt-get update' I was able to run 'apt-get install cron' Thanks, - outleradam - 2010-01-07 06:11 no need to install cron get curl. it's more fun. curl provides terminal based web access. Code: apt-get install curlCode: #! /bin/bashCode: chmod +x /path/to/myscript.sh- The-Boxhead - 2010-01-07 11:29 Why all this would work the best way to do it would be that XBMC had this "built in" in feature rels. Regular users dont expect to setup scripts, mapping custom keymaps, hacking skins or whatever. There should be some kinda "monitor" functions on all sources added. When XBMC senses a change in any of the sources it updates them, and movies / music or whatever is automaticly scanned into the library. Most "library" programs on PC/MAC has this functions and users are used to it. - spiff - 2010-01-07 11:46 robweber, then send us the simple diff. i mean, it's just adding a setting to the gui and poof it does it automagically, eh. |