- March 17, 2013
- 174
- 96
- Home Country
- Germany
Hi there,
I'm currently rebuildung my database. I finally managed to learn a little Regular Expression to have working Parsing expressions for my file structure and I'm currently scanning the files. Since in the first attempt the importer still created albums although I checked "disable album support", I came up with another solution. Since Albums (at least in the database) can't be avoided completely I want each artist to have 2 'albums', one for all the musicvideos, the other one for all live-performances. I'd actually prefer this way over no albums at all.
The scraping part works as intended, but the importer keeps adding the same album multiple times, which kind of defeats the purpose of having a clean database:
Doesn't the importer check if an album already exists? Or is he thrown off by the different values for 'Date Added'? This seems to be the only difference between them.
Edit: Additionally, only the first instance of the album is visible in the GUI. All others are not accessible inside MediaPortal. When I drag and drop the tracks in the configuration into the first instance of the album after a while sometimes an error message pops up, saying (translated to english): The object of type "mvCentral.Database.DBAlbumInfo" can not be converted into type "mvCentral.Database.DBTrackInfo".
Exception text:
I'm currently rebuildung my database. I finally managed to learn a little Regular Expression to have working Parsing expressions for my file structure and I'm currently scanning the files. Since in the first attempt the importer still created albums although I checked "disable album support", I came up with another solution. Since Albums (at least in the database) can't be avoided completely I want each artist to have 2 'albums', one for all the musicvideos, the other one for all live-performances. I'd actually prefer this way over no albums at all.
The scraping part works as intended, but the importer keeps adding the same album multiple times, which kind of defeats the purpose of having a clean database:
Doesn't the importer check if an album already exists? Or is he thrown off by the different values for 'Date Added'? This seems to be the only difference between them.
Edit: Additionally, only the first instance of the album is visible in the GUI. All others are not accessible inside MediaPortal. When I drag and drop the tracks in the configuration into the first instance of the album after a while sometimes an error message pops up, saying (translated to english): The object of type "mvCentral.Database.DBAlbumInfo" can not be converted into type "mvCentral.Database.DBTrackInfo".
Exception text:
When pressing continue the program still kinda works, but the thumb and info panel seem to be stuck and I have to close and restart the Media Portal configuration. I attached a logfile.System.InvalidCastException: Das Objekt des Typs "mvCentral.Database.DBAlbumInfo" kann nicht in Typ "mvCentral.Database.DBTrackInfo" umgewandelt werden.
bei mvCentral.ConfigForm.get_CurrentTrack()
bei mvCentral.ConfigForm.mvLibraryTreeView_MouseUp(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.TreeView.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Last edited: