[solved] ERROR When i try to enter IMDB+ from Plugins (1 Viewer)

Kotik

MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Getting the following error:
    [Error ] [MPMain ] [ERROR] - Error initializing window:IMDb.IMDb Value was either too large or too small for an Int32. mscorlib at System.Convert.ToInt32(Double value)
    at IMDb.IMDb.GetSyncStartTime()
    at IMDb.IMDb.Init()

    and as a result cannot access the plugin configuration page, I am getting there a : "missing or invalid file" message.

    Any ideas?
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Can you provide the mediaportal.xml config file? Perhaps it got corrupted, as the error seems to indicate an issue trying to convert the last sync date from it.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    @RoChess i am currently out of city and will return in 3 weeks.... i am really sorry.

    I will make sure to tag u and provide the config file once i am back.

    Sent from my GT-I9100 using Tapatalk
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    But fyi this setup is a movingpictures db transfer from windows 7 to windows 10.

    Movingpictures itself is working fine.

    The way i did is as following:
    1. Installed fresh MP 1.15
    2. Installed same version of movingpictures as windows 7 version.
    3. Transfered movingpictures db from 7 to 10.
    4. Updated moving pictures to the latest available versiob.
    5. Installed IMDB+

    Sent from my GT-I9100 using Tapatalk
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @Kotik, not a problem, it seems to work fine for everybody else still, so remind me when you return, but I edited my post right when you replied, as I need the mediaportal.xml file, there is a section in there that stores the IMDb+ plugin stuff that the error relates to.

    I also noticed you do not have the Extension Manager plugin installed, but it should still work fine without it.

    Inside the mediaportal.xml file, you'll find a section like this:

    <section name="IMDbPlus">
    <entry name="plugin_options_sync_interval">24</entry>
    <entry name="plugin_options_sync_on_startup">yes</entry>
    <entry name="plugin_options_sync_last_datetime">7/24/2016 5:07:40 AM</entry>
    <entry name="plugin_options_disable_notifications">no</entry>
    <entry name="plugin_options_movies_refreshed">[]</entry>​
    </section>​

    And judging by the error, the value for "plugin_options_sync_last_datetime" is not valid on yours.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    @RoChess i didnt use extensions plugin in 7 either so u are right when u say it should work without it.

    U are also right about mediaportal.xml cause i remember that when i was trying to figure out what is wrong i did check the .xml file and compared it to the windows 7 .xml and i did notice that some imdb+ entries were completely missing.

    But i stopped my investigation there cause i was too tired and had to catch a flight the next day.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Trying to remember now when those IMDb+ plugin entries are added to the MediaPortal.XML file, because that seemed to have failed.

    Try manually adding the ones I gave you above, that should do the trick.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Will do once i am back, thanx for ur time.

    Sent from my GT-I9100 using Tapatalk
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    <section name="IMDbPlus">

    <entry name="plugin_options_sync_interval">24</entry>
    <entry name="plugin_options_sync_on_startup">yes</entry>
    <entry name="plugin_options_sync_last_datetime">7/24/2016 5:07:40 AM</entry>
    <entry name="plugin_options_disable_notifications">no</entry>
    <entry name="plugin_options_movies_refreshed">[]</entry>​
    </section>​

    And judging by the error, the value for "plugin_options_sync_last_datetime" is not valid on yours.

    This was the issue.

    Once I recovered my previously backed up MediaPortal.xml and copied/pasted the value "sync_last_datetime" from it, everything is working as it should.

    Thank you for the info.
     

    Users who are viewing this thread

    Top Bottom