Plugin: MP2Extended (2 Viewers)

johanj

MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Yes, I use the string for aspect ratio:

    if (mediaInfo.VideoStreams.length != 0) {
    var aspectRatio = mediaInfo.VideoStreams[0].DisplayAspectRatioString;
    }
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    what's the reason for you to go with the MP2 database instead of the TV database for recordings
    Because the DB handling is done by the server itself and a plugin has to use the functions the server is offering. Direct DB access is not fitting to the MP2 concept as all database actions have to be done by the MP2 server. And it is dangerous as we are using SQLite. SQLite is faster a lot compared to MySQL and it's way less complicated to set up and run. But SQLite did not like multiple accesses at the same time.
    I don't want to abuse this thread for general MP2 questions, so only one comment:
    Import of existing recordings into the TV database is a pain! It takes ages, the configuration tool freezes and i had to do it more than one time to catch up all my recordings.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,580
    3,971
    Lehmden
    Home Country
    Germany Germany
    Import of existing recordings into the TV database is a pain! It takes ages, the configuration tool freezes and i had to do it more than one time to catch up all my recordings.
    Have done this a few times lately. No issues here and lightning fast. There is a problem on your setup/system then, no general MP2 issue.
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    the configuration tool freezes
    There is a problem on your setup/system then, no general MP2 issue.
    The configuration tool is part of TVE. As far as I know it has always had locks up during a large import, I assume the import is running on the event thread hence the GUI being unresponsive.
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    67
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I assume the import is running on the event thread hence the GUI being unresponsive.
    If you monitor the C:\ProgramData\Team MediaPortal\MP2-Server\Log\SetupTV log file, you will see the application is importing.
    During such times as importing (I see it with import F:\TVGuide\tvguide.xml) the application does not respond until the process is completed.....
    If you click on another option inside Setup TV, as soon as the import is completed, the Setup TV switches to the option you clicked on....
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    I seem to get the correct aspect ratios now. I need to map some of them to the graphics we use but that's no issue. It's hard coded mapping where several names goes to same image file, e.g. 2.37:1 and 2.37 goes to 2.37.png
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Nah, I can just add what I get from you as well, I sometimes could get strange ratios from MPExt like 240:107 so I just check the log for the empty cases and add them.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Are any other major bugs feature requests open? Except from the streaming issue on which henso is working :)

    I continued in implementing more missing API functions. Otherwise would be the next step to move to the MIA Rework and get more details for Sesons, Pictures and Movies
    @MrTechno what do I need to move to the MIA rework? Today I refined some Baseclasses to lower the workload. (not pushed yet)
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    I'm not sure where we should continue. But Pictures are almost empty for me in MPiV but I get them in MP2 client. I see the years folders but most often just a single picture in each folder. But there were issues with my swedish åäö in file paths during import...

    When exiting MP2 client it's not really closing. I have to kill the process. Should be in earlier logs I have posted.

    Music also miss MIA Rework so maybe continue there.

    Henso has iViewer now, he just need to fiddle with client settings to get it working.
     

    Users who are viewing this thread

    Top Bottom