2006-07-26, 01:34 AM
I am still running the access database in the latest gb-pvr version (conversion doesn't seem to work for me), and when I install the latest MusicLibrary2 plugin, everything seems fine until I go to scan for music files, at which point I get an error window popping up and stating that it has "Failed to convert parameter value from a String to a DateTime"
and I have to cancel out of the scan. I have downloaded the latest access musiclibrary database from the wiki, so is there something else I should do?
I have attached the config log, but it isn't very useful - basically cuts off when it starts scanning.
cheers,
tieke
Code:
************** Exception Text **************
System.FormatException: Failed to convert parameter value from a String to a DateTime. ---> System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at System.DateTime.Parse(String s, IFormatProvider provider)
at System.Convert.ToDateTime(String value, IFormatProvider provider)
at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Data.OleDb.OleDbParameter.CoerceValue(Object value, NativeDBType destinationType)
--- End of inner exception stack trace ---
at System.Data.OleDb.OleDbParameter.CoerceValue(Object value, NativeDBType destinationType)
at System.Data.OleDb.OleDbParameter.BindParameter(Int32 index, Bindings bindings)
at System.Data.OleDb.OleDbCommand.CreateAccessor()
at System.Data.OleDb.OleDbCommand.InitializeCommand(CommandBehavior behavior, Boolean throwifnotsupported)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at MusicLibrary.MediaLibrary.UpdateDB(MP3File mp3File, Boolean removeFile, Int32 path)
at MusicLibrary.MediaLibrary.ScanDirectory(UpdateService us, SortedList paths)
at MusicLibrary.MusicLibraryConfigForm.cmdScanNow_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.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)
I have attached the config log, but it isn't very useful - basically cuts off when it starts scanning.
cheers,
tieke