Kodi Community Forum

Full Version: Duplicate Movie Entries in Video Library View?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello all,

Recent convert to XBMC and just wanted to let everyone know it is FREAKIN' fantastic. I've moved all my HTPCs (3) to XBMC. Definitely the best thing I have seen in awhile.

However, I have a problem with Library view that I couldn't seem to find the answer for using search. If this has been answered already, I apologize for the thread and would appreciate a link to the thread for this issue.

I have loaded up my movies using the scrapers fine. I have also chosen stack in file view and the movies seem to stack fine for multi-part movies. But when I switch to Library view, I now get duplicate entries, one for each part of the movie.

I have tried this on several clean installs with the same result.

I am stumped. Is there a specific naming convention I should be following for multi-part movies?

Any help is appreciated. Thanks!
Wow, I was about to post on this exact same question. I want XBMC to only look at the folder names for the movie titles and basically in Library mode if I pick that movie name, it would play the files in that folder. Does that make sense? For DVD folder files I'd only want it to play the video_ts.ifo file that would start the movie. I actually took all day yesterday moving out all my movies from sub directories for just this purpose. So now instead of having "James Bond/Casino Royale (2006)/casino.mkv" it's now set up as "James Bond Casino Royale (2006)/casino.mkv" other directories could be like so

Movie Name (Year)/cd1/name1.avi
Movie Name (Year)/cd2/name2.avi

So the above it adds double entries in Library mode

Movie Name (Year)/video_ts/video_ts.ifo
Movie Name (Year)/video_ts/video_0.vob
etc

The above causes double entries as well.

Is there an xml file for my to tell it to only look at the folder name and that's all? Then when I pick it in Library mode it will play the .ifo file, first avi (with second queued up), or the mkv files in that specific folder?

Or if this won't work, what is the best way to organize my folders so the double entries will not show up.

Thanks!
When you set content, there should be an option 'Use Folder Names for lookups' or something similar?
Have you checked that option?
yep, I checked that as well but it still goes into the folder directory's and tags all files (2cd avi's and dvd file structure files)
Please post up your debug logs (pastebin.com or similar) so we can see why it results in double db entries.
I will post tonight after class, thank you
VDRfan Wrote:Please post up your debug logs (pastebin.com or similar) so we can see why it results in double db entries.

Thanks VDR, I will work on getting a debug log posted after work as well.

Additionally, I've noticed this only happens to certain titles. Not sure why, but hopefully once I get a debug log up, it can explain more.

Thanks!
Hi VDRfan, Here is some of my logs, pastebin wouldn't take the large file I had;

http://pastebin.com/m34c2ac9b

Anyway, after reading comments in this thread I decided to test out the library and I noticed that I have 3 "Batman" entries. I went ahead and played all three and sure enough all are different batmen movies, so imdb couldn't pull correctly...which is not an xmbc issue I'm sure

Now, the interesting part is there's a double entry for Alien 3, so I went ahead and posted the log file for that movie to maybe give me feedback? It looks like Alien 3 is a 2cd xvid movie and when I play both entries of the library, it's playing each avi.

Hopefully you'll see right away what's wrong and tell me it's some stupid user error that I can fix easily. Thanks for all your help!
Aha! I think I found my issue. Alien 3 had 2 avi's in the directory called

incite-alien3a-int.avi
incite-alien3b-int.avi

I renamed the files
incite-alien3-cd1.avi
incite-alien3-cd2.avi

And now it works fine. I figured this out by going into the directory in file mode, then clicking on stack, and noticing xbmc still saw them as 2 diffrent movies. Renaming them to the above fixed it.

So my question would be do I just go through all my movies and rename them accordingly? It would be a pain but I'm sure a few days here and there and I would be caught up. Please let me know your thoughts, thanks again!
ok, found my issue with the batman double entries. Turns out that the directories had a nfo file in each one. In the nfo file it said boxset and had imdb links to all the movies. So the scraper just pulled the first imdb link from the nfo file and used that for the library entry. I thought by selecting "use folder names" it wasn't going to read nfo files? Oh well, found my problems so now I'm heading to bed. Thanks again!
Thanks for the research Chambers. I checked my file names too, and it turns out that while they would stack correctly in file view mode, they wouldn't stack correctly in Library mode.

I went through the offending titles and renamed them as cd1/cd2. That seemed to solve the problem. Thanks!
Chambers Wrote:I thought by selecting "use folder names" it wasn't going to read nfo files?
It sure does, it doesn't even care what they are named in that case.

ilikecl Wrote:I checked my file names too, and it turns out that while they would stack correctly in file view mode, they wouldn't stack correctly in Library mode.
This sounds like a bug, if a dev confirms a trac ticket should be filed.
What were the names?
I can't see how that can happen, given it's the same stacking routine.

Generate an example filesystem using dummy video files that can reproduce the situation and I'll take a look.
f:\movies\King Kong\King1.avi
f:\movies\King Kong\King2.avi

When I go to Movies I see the Movie twice. Where Can I fix that?
Look in the xbmc wiki for stacking
Pages: 1 2