No cover art or backdrops after migration (1 Viewer)

kevinfreels

Portal Member
March 26, 2009
25
1
I moved mediaportal and moving pictures to a new PC. My movies folder resides on a network share and has about 900 movies in it. I installed MP and moving pictures and then copied the database and thumbs folder over to the new PC. The database seems fine with all of the right information in it - just the cover art and backdrops are missing. I tried manually updating the cover art for one of the movies but it won't even let me do that. Instead I get an "unhandled exception error" stating that "Index (zero based) must be greater than or equal to zero and less than the size of the argument list".

This is a Vista machine.
I have been through this twice. First I did it with the most recent versions.
Then I used Media portal 1.1.0.0 and Moving Pictures 1.0.6 thinking that maybe the databases were somehow incompatible.
No joy on either. I really want to avoid having to rearrange, update, and fix all 900 of these movies.

Here are the details of the error message:


ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at NLog.LogEventInfo.CalcFormattedMessage()
at NLog.LogEventInfo..ctor(LogLevel level, String loggerName, IFormatProvider formatProvider, String message, Object[] parameters, Exception exception)
at NLog.Logger.WriteToTargets(LogLevel level, String message, Object[] args)
at NLog.Logger.Error(String message, Object argument)
at MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo.saveImage(String filename, Image image)
at MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo.AddCoverFromFile(String filename)
at MediaPortal.Plugins.MovingPictures.ConfigScreen.MovieManagerPane.loadCoverFromFile()
at MediaPortal.Plugins.MovingPictures.ConfigScreen.MovieManagerPane.loadNewCoverButton_ButtonClick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripSplitButton.OnButtonClick(EventArgs e)
at System.Windows.Forms.ToolStripSplitButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///D:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Configuration
Assembly Version: 1.1.0.16057
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/Configuration.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Core
Assembly Version: 1.1.0.16045
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
Utils
Assembly Version: 2.2.7.16040
Win32 Version: 2.2.7.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
BassRegistration
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/BassRegistration.DLL
----------------------------------------
mi5ernpc
Assembly Version: 2.2.7.16040
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///D:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Bass.Net
Assembly Version: 2.4.4.3
Win32 Version: 2.4.4.3
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/Bass.Net.DLL
----------------------------------------
Databases
Assembly Version: 1.1.0.16047
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
RemotePlugins
Assembly Version: 1.1.0.16050
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
DirectShowLib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
MPInstaller.Library
Assembly Version: 1.1.0.16054
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/MPInstaller.Library.DLL
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///D:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
ar94qmfx
Assembly Version: 1.1.0.16045
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Interop.X10
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/Interop.X10.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///D:/Windows/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll
----------------------------------------
Cornerstone
Assembly Version: 1.0.6.1116
Win32 Version: 1.0.6.1116
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Cornerstone.DLL
----------------------------------------
Cornerstone.MP
Assembly Version: 1.0.6.1116
Win32 Version: 1.0.6.1116
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Cornerstone.MP.DLL
----------------------------------------
Dialogs
Assembly Version: 1.1.0.16051
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
----------------------------------------
NLog
Assembly Version: 1.0.0.505
Win32 Version: 1.0.0.505
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/NLog.DLL
----------------------------------------
MovingPictures
Assembly Version: 1.0.6.1116
Win32 Version: 1.0.6.1116
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/MovingPictures.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
WindowPlugins
Assembly Version: 1.1.0.16062
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.DLL
----------------------------------------
MiniDisplayLibrary
Assembly Version: 1.1.0.16059
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/MiniDisplayLibrary.DLL
----------------------------------------
SubtitlePlugins
Assembly Version: 1.1.0.16051
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/subtitle/SubtitlePlugins.DLL
----------------------------------------
ExternalPlayers
Assembly Version: 1.1.0.16048
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/ExternalPlayers/ExternalPlayers.DLL
----------------------------------------
Interop.iTunesLib
Assembly Version: 1.7.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/Interop.iTunesLib.DLL
----------------------------------------
PowerSchedulerClientPlugin
Assembly Version: 1.1.0.16050
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/PowerSchedulerClientPlugin.DLL
----------------------------------------
PowerScheduler.Interfaces
Assembly Version: 1.0.4.16068
Win32 Version: 1.0.4.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/PowerScheduler.Interfaces.DLL
----------------------------------------
ProcessPlugins
Assembly Version: 1.1.0.16061
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.DLL
----------------------------------------
MusicShareWatcherHelper
Assembly Version: 1.1.0.16054
Win32 Version: 1.1.0.0
CodeBase: file:///D:/Program%20Files/Team%20MediaPortal/MediaPortal/MusicShareWatcherHelper.DLL
----------------------------------------
System.Messaging
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Messaging/2.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1453 built by: NetFX
CodeBase: file:///D:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
 

kevinfreels

Portal Member
March 26, 2009
25
1
No one even has a guess on this one? I really can't make any sense of it. Is there a way to manually read and edit the information in the moving pictures database?
 

kevinfreels

Portal Member
March 26, 2009
25
1
How do I change the path to thumbs in Moving Pictures

I have another thread about losing my cover art for moving pictures which after several days I don't see any responses.
I think I may have stumbled onto the problem but I'm still not quite sure how to fix it.
When I look at the moving pictures log file, I see this:

21-Jan-2011 20:03:49 Info [ MovingPicturesCore]: Plugin Launched
21-Jan-2011 20:03:49 Error [ MovingPicturesCore]: Error: System.IO.DirectoryNotFoundException: Could not find a part of the path 'G:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Covers\FullSize'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at MediaPortal.Plugins.MovingPictures.MovingPicturesCore.initAdditionalSettings()
at MediaPortal.Plugins.MovingPictures.MovingPicturesCore.Initialize()


There is another error message later as follows:


21-Jan-2011 20:04:29 Error [ FileBasedResource]: Unexpected error downloading file from: http://cf1.themoviedb.org/posters/03d/4bd4f277017a3c2e7d00003d/thir13en-ghosts-original.jpg System.IO.DirectoryNotFoundException: Could not find a part of the path 'G:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Covers\FullSize\{Thir13en.Ghosts} [1036078664].jpg'.
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)
at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MovieResources.FileBasedResource.Download(String url, Int64 startPosition, Int32 timeout)


Both of these are referencing drive (G:)

On the old machine, drive (G:) was my system drive due to several partitions and various multi-boot systems I had on the box over a period of several years. The new machine is a dedicated machine (dual boot) and this system is installed on drive (D:)

All of my config settings reference either the system drive, relative paths, or in the case of the movies themselves, network drive (M:). I can't find anything that points to (G:) Still so I'm assuming that it must lie within the moving pictures database itself?

Does anyone know how I can update this to correctly point moving pictures to the (D:) drive for the thumbs folder?
I believe this will solve the problem. If so, I'll post a full explanation and solution for anyone else who runs into this problem in the future.

Thanks!
 

rekenaar

Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    Re: How do I change the path to thumbs in Moving Pictures

    Hi :)

    Open MovingPictures configuration
    Go to advanced settings from the About menu IIRC.

    By the way, I am merging your threads. No need to have two :)
     

    kevinfreels

    Portal Member
    March 26, 2009
    25
    1
    Awesome! This is so totally worth a donation. This has been KILLING ME! Looks like it's fixed the error problem!

    Now do you know how I can get it to actually reload them all without having to manually go back and click to refresh the cover art for each title? That works but I'd rather not do it 900 times. :)
    And where do I donate??
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Now do you know how I can get it to actually reload them all without having to manually go back and click to refresh the cover art for each title? That works but I'd rather not do it 900 times.

    If you've entered the correct path in Advanced Settings (like rekenaar suggested) then all fanart should be there. Any missing fanart should be automatically downloaded again.
     

    Users who are viewing this thread

    Top Bottom