2009-03-24, 18:57
I want to use this to update all my nfo files to contain the media info but whenever I select a movie I get this -
All my movies are on a NAS.
EDIT: Sorted that problem out by not using the mapped drive label and instead using the actual network path.
PHP Code:
System.IO.IOException: The filename, directory name, or volume label syntax is incorrect.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at movieinfoplus.mip.mov.Mov.writeMovXML(String folder, String filename)
at movieinfoplus.movie.saveimdb2(movie& tmovie, Boolean writemovienfo, Boolean writemovienamedotnfo)
at movieinfoplus.maincollection.processdropdownitems()
at movieinfoplus.maincollection.lbMyMovies_MouseClicked(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
EDIT: Sorted that problem out by not using the mapped drive label and instead using the actual network path.