2009-04-06, 23:42
Hi. I'm having trouble scanning files. I've got two network drives mapped on my windows laptop to samba shares on my ubuntu media centre. One for movies (M:\) and the other television (T:\). I've got the files labelled like this:
[MOVIES]
The Dark Knight (2008)
|
|------>The Dark Knight.avi
[TV]
Family Guy
|
|------> Season 01
|
|------->Family Guy - S01E01
Now, when I scan the TV drive, it doesn't find any of the episodes and no shows are in the 'Select TV Show' ComboBox. And when I set the path to the movies drive I get the following exception:
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.VisualBasic.FileIO.FileSystem.GetLongPath(String FullPath)
at Microsoft.VisualBasic.FileIO.FileSystem.FindFilesOrDirectories(FileOrDirectory FileOrDirectory, String directory, SearchOption searchType, String[] wildcards, Collection`1 Results)
at Microsoft.VisualBasic.MyServices.FileSystemProxy.GetDirectories(String directory, SearchOption searchType, String[] wildcards)
at Media_Companion.Form1.nfos_to_array()
at Media_Companion.Form1.rebuild()
at Media_Companion.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
Have you got any idea what's causing this?
[MOVIES]
The Dark Knight (2008)
|
|------>The Dark Knight.avi
[TV]
Family Guy
|
|------> Season 01
|
|------->Family Guy - S01E01
Now, when I scan the TV drive, it doesn't find any of the episodes and no shows are in the 'Select TV Show' ComboBox. And when I set the path to the movies drive I get the following exception:
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.VisualBasic.FileIO.FileSystem.GetLongPath(String FullPath)
at Microsoft.VisualBasic.FileIO.FileSystem.FindFilesOrDirectories(FileOrDirectory FileOrDirectory, String directory, SearchOption searchType, String[] wildcards, Collection`1 Results)
at Microsoft.VisualBasic.MyServices.FileSystemProxy.GetDirectories(String directory, SearchOption searchType, String[] wildcards)
at Media_Companion.Form1.nfos_to_array()
at Media_Companion.Form1.rebuild()
at Media_Companion.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
Have you got any idea what's causing this?