[Plugin] MPSync - MediaPortal multi-seat Synchronization (2 Viewers)

Anthony Vaughan

MP Donator
  • Premium Supporter
  • June 25, 2015
    566
    292
    Home Country
    United Kingdom United Kingdom
    Okay. I'll check that and report back.

    One thing though, does the plugin load when running MP Configuration or MediaPortal; because the configuration program sets up fanart for films?

    Tony
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    plugin load when running MP Configuration
    No, if you go into the Plugins section, and there manually run the MPSync setup. It is already possible to click the Sync button.
    plugin load when running MediaPortal
    Yes, if it is configured to work in media portals rather than as a service.
    because the configuration program sets up fanart for films?
    Not quite sure what the question.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    566
    292
    Home Country
    United Kingdom United Kingdom
    Forget the configuration issue. I think I get it now. I was just puzzled as to why the autostart option for MPSync_Process.exe was only available when MPSync is first configured. After that, the tab containing the autostart option is hidden.

    I'll observe what happens to check how things work.

    Thanks for the help.

    Tony
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    566
    292
    Home Country
    United Kingdom United Kingdom
    Hello All

    Thank you for your comments; they helped greatly. I was just taking a little time to get a grip of how MPSync works.

    I think I understand how best to set MPSync up and now have a setup where MP configuration is centralized and the databases are distributed but synchronized using MPSync. A great result for me, al round.

    Thanks again.

    Tony
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    Okay. I'll check that and report back.

    One thing though, does the plugin load when running MP Configuration or MediaPortal; because the configuration program sets up fanart for films?

    Tony

    @tony. Make sure you set up the plugin as in this screenshot.
    MPSync Config.jpg


    Also you need to make sure that you have set up what databases you want to synchronise from the database tab. You can see instructions from the wiki page.
     

    Lyfesaver74

    Public Relations
  • Premium Supporter
  • September 25, 2010
    1,544
    1,122
    Texas
    Home Country
    United States of America United States of America
    I am getting the same error as some of these other cats. First time user and when i go to click on the icon (outside MPconfig tool) I get a .net error about how my paths are not legal. I did not know my paths crossed the border without proper documentation!!

    Joke aside, I looked for logs to share and none are generated. I emptied my log folder, ran the program, got the error, closed the program and no logs were in folder afterwards. Also my mpsync.xml only contains the following:
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <profile>
      <section name="Plugin">
        <entry name="version">1.0.0.14</entry>
        <entry name="session ID">b6457623-0073-487f-82e2-04c5da9d71b1</entry>
      </section>
    </profile>

    Here is the error details:

    Code:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.ArgumentException: The path is not of a legal form.
       at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
       at System.IO.Path.GetFullPathInternal(String path)
       at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
       at System.IO.Directory.GetFiles(String path, String searchPattern)
       at MPSync.MPSync_settings.populate_checkedlistbox(CheckedListBox& clb, String path, String listtype, String searchpattern, String ommit)
       at MPSync.MPSync_settings.getSettings()
       at MPSync.MPSync_settings.MPSync_settings_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.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: 4.0.0.0
        Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    MPSync_Launcher
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/MPSync_Launcher.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1038.0 built by: NETFXREL2
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1038.0 built by: NETFXREL2
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Utils
        Assembly Version: 1.13.0.0
        Win32 Version: 1.13.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Utils.DLL
    ----------------------------------------
    Core
        Assembly Version: 1.13.0.0
        Win32 Version: 1.13.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Core.DLL
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    MPSync
        Assembly Version: 1.0.0.14
        Win32 Version: 1.0.0.14
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Plugins/process/mpsync.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1038.0 built by: NETFXREL2
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1038.0 built by: NETFXREL2
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    Common.Utils
        Assembly Version: 1.13.0.0
        Win32 Version: 1.13.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Common.Utils.DLL
    ----------------------------------------
    Microsoft.VisualBasic
        Assembly Version: 10.0.0.0
        Win32 Version: 14.6.1038.0 built by: NETFXREL2
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Helped @Lyfesaver74 sort it out, the MPSync plugin will crash bad like that on initial installation when the paths are null I guess.

    Clicking the "Continue" button inside the JIT error dialog will still allow MPSync to launch, and then you can configure the paths, save configuration, and then re-launch MPSync without any errors to finish configuration.

    Either make that part of the instructions, or update the code to handle that initial side :)

    @m3rcury I finally figured out how to move IMDb+ from Google Code to GitHub and get everything working again. If you need help let me know, because for me it even copied over the wiki very nicely, and I only had to make slight adjustments to fit within the GitHub system. The only sad part for me is that I did not do this before Google Code went read-only so I could have made a reference on that one to redirect to the new GitHub location. Of course most people find plugins on the MediaPortal site, and you can simply update all the references here.
     

    Users who are viewing this thread

    Top Bottom