While I was testing the Import of Videos today, I had some problems with two DVD-ISOs. And only these two, all my other DVD-ISOs work like a charm. I'm using the dev-branch of GIT. I added a global share with only one of the not-working ISOs in the path and started a ReImport. What I found out so far:
I set a breakpoint in Line 199 of the ISOResourceAccesor (ResourceExists-Method):
string[] dirList = _isoProxy.IsoReader.GetFileSystemEntries(dosPath, SearchOption.TopDirectoryOnly);
---------------------------------
The first time I get there, I've got the following locals:
path = "VIDEO_TS"
dosPath = "\\"
dosCombined = "\\VIDEO_TS"
This seems ok and I let it go...
---------------------------------
The second time i get there, i looks like this:
path = "VIDEO_TS.IFO"
dosPath = "\\VIDEO_TS"
dosCombined = "\\VIDEO_TS\\VIDEO_TS.IFO"
This time I get an exception:
[2011-10-16 20:31:54,982] [266843 ] [Importer ] [INFO ] - MovieMetadataExtractor: Exception reading resource '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///' (Text: 'The entry "\VIDEO_TS" does not exists in the paths table')
[2011-10-16 20:31:55,107] [266968 ] [Importer ] [INFO ] - ImporterWorker: Importing 'C:\_MP\Quellcode\Media\NOMADEN_LUEFTE.iso > /VIDEO_TS' (2 more resources pending)
[2011-10-16 20:31:55,138] [267000 ] [28 ] [WARN ] - IsoResourceAccessor: Error reading child directories of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetDirectories(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetChildDirectories()
[2011-10-16 20:31:55,154] [267015 ] [28 ] [WARN ] - IsoResourceAccessor: Error reading files of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetFiles(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetFiles()
Looks like there should be one more "\"?!?
---------------------------------
The third time i get there, i looks like this:
path = "VIDEO_TS"
dosPath = "\\VIDEO_TS"
dosCombined = "\\VIDEO_TS\\VIDEO_TS"
This looks really strange to me because there is no folder "VIDEO_TS" under "VIDEO_TS". Is there something wrong with the recursion? As a result, I get this:
[2011-10-16 20:37:03,294] [575156 ] [Importer ] [INFO ] - MovieMetadataExtractor: Exception reading resource '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS' (Text: 'The entry "\VIDEO_TS" does not exists in the paths table')
[2011-10-16 20:37:03,341] [575203 ] [Importer ] [WARN ] - IsoResourceAccessor: Error reading files of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetFiles(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetFiles()
[2011-10-16 20:37:03,372] [575234 ] [Importer ] [WARN ] - IsoResourceAccessor: Error reading child directories of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetDirectories(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetChildDirectories()
[2011-10-16 20:37:03,529] [575390 ] [Importer ] [WARN ] - IsoResourceAccessor: Error reading files of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetFiles(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetFiles()
[2011-10-16 20:37:03,716] [575578 ] [Importer ] [INFO ] - ImporterWorker: Importing 'C:\_MP\Quellcode\Media\NOMADEN_LUEFTE.iso > /AUDIO_TS'
---------------------------------
Then we get there a fourth time with this:
path = "VIDEO_TS"
dosPath = "\\AUDIO_TS"
dosCombined = "\\AUDIO_TS\\VIDEO_TS"
This looks also very strange, but there's no more exception.
So if that does ring a bell for you programming guys, feel free ;-)
cheers,
Michael
I set a breakpoint in Line 199 of the ISOResourceAccesor (ResourceExists-Method):
string[] dirList = _isoProxy.IsoReader.GetFileSystemEntries(dosPath, SearchOption.TopDirectoryOnly);
---------------------------------
The first time I get there, I've got the following locals:
path = "VIDEO_TS"
dosPath = "\\"
dosCombined = "\\VIDEO_TS"
This seems ok and I let it go...
---------------------------------
The second time i get there, i looks like this:
path = "VIDEO_TS.IFO"
dosPath = "\\VIDEO_TS"
dosCombined = "\\VIDEO_TS\\VIDEO_TS.IFO"
This time I get an exception:
[2011-10-16 20:31:54,982] [266843 ] [Importer ] [INFO ] - MovieMetadataExtractor: Exception reading resource '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///' (Text: 'The entry "\VIDEO_TS" does not exists in the paths table')
[2011-10-16 20:31:55,107] [266968 ] [Importer ] [INFO ] - ImporterWorker: Importing 'C:\_MP\Quellcode\Media\NOMADEN_LUEFTE.iso > /VIDEO_TS' (2 more resources pending)
[2011-10-16 20:31:55,138] [267000 ] [28 ] [WARN ] - IsoResourceAccessor: Error reading child directories of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetDirectories(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetChildDirectories()
[2011-10-16 20:31:55,154] [267015 ] [28 ] [WARN ] - IsoResourceAccessor: Error reading files of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetFiles(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetFiles()
Looks like there should be one more "\"?!?
---------------------------------
The third time i get there, i looks like this:
path = "VIDEO_TS"
dosPath = "\\VIDEO_TS"
dosCombined = "\\VIDEO_TS\\VIDEO_TS"
This looks really strange to me because there is no folder "VIDEO_TS" under "VIDEO_TS". Is there something wrong with the recursion? As a result, I get this:
[2011-10-16 20:37:03,294] [575156 ] [Importer ] [INFO ] - MovieMetadataExtractor: Exception reading resource '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS' (Text: 'The entry "\VIDEO_TS" does not exists in the paths table')
[2011-10-16 20:37:03,341] [575203 ] [Importer ] [WARN ] - IsoResourceAccessor: Error reading files of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetFiles(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetFiles()
[2011-10-16 20:37:03,372] [575234 ] [Importer ] [WARN ] - IsoResourceAccessor: Error reading child directories of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetDirectories(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetChildDirectories()
[2011-10-16 20:37:03,529] [575390 ] [Importer ] [WARN ] - IsoResourceAccessor: Error reading files of '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/_MP/Quellcode/Media/NOMADEN_LUEFTE.iso>{112728b1-f71d-4284-9e5c-3462e8d3c74d}:///VIDEO_TS'
System.IO.DirectoryNotFoundException: The entry "\VIDEO_TS" does not exists in the paths table
bei ISOReader.IsoReader.GetFileSystemEntries(String path, SearchOption recursive)
bei ISOReader.IsoReader.FilterEntries(String path, Boolean directory, SearchOption recursive)
bei ISOReader.IsoReader.GetFiles(String path, SearchOption recursive)
bei MediaPortal.Extensions.ResourceProviders.IsoResourceProvider.IsoResourceAccessor.GetFiles()
[2011-10-16 20:37:03,716] [575578 ] [Importer ] [INFO ] - ImporterWorker: Importing 'C:\_MP\Quellcode\Media\NOMADEN_LUEFTE.iso > /AUDIO_TS'
---------------------------------
Then we get there a fourth time with this:
path = "VIDEO_TS"
dosPath = "\\AUDIO_TS"
dosCombined = "\\AUDIO_TS\\VIDEO_TS"
This looks also very strange, but there's no more exception.
So if that does ring a bell for you programming guys, feel free ;-)
cheers,
Michael
Germany