Posts: 46
Joined: Jun 2009
Reputation:
3
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,
Posts: 1,522
Joined: Dec 2008
Reputation:
0
Why not just map an unused button on your remote?
Does the trick for me.
Posts: 4,997
Joined: May 2004
Reputation:
12
Install cron, live is just a stripped ubuntu.
Posts: 1,292
Joined: Sep 2009
Reputation:
71
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.
Posts: 212
Joined: Jan 2009
Reputation:
1
cron is the package.
Did you do
apt-get update
Must be something wrong with your sources. Check /etc/apt/sources.list
Posts: 46
Joined: Jun 2009
Reputation:
3
That did it! Once I ran 'apt-get update' I was able to run 'apt-get install cron'
Thanks,
Posts: 956
Joined: May 2005
Reputation:
17
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.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
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.
Posts: 1,722
Joined: Sep 2009
Reputation:
20
I have mythicalLibrarian set up to automatically update all xbmc servers on the network when a new recording is generated and added to my NAS. Not everyone has the same setup so there is no single soloution. There is no single command.
Xbmc could DIR > file.log and compare it to the last file.log and update if new file size is not equal to old file size. That would be supported on all platforms. It may get very slow on large libraries though
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
well, that's what update library does internally - in somewhat more sophisticated ways though. what is needed is a directory watchdog, problem with that is there is no cross platform solution.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
banan, that's an option and in line with what i have been saying for years and years on end - adding this to the core makes no sense.