2009-05-18, 10:24
Livin Wrote:problems in .18...
looks like if using VIDEO_TS folder it does not work?
- when I place the files in the root of the folder, like "I Am Legend" it works fine.
I must manually select each movie and scrape or the media flags do not show... autopilot does not grab them?
btw... I love this clean layout... way better than MiP!
The issue is the GetMoviePath function is checking extensions in the parent directory only, i.e. it's not looking for VOB files in the VIDEO_TS sub directory.
Code:
Public Shared Function GetMoviePath(ByVal sPath As String) As String
'//
' Get the proper path to movie
'\\
Dim di As New DirectoryInfo(sPath)
Dim lFi As New List(Of FileInfo)()
lFi.AddRange(di.GetFiles())
should prob look more like
Code:
Public Shared Function GetMoviePath(ByVal sPath As String) As String
'//
' Get the proper path to movie
'\\
Dim di As New DirectoryInfo(sPath)
Dim lFi As New List(Of FileInfo)()
If Directory.Exists(String.Format("{0}\\{1}", sPath, "VIDEO_TS")) Then
di = New DirectoryInfo(String.Format("{0}\\{1}", sPath, "VIDEO_TS"))
End If
lFi.AddRange(di.GetFiles())
You should also add .dvr-ms and .m2ts to the list of extensions it checks in the code. Last thing I've noticed is that the code is case sensitive, so movie.NFO or .TBN don't get found as it's looking for .nfo and .tbn. GetFolderContents and GetNfoPath methods should be modified to make sure all combinations are found.
This is an excellent product, so easy and cool in comparison to the others out there. Once I can get my DVDs in without using my own version of the source it'll be even better ;-)