Adding Library Auto Update?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Ferdi-T Offline
Senior Member
Posts: 157
Joined: Jul 2011
Reputation: 1
Post: #1
Lately I installed this script, and it's so good that I never want to live without it. Saves a lot of time updating&cleaning.

http://wiki.xbmc.org/index.php?title=Add...uto_Update

How about including it in a future version of XBMC?
find quote
Martijn Offline
Team-XBMC
Posts: 11,077
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #2
Why include this if there is an add-on?

Beside that there are some risks

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Ferdi-T Offline
Senior Member
Posts: 157
Joined: Jul 2011
Reputation: 1
Post: #3
Well, basically because when I started using it it made me think: "this is how XBMC should work right out of the box". Plugins are by their nature something that you more or less stumble upon. Which is okay for a lot of plugins, but in this specific case it's something that I bet a lot of people would appreciate.
find quote
edrikk Offline
Senior Member
Posts: 234
Joined: Jul 2011
Reputation: 5
Post: #4
I would 100% agree with that thought.
My parents run a HTPC, and as I didn't want to mess with plugins for them, I actually had windows reboot at 4 am to do a rescan.... Quick and dirty, but in all honesty, it would be great if XBMC just watched its folders....
find quote
Montellese Offline
Team-XBMC Developer
Posts: 3,635
Joined: Jan 2009
Reputation: 34
Location: Switzerland
Post: #5
(2012-08-09 04:10)edrikk Wrote:  I would 100% agree with that thought.
My parents run a HTPC, and as I didn't want to mess with plugins for them, I actually had windows reboot at 4 am to do a rescan.... Quick and dirty, but in all honesty, it would be great if XBMC just watched its folders....

Because as always it's sooooooo easy. Watching folders is basically only a real option for local drives (and even there it depends on the filesystem and the operating system being used). Anything that resides on a network share (or simply not on the same computer as XBMC) either requires special third party software (which again needs to be setup, configured and tested) or a polling behaviour which may not be such a good idea either depending on the type of source.

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.

[Image: badge.gif]
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 19,968
Joined: Jan 2011
Reputation: 247
Location: Arizona, USA
Post: #6
There's another add-on that will watch folders and update the library when a new file is found: Add-on:Library watchdog

Which is another point of why these things aren't enabled by default; there's many options. Some people don't change/add content very often and don't want to do things like an automatic update. Some people shutdown and open up XBMC often and updating upon start up is enough for them, and additional auto updates wouldn't do anything more than wake a sleeping hard drive. Others use media/download managers that remotely trigger a library update after downloading a new file.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
edrikk Offline
Senior Member
Posts: 234
Joined: Jul 2011
Reputation: 5
Post: #7
(2012-08-09 10:29)Montellese Wrote:  
(2012-08-09 04:10)edrikk Wrote:  I would 100% agree with that thought.
My parents run a HTPC, and as I didn't want to mess with plugins for them, I actually had windows reboot at 4 am to do a rescan.... Quick and dirty, but in all honesty, it would be great if XBMC just watched its folders....

Because as always it's sooooooo easy. Watching folders is basically only a real option for local drives (and even there it depends on the filesystem and the operating system being used). Anything that resides on a network share (or simply not on the same computer as XBMC) either requires special third party software (which again needs to be setup, configured and tested) or a polling behaviour which may not be such a good idea either depending on the type of source.

Smile
You're 100% correct Montellese... I actually was simply referring to local disks... using inotify / FindFirstChangeNotification ... But you're absolutely right in (what I read to be) "it's better to not implement it, than implement it only for local disks, and have a million questions about 'why doesn't it work for me? I have my files sitting on ....'"
find quote
HeresJohnny Offline
Senior Member
Posts: 151
Joined: Mar 2011
Reputation: 2
Location: Germany
Post: #8
Yup, I have my stuff on an external RAID encasing. If I forget to turn it on and XBMC starts scraping away, my shares might be wiped clean. Especially annoying because I've taken some time to fix music artist bios manually.
find quote
ghostelement Offline
Fan
Posts: 444
Joined: Sep 2010
Reputation: 3
Location: Portland, Oregon
Post: #9
(2012-08-10 17:26)HeresJohnny Wrote:  Yup, I have my stuff on an external RAID encasing. If I forget to turn it on and XBMC starts scraping away, my shares might be wiped clean. Especially annoying because I've taken some time to fix music artist bios manually.

This is the biggest problem I have with the current setup. If for whatever reason my storage server decides to lock up or loose connectivity, my libraries get wiped out, and have to be rebuilt when the server comes back online.

[Image: tgdb-buttonlogosmall.png]
thegamesdb.net - An open video games database.
scottbrant.net - Blog
find quote
Live2Ride Offline
Junior Member
Posts: 18
Joined: Apr 2013
Reputation: 0
Post: #10
(2012-08-10 17:26)HeresJohnny Wrote:  Yup, I have my stuff on an external RAID encasing. If I forget to turn it on and XBMC starts scraping away, my shares might be wiped clean. Especially annoying because I've taken some time to fix music artist bios manually.


I haven't thought about that.. Pure luck that my library haven't been wiped out.
One solution for this would be that before auto cleaning should backup the databases. Maybe a future feature...
find quote
verysoftpaper Offline
Junior Member
Posts: 45
Joined: Jul 2012
Reputation: 0
Post: #11
XBMC should not delete Media in case it can't mount the network filesystem where the files should be, or the mount point for the external HDD can't be found.

This is an essencial usability feature that PLEX already has for some time now. This might seem irrelevant for those who like to collect movies, but for those who need to delete movies frequently to free up space, it is a PITA to have to go and clean files manually everytime.

If/when XBMC fixes this, I'm ready to jump ship, until then with PLEX I must stay

+1
find quote