Crash of configuration after new Installation Win (1 Viewer)

Der_Bub

MP Donator
  • Premium Supporter
  • June 17, 2008
    830
    60
    Cologne
    Home Country
    Germany Germany
    Hi,

    I made a fresh instal of Windows 7 and with this the drive letter of System Partion did change from G to C .

    If I open MovPic Config it crashes and within MediaPortal I don't have any pictures:

    MovPic log:
    Code:
    2-Dec-2009 12:40:52  Info [     DatabaseManager]: Successfully Opened Database: C:\ProgramData\Team MediaPortal\MediaPortal\Database\movingpictures.db3 
    12-Dec-2009 12:40:52  Info [     SettingsManager]: SettingsManager Created 
    12-Dec-2009 12:40:52  Info [  MovingPicturesCore]: Moving Pictures (0.7.5:681) 
    12-Dec-2009 12:40:52  Info [  MovingPicturesCore]: Plugin Launched 
    12-Dec-2009 12:41:54  Info [GUIListItemMovieComp]: Sort Field: DateAdded Sort Direction: Descending 
    12-Dec-2009 12:41:54  Warn [  AsyncImageResource]: gdiplus.dll method failed. Will degrade performance. 
    12-Dec-2009 12:41:54 Error [  AsyncImageResource]: Failed to load image from [B][COLOR="Red"]G:\[/COLOR][/B]ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Covers\FullSize\{Constantine} [947257620].jpg 
    12-Dec-2009 12:42:04  Warn [  AsyncImageResource]: gdiplus.dll method failed. Will degrade performance. 
    12-Dec-2009 12:42:04 Error [  AsyncImageResource]: Failed to load image from [B][COLOR="red"][COLOR="red"]G:\[/COLOR][/COLOR][/B]ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Covers\FullSize\{V.wie.Vendetta} [-1084465634].jpg 
    12-Dec-2009 12:42:08  Warn [  AsyncImageResource]: gdiplus.dll method failed. Will degrade performance. 
    12-Dec-2009 12:42:08 Error [  AsyncImageResource]: Failed to load image from[B][COLOR="Red"] G:\[/COLOR][/B]ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Covers\FullSize\{96.Hours} [-1594006984].jpg 
    12-Dec-2009 12:42:13  Info [       DeviceManager]: Clearing all drives from Disk Watcher 
    12-Dec-2009 12:42:13  Info [     SettingsManager]: SettingsManager Shutting Down 
    12-Dec-2009 12:42:13  Info [  MovingPicturesCore]: Plugin Closed

    error.log
    Code:
    2009-12-12 12:40:52.741000 [ERROR][MPMain]: Error initializing window:MediaPortal.Plugins.MovingPictures.MovingPicturesGUI Ein Teil des Pfades "G:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Covers\FullSize" konnte nicht gefunden werden. mscorlib    bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
       bei System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
       bei MediaPortal.Plugins.MovingPictures.MovingPicturesCore.initAdditionalSettings()
       bei MediaPortal.Plugins.MovingPictures.MovingPicturesCore.Initialize()
       bei MediaPortal.Plugins.MovingPictures.MovingPicturesGUI.Init()
       bei MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
    2009-12-12 12:41:08.580000 [ERROR][MPMain]: failed filter:CyberLink Video/SP BD-HD Decoder (PDVD8) not found
    2009-12-12 12:41:08.581000 [ERROR][MPMain]: failed filter:CyberLink H.264/AVC Decoder (PDVD8) not found
    2009-12-12 12:41:54.467000 [ERROR][MPMain]: OnMessage exception:System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
       bei MediaPortal.Plugins.MovingPictures.MovingPicturesGUI.SetBackdropVisibility()
       bei MediaPortal.Plugins.MovingPictures.MovingPicturesGUI.set_CurrentView(ViewMode value)
       bei MediaPortal.Plugins.MovingPictures.MovingPicturesGUI.OnPageLoad()
       bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    It seems that Path to Picture folder couldn't be updated! It should be:

    C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\MovingPictures ...

    How can I change this? :confused:

    (I don't want ti upgrade to 1.0 beta ;) )

    Thanks!

    BERND
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    44
    Texas
    Home Country
    United States of America United States of America
    You I think are not going to have an easy time changing this der bub. If the config screen is failing to open, the only way is to actually open the database with a program like Sqliteman. The path is stored under the settings table. This is a non trivial task but if you want to try, the queries to change your artwork paths are:

    update settings set value='c:\myartwork\covers\full' where key = 'cover_art_folder';
    update settings set value='c:\myartwork\covers\thumb' where key = 'cover_art_folder';

    update settings set value='c:\myartwork\backdrops\full' where key = 'backdrop_folder';
    update settings set value='c:\myartwork\backdrops\thumb' where key = 'backdrop_thumbs_folder';

    You will obviously need to change the paths in those queries to match the actual artwork paths on your system. I must warn you though that you may run into other issues. You have effectively moved your Moving Pictures install from one machine to another and it's not designed to handle that.
     

    Der_Bub

    MP Donator
  • Premium Supporter
  • June 17, 2008
    830
    60
    Cologne
    Home Country
    Germany Germany
    You I think are not going to have an easy time changing this der bub. If the config screen is failing to open, the only way is to actually open the database with a program like Sqliteman. The path is stored under the settings table. This is a non trivial task but if you want to try, the queries to change your artwork paths are:

    update settings set value='c:\myartwork\covers\full' where key = 'cover_art_folder';
    update settings set value='c:\myartwork\covers\thumb' where key = 'cover_art_folder';

    update settings set value='c:\myartwork\backdrops\full' where key = 'backdrop_folder';
    update settings set value='c:\myartwork\backdrops\thumb' where key = 'backdrop_thumbs_folder';

    You will obviously need to change the paths in those queries to match the actual artwork paths on your system. I must warn you though that you may run into other issues. You have effectively moved your Moving Pictures install from one machine to another and it's not designed to handle that.

    Thank you very much! With this I could solve the problem!

    A little idea: Maybe you could use a more dynamic/relative path description. In some AHK scripts I use "%A_ProgramFiles%\..." for Program installation path and it worked with XP32 and Win7 64bit . Maybe there is a similar way for User Path?!? As far as I know, there's something in registry...

    Once again thanks for the support and this brilliant Plugin! :D

    BERND
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    44
    Texas
    Home Country
    United States of America United States of America
    A little idea: Maybe you could use a more dynamic/relative path description. In some AHK scripts I use "%A_ProgramFiles%\..." for Program installation path and it worked with XP32 and Win7 64bit . Maybe there is a similar way for User Path?!? As far as I know, there's something in registry...

    Yes, we plan to change this. What we really should be doing is respecting the path values in the mediaportaldirs.xml file. We actually do read from there for the initial settings, but if it is changed later, this change is not detected in Moving Pictures.

    Glad you got the issue resolved. :)
     

    Users who are viewing this thread

    Top Bottom