Kodi Community Forum

Full Version: XBMC Movie Library: Recursive scan seems not to work any more
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, here is the structure of the archive:

movies
...moviename (country)
......moviename.ms2ts
......moviename.nfo
...nextmovie (country)
......nextmovie.m2ts
......nextmovie.nfo
...

According to the wiki, if you set the content of the folder "movies" to (Movies) and enable "Scan recursively", that should do the job. And it did once in the past. But not anymore. The movies *will* be scraped when I set the content of the individual folders "moviename (country)" and "nextmovie (country) to (Movies), but that can't be the idea.
Has anyone else such problems? Is there a workaround or did I do something wrong? Any help is appreciated...
For that setup you'll want to make sure you have "movies are in separate folders named like the movie" turned on in the scraper settings when you "set content" to movies on the "movies" folder.
Thanks for your answer. Fun fact is: It worked like this before, so I'm wondering, if there have been any changes in the past.
Concerning your hint: Tried that before posting and it didn't help. I also renamed the subfolders to "moviename (year)" as recommended in the different documentations, but that didn't help also (apart from the fact, that I have to maintain my current naming scheme).
So the bottomline is: I managed to scrape the whole library recursively with the movies residing in subfolders and matching .nfo files next to the movies (with XBMC 10.0 I think). That does not seem to work any more despite setting "scan recursively" and "movies are in separate folders". Just setting the content type on all subfolders bears results. It's just not really convenient to do that manually now and for all future changes...
The wiki pages on this are a little rough right now. Just did a big of reorganization and will soon update the screen shots and update the options for each step.

Are you on XBMC v10.1 or on XBMC v11 Beta 3?
milla4 Wrote:Fun fact is: It worked like this before

Same here. I was going crazy trying to figure out why my NFOs were being ignored. That, coupled with the fact that TheMovieDb scrapper is breaking sets lead me to believe that Beta 3 was just borked altogether

Side note: I thought movie.nfo was always used if it was in the folder with a movie? Or does movie.nfo REQUIRE "Movies are in separate folders that match the movie name" (previously "Use foldernames for lookups") be checked now (unlike before)?

It seems like their should be a specific checkbox for loading NFOs, or the verbage needs to change, because even if I have, say, How to Train Your Dragin in a folder named "sdfsdfsd" but have a properly set up movie.nfo in the folder, and I check the "Movies are in separate folders that match the movie name", it's going to pull the information without an issue
To help us help you, we'll need:

1. Exact filesystem layout, including what you name your .nfo files etc.
2. Exact scraper settings, including which folder you "set content" on.
3. Debug log of you scanning that source (from scratch).

Cheers,
Jonathan
I don't need help anymore. I switched to the IMDb scrapper, and checked "Movies are in separate folders that match the movie name". Now it's loading the NFOs and creating my NFO defined sets like it was in Beta 1 and Dharma

The only problem now, seems to be TheMoviesDb scrapper not using NFO defined sets, but it's own instead, but as far as I know, that's a known issue? Because up changelog and options in it seems to show it going back and forth with how it handles sets

I was merely saying that I think it might be better if the verbage was changed around a little for those that use NFO files, because it's not as clear. Basically, how it used to work is not how it works now. If you'd like me to run some source scans and give you logs, I can, but I no longer have an issue with the IMDB scrapper and checking just about every box when setting up the source
No, tmdb scraper using it's own sets is no longer a problem. It was an XBMC bug that meant scraper sets were appended to nfo sets rather than nfo sets overriding scraped sets. This was remedied in b3.
Thanks for your offer to help, jmarshall. I cleaned the Library before trying to rescrape. The movies are located on the NAS \\videobox that offers a share called "video". Beneath that is a folder named "sd". That's the folder, that I tried to scrape (in full: "//videobox/video/sd/"). The scrape settings were:

This directory contains: (Movies)
Current scraper: IMDb (also tried this with The MovieDB)
Run automated scan: X
Scan recursively: X

Inside the path //videobox/video/sd/ you will find around 14 folders named "Moviename (COUNTRY)". Inside each of these folders, there is a Moviename.mkv and a Moviename.nfo!
Scraping still yields no results. If I set the content type of any "//videobox/video/sd/Moviename (COUNTRY)" to (Movies), XBMC will scrape this folder correctly and also using the data from Moviename.nfo (except <watched> and <playcount> but this may be a topic of another thread).
Please tell me if you need any more information. Thanks again for you interest.
Part of the log follows:

11:52:54 T:2548 DEBUG: ------ Window Init (DialogProgress.xml) ------
11:52:55 T:2548 DEBUG: ------ Window Init (DialogVideoScan.xml) ------
11:52:55 T:2548 INFO: Loading skin file: DialogVideoScan.xml
11:52:55 T:3412 DEBUG: Thread VIDEO::CVideoInfoScanner start, auto delete: 0
11:52:55 T:3412 NOTICE: VideoInfoScanner: Starting scan ..
11:52:55 T:3412 DEBUG: VideoInfoScanner: Scanning dir '//videobox/video/sd/' as not in the database
11:52:55 T:3412 DEBUG: VideoInfoScanner: No (new) information was found in dir //videobox/video/sd/
11:52:55 T:3412 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
11:52:55 T:3412 INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
11:52:55 T:3412 DEBUG: Thread VIDEO::CVideoInfoScanner 3412 terminating
11:52:55 T:2548 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
11:52:55 T:2548 DEBUG: ParentPath = [sources://video/]
11:52:55 T:3316 DEBUG: Thread Background Loader start, auto delete: 0
11:52:55 T:3316 DEBUG: Thread Background Loader 3316 terminating
11:52:55 T:2548 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
11:52:55 T:2548 DEBUG: ------ Window Deinit (DialogVideoScan.xml) ------
11:52:58 T:2548 DEBUG: SDLKeyboard: scancode: 2e, sym: 0063, unicode: 0063, modifier: 0
11:52:58 T:2548 DEBUG: CApplication::OnKey: c (f043) pressed, action is ContextMenu
11:52:58 T:2548 DEBUG: CFavourites::Load - no system favourites found, skipping
11:52:58 T:2548 DEBUG: CFavourites::Load - no userdata favourites found, skipping
11:52:58 T:2548 INFO: Loading skin file: DialogContextMenu.xml
11:52:58 T:2548 DEBUG: ------ Window Init (DialogContextMenu.xml) ------
11:52:58 T:2548 DEBUG: ------ Window Deinit (Pointer.xml) ------
11:52:58 T:2548 DEBUG: ------ Window Init (Pointer.xml) ------
11:52:59 T:2548 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
11:52:59 T:2548 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
11:52:59 T:2548 DEBUG: ------ Window Init (DialogVideoScan.xml) ------
11:52:59 T:2548 INFO: Loading skin file: DialogVideoScan.xml
11:52:59 T:3100 DEBUG: Thread VIDEO::CVideoInfoScanner start, auto delete: 0
11:53:00 T:3100 NOTICE: VideoInfoScanner: Starting scan ..
11:53:00 T:3100 DEBUG: VideoInfoScanner: Scanning dir '//videobox/video/sd/' as not in the database
11:53:00 T:3100 DEBUG: VideoInfoScanner: No (new) information was found in dir //videobox/video/sd/
11:53:00 T:3100 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
11:53:00 T:3100 INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
11:53:00 T:3100 DEBUG: Thread VIDEO::CVideoInfoScanner 3100 terminating
11:53:00 T:2548 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
11:53:00 T:2548 DEBUG: ParentPath = [sources://video/]
11:53:00 T:2440 DEBUG: Thread Background Loader start, auto delete: 0
11:53:00 T:2440 DEBUG: Thread Background Loader 2440 terminating
11:53:00 T:2548 DEBUG: ------ Window Deinit (DialogVideoScan.xml) ------
11:53:00 T:2548 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
11:53:00 T:2548 DEBUG: CGUIMediaWindow::GetDirectory (//videobox/video/sd/)
11:53:00 T:2548 DEBUG: ParentPath = [sources://video/]
11:53:00 T:2548 DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from movieview where c23=5
11:53:00 T:2300 DEBUG: Thread Background Loader start, auto delete: 0
11:53:00 T:2300 DEBUG: Thread Background Loader 2300 terminating
11:53:02 T:2548 DEBUG: SDLKeyboard: scancode: 2e, sym: 0063, unicode: 0063, modifier: 0
11:53:02 T:2548 DEBUG: CApplication::OnKey: c (f043) pressed, action is ContextMenu
11:53:02 T:2548 DEBUG: CFavourites::Load - no system favourites found, skipping
11:53:02 T:2548 DEBUG: CFavourites::Load - no userdata favourites found, skipping
11:53:02 T:2548 INFO: Loading skin file: DialogContextMenu.xml
11:53:02 T:2548 DEBUG: ------ Window Init (DialogContextMenu.xml) ------
11:53:02 T:2548 DEBUG: ------ Window Deinit (Pointer.xml) ------
11:53:02 T:2548 DEBUG: ------ Window Init (Pointer.xml) ------
11:53:03 T:2548 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
11:53:03 T:2548 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
11:53:03 T:2548 DEBUG: ------ Window Init (DialogVideoScan.xml) ------
11:53:03 T:2548 INFO: Loading skin file: DialogVideoScan.xml
11:53:03 T:4804 DEBUG: Thread VIDEO::CVideoInfoScanner start, auto delete: 0
11:53:03 T:4804 NOTICE: VideoInfoScanner: Starting scan ..
11:53:03 T:4804 DEBUG: VideoInfoScanner: Scanning dir '//videobox/video/sd/' as not in the database
11:53:03 T:4804 DEBUG: VideoInfoScanner: No (new) information was found in dir //videobox/video/sd/
11:53:03 T:4804 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
11:53:03 T:4804 INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
11:53:03 T:4804 DEBUG: Thread VIDEO::CVideoInfoScanner 4804 terminating
11:53:04 T:2548 DEBUG: CGUIMediaWindow::GetDirectory (//videobox/video/sd/)
11:53:04 T:2548 DEBUG: ParentPath = [//videobox/video/sd/]
11:53:04 T:2548 DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select * from movieview where c23=5
11:53:04 T:2660 DEBUG: Thread Background Loader start, auto delete: 0
11:53:04 T:2660 DEBUG: Thread Background Loader 2660 terminating
11:53:04 T:2548 DEBUG: ------ Window Deinit (DialogVideoScan.xml) ------
11:53:07 T:2548 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
11:53:07 T:2548 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
11:53:07 T:2548 DEBUG: ParentPath = []
11:53:07 T:4212 DEBUG: Thread Background Loader start, auto delete: 0
11:53:07 T:4212 DEBUG: Thread Background Loader 4212 terminating
11:53:09 T:2548 DEBUG: SDLKeyboard: scancode: 01, sym: 001b, unicode: 001b, modifier: 0
11:53:09 T:2548 DEBUG: CApplication::OnKey: escape (f01b) pressed, action is PreviousMenu
11:53:09 T:2548 DEBUG: CGUIWindowManager:TonguereviousWindow: Deactivate
11:53:09 T:2548 DEBUG: ------ Window Deinit (Pointer.xml) ------
11:53:09 T:2548 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
11:53:09 T:2548 DEBUG: CGUIWindowManager:TonguereviousWindow: Activate new
11:53:09 T:2548 DEBUG: ------ Window Init (Home.xml) ------
11:53:09 T:2548 INFO: Loading skin file: Home.xml
11:53:09 T:2548 DEBUG: ------ Window Init (Pointer.xml) ------
11:53:12 T:2548 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
11:53:12 T:2548 DEBUG: CApplication::ExecuteXBMCAction : Translating ActivateWindow(Settings)
11:53:12 T:2548 DEBUG: CApplication::ExecuteXBMCAction : To ActivateWindow(Settings)
11:53:12 T:2548 DEBUG: Activating window ID: 10004
11:53:12 T:2548 DEBUG: ------ Window Deinit (Home.xml) ------
11:53:12 T:2548 DEBUG: ------ Window Init (Settings.xml) ------
11:53:12 T:2548 INFO: Loading skin file: Settings.xml
11:53:16 T:2548 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
11:53:16 T:2548 DEBUG: CApplication::ExecuteXBMCAction : Translating ActivateWindow(SystemSettings)
11:53:16 T:2548 DEBUG: CApplication::ExecuteXBMCAction : To ActivateWindow(SystemSettings)
11:53:16 T:2548 DEBUG: Activating window ID: 10016
11:53:16 T:2548 DEBUG: ------ Window Deinit (Settings.xml) ------
11:53:16 T:2548 DEBUG: ------ Window Init (SettingsCategory.xml) ------
11:53:16 T:2548 INFO: Loading skin file: SettingsCategory.xml
11:53:17 T:2548 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
11:53:18 T:2548 DEBUG: Previous line repeats 1 times.
11:53:18 T:2548 NOTICE: Disabled debug logging due to GUI setting. Level 0.
11:53:18 T:2548 NOTICE: Log level changed to 0
11:53:24 T:2548 NOTICE: Storing total System Uptime
11:53:24 T:2548 NOTICE: Saving settings
11:53:24 T:2548 NOTICE: stop all
11:53:24 T:2548 NOTICE: ES: Stopping event server
11:53:24 T:2548 NOTICE: stopping zeroconf publishing
11:53:25 T:2540 NOTICE: ES: UDP Event server stopped
11:53:25 T:2548 NOTICE: stop sap announcement listener
11:53:25 T:2548 NOTICE: clean cached files!
11:53:25 T:2548 NOTICE: unload skin
11:53:25 T:2548 ERROR: ADDON: extension 'downloader\' is not currently supported for service addon
11:53:25 T:2548 NOTICE: stop python
11:53:25 T:2548 NOTICE: stopped
11:53:25 T:2548 NOTICE: destroy
11:53:25 T:2548 NOTICE: closing down remote control service
11:53:26 T:2548 NOTICE: unload sections
11:53:26 T:2548 NOTICE: destroy
11:53:26 T:2548 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
11:53:26 T:2548 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
11:53:26 T:2548 NOTICE: closing down remote control service
11:53:26 T:2548 NOTICE: unload sections
11:53:26 T:2548 NOTICE: application stopped...
It seems that deinstalling XBMC, cleaning the local profile and reinstalling finally solved the problem. Maybe some developers want to look into any possible incompatibility/installation problems when upgrading from 10.1 to 11.0b3. The only issue left concerning the library is that though the contents of my local .nfo files are generally used, all <watched> and <playcount> values aren't for I dont see any videos marked as watched. Is this an issue or works as designed?