damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

Rare multi-part bug (foldername gets used instead of filename) #1062

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Created folder 'BadFolderName' with two files in it 'Avatar CD1.avi' and 
'Avatar CD2.avi'. Then added the folder to import path of MovingPictures and 
here is the result:

    12-Nov-2011 04:21:05  Info [       MovieImporter]: Watcher queued Avatar CD1.avi for processing.
    12-Nov-2011 04:21:05  Info [       MovieImporter]: Watcher queued Avatar CD2.avi for processing.
    12-Nov-2011 04:21:05 Debug [VideoFormatExtension]: Identifier: Path='C:\IMPORT_PATH\BadFolderName\Avatar CD1.avi', Format='File', Hash='0000000000000000'
    12-Nov-2011 04:21:05 Debug [VideoFormatExtension]: Identifier: Path='C:\IMPORT_PATH\BadFolderName\Avatar CD2.avi', Format='File', Hash='0000000000000000'
    12-Nov-2011 04:21:09 Debug [ DataProviderManager]: SEARCH: Title='BadFolderName', Provider='imdb.com', Version=2.1.5, Number of Results=0
    12-Nov-2011 04:21:14 Debug [       MovieImporter]: Built MediaSignature: Path= "C:\IMPORT_PATH\BadFolderName", Folder= "BadFolderName", File= "Avatar CD1.avi", Keywords= "BadFolderName", Title= "BadFolderName", Year= 0, DiscId= "", MovieHash= "0000000000000000", ImdbId= ""
    12-Nov-2011 04:21:14  Info [       MovieImporter]: No exact match for Avatar CD1.avi, Avatar CD2.avi

It sees both files, but during the multi-part grouping stage it then for some 
reason ends up using the foldername for the title, which makes things fail.

Tested with all settings at default, then tried the following changes:

DISABLE: "Prefer Folder Name for Movie Matching"
ENABLE: "Always Group Files In The Same Folder"

But it did not help.

Original issue reported on code.google.com by RoChess....@gmail.com on 12 Nov 2011 at 9:35