Automatic library scanning/updates?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
travisbell Offline
themoviedb.org (TMDb) admin
Posts: 137
Joined: Aug 2008
Reputation: 1
Location: Calgary, Canada
Post: #1
Hey guys,

Just a quick question. My primary media center at home is a Windows box but here at work and my main machine (and at home) are Macs. I grabbed Plex and it looks like they have a new feature where you can enable automatic library scanning (in the background) rather than just at startup. This is something I would love to see in the version of XBMC for Windows.

Is there plans on implementing this feature?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #2
This can be done via builtin functions already, but involves a reasonable amount of mucking around (eg it could be done via a python script for instance, or via the skin, or FTP, or via the web API).

We're currently in feature freeze, so such a feature won't be happening until Atlantis is released.

Cheers,
Jonathan

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
travisbell Offline
themoviedb.org (TMDb) admin
Posts: 137
Joined: Aug 2008
Reputation: 1
Location: Calgary, Canada
Post: #3
Cool. I saw a thread with a Python script that you could run every "x" hours but it just seemed to me that having something built in would be the way to go.

I saw you guys mention XBMC is feature frozen until the next release so that's cool. Just wondering if you guys had thought about it before.

Thanks Jonathan.
find quote
sho Offline
Team-XBMC Member
Posts: 4,134
Joined: May 2004
Reputation: 3
Post: #4
Out of curiosity, do they scan the library at an interval?

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
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #5
I don't believe they're doing anything of the sort - at least I haven't noticed it in the git repo (mind you, I don't really keep all that much of an eye on it).

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
travisbell Offline
themoviedb.org (TMDb) admin
Posts: 137
Joined: Aug 2008
Reputation: 1
Location: Calgary, Canada
Post: #6
Seems to me they are:

[Image: 20080813-ks9p2eeity6q88d1n69gpnejj5.preview.jpg]
Click for full size

Also, seems to work to boot.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #7
XBMC has that setting as well. Plex had to get it from somewhere, after all. All it does is hides the scanning progress dialog. We've since defaulted it to off and hidden it from the GUI as it clearly gives the wrong impression as to what it does.

You can still set it via advancedsettings.xml if the dialog annoys you.

EDIT: A quick check through their git shows they're using it the same way as we are (to hide the dialog). Whether or not they're using it elsewhere to initiate a scan I have no idea - I'm not going to checkout all their code to look through it - you are welcome to though. Do a grep for videolibrary.backgroundupdate.

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]
(This post was last modified: 2008-08-14 01:01 by jmarshall.)
find quote
travisbell Offline
themoviedb.org (TMDb) admin
Posts: 137
Joined: Aug 2008
Reputation: 1
Location: Calgary, Canada
Post: #8
Got it. Glad to know that's what it does and you're not wrong about it giving the wrong impression Wink
find quote