PDA

View Full Version : Noob Question - Getting Movies into Library automatically


gibber9583
2008-07-22, 23:42
I have searched the forums and the wiki for this and i cannot seem to get this to work the way I expect/want it to....

This is my advanced settings .xml

- <advancedsettings>
- <tvshowmatching append="yes">
<regexp>\[[Ss]([0-9]+)\]_\[[Ee]([0-9]+)[^\\/]*</regexp>
% foo_[s01]_[e01]
<regexp>[\._ \-]([0-9]+)x([0-9]+)[^\\/]*</regexp>
% foo.1x09*
<regexp>[\._ \-][Ss]([0-9]+)[\.\-]?[Ee]([0-9]+)[^\\/]*</regexp>
% foo.s01.e01, foo.s01_e01
<regexp>[\._ \-][Ss]([0-9]+)[Ee]([0-9]+)[^\\/]*</regexp>
% foo.s01e01, foo.s01_e01
<regexp>[\._ \-]([0-9]+)([0-9][0-9])[\._ \-][^\\/]*</regexp>
% foo.103*
<regexp>([0-9]+)x([0-9]+)[^\\/]*</regexp>
<regexp>([0-9]+)([0-9][0-9])[^\\/]*</regexp>
<regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
<regexp>[0]*([0-9]+)x[0]*([0-9]+)[^\\/]*</regexp>
<regexp>[\\/]s([0-9]+)e([0-9]+)</regexp>
<regexp>Season ([0-9]+) - Episode ([0-9]+)[^\\/]*</regexp>
</tvshowmatching>
- <videolibrary>
<hideallitems>true</hideallitems>
# removes the "*All" items from the video library
<allitemsonbottom>true</allitemsonbottom>
# sorts the "*All" items at the bottom of the list when in Ascending order
<hiderecentlyaddeditems>true</hiderecentlyaddeditems>
# removes the "Recently added ..." items from the video library.
<itemseparator>/</itemseparator>
# separator used for multiple artists/genres in tags.
<hideemptyseries>true</hideemptyseries>
# hide empty series in the video library
</videolibrary>
</advancedsettings>





My problem is, I cannot get my movie directory to automatically pull movies into library. If i go to the individual movie folder and hit scan, it finds the movie, but if i go to the parent directory it wont find anything.

For example:

D:\Movies

If i set content to Movies > Imdb and scan recursively, it doesnt find anything.

If i scan:

D:\Movies\3:10 to Yuma

It finds the movie without any problems.

How can I set this up so I can just scan D:\Movies and have it find the all of the movies in that folder?

I have it set up to do this for TV Shows, why isnt this working for Movies?

Thanks for anyones input.

jmarshall
2008-07-23, 02:43
Are you actually scanning, or just setting content?

Are you telling it to lookup via folder names or file names?

Do you have a debug log of said scanning in action?

gibber9583
2008-07-23, 02:59
I'm setting the content and scanning...

I have tried scanning the folder and then also the filename, none have worked.

kraqh3d
2008-07-23, 03:33
how are your files named? in your example, whats inside D:\movies\310 to yuma? if your files are named non-intuitively, nothing will match. when you do a scan on the folder like that, it's probably using the folder name as movie name. that may be all you have to do when setting content at d:\movies.

zeuss-axis
2008-07-23, 04:16
I have a similar issue with TV shows...it's never worked quite right. When I add a new TV show to the "TV" directory, which has content set = TV Shows, the Library won't pick it up until I manually do the whole "TV Show Information" routine on it.

My files are organized like so: /TV/Show Name/Season/file.avi

jmarshall
2008-07-23, 04:24
So not a similar issue at all. TV Shows != Movies.

Please post full details (debuglog, exact file naming etc.) in a separate thread.

gibber9583
2008-07-23, 05:55
Here is sample of folder/file structure:


D:\Movies\3:10 to Yuma\3-10.To.Yuma[2007]DvDrip[Eng]-aXXo.avi


When i try to do the whole Movie directory, does not grab each movie, but I do the movie folder, it finds it automatically.

Hitcher
2008-07-23, 08:42
Have you tried using the 'Clean names' option or what ever it's called?

gibber9583
2008-07-23, 14:44
No, where would i find that option? and what does it do?

kraqh3d
2008-07-23, 15:36
it works when you do the movie folder because it uses the folder name in that case. the clean filenames options is in the settings but i dont recall if its in the video settings, or in the appearance settings.

i'm just curious, but are there certain files its not grabbing or is it all of them?

gibber9583
2008-07-23, 17:27
It will not grab any of them. If i do the individual movie folder, it finds it w/out issue. Not sure why it does not work when i go up 1 directory.

kraqh3d
2008-07-23, 17:32
post a link to a debug log.

Hitcher
2008-07-23, 17:53
'Clean filenames' is in the Video Settings.

Have you tried with either of these scraper options?

Use Foldername for Lookups
Uses foldernames as basis for the search when scraping (instead of filenames).

Scan Recursively
Scans subfolders two levels down or more for video files. Note that TV Show scrapers always scan recursively.

kraqh3d
2008-07-23, 17:58
Very good point. If you don't have Scan Recursively enabled, Xbmc won't find anything in your case since you have each movie in its own folder.

gibber9583
2008-07-23, 18:20
So i will want to use file names and scan recursively OR use folder names and do not scan recursively?

I believe I have tried both of these scenarios, but I can try again...I will test later since I am at work. If it does not work, I will post debug log

kraqh3d
2008-07-23, 19:05
Just using "scan recursively" should work. Outside of Xbmc, rename your database (userdata/database/myvideos#.db) to something else. Call it .old or something. Xbmc will then create a brand new blank database when you enter the videos section. This will prevent you running into issues due to the content hash having not changed.

gibber9583
2008-07-29, 03:32
Thanks for your help. Fixed it by installing latest revision and starting from scratch. Movies now pick up automatically.