Plugin: MP2Extended (1 Viewer)

johanj

MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    The latest released version of MPiV is not compatible with MP2Ext yet. I'm developing the app and have fixed minor bugs to get it working with MP2Ext. E.g. MPExt don't care about upper/lower case but MP2Ext do. So I had to fix some of the request so case were correct. Also I had to hard code some things to get it working for now.

    So we will need to release an update of MPiV to get it working but will not do that untill everything works and we really can say that MP2 is supported.


    Apart from that the url you posted should work. It shouldn't be MP2Ext.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    The server is transcoding, when I seek it keeps transcoding, but starts a second transcoding job? But wants to keep the whole file once it is fully transcoded.
    Yes, if use cache option is enabled it will transcode the full video. The full transcode is always used during seeking if possible but if this is not possible a partial transcode will be created in parallel.

    You use your own proprietary way of saving config files, is there a reason for not to use the in MP inbuilt function?
    I did initially not know there was such a function. I will change it.

    Do you have also interest in adding the direct streaming profile?
    The default profile should give you direct streaming. I did not test this though.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Thanks, WifiRemote now works. I noticed that it don't seem to work to request for now playing info. WifiRemote should then send out a new now playing message. E.g. useful when coming back from device resume.
    Will check that, thanks :)

    Please don't pick random images
    I will implement the offset function. In the beginning I thought offset is to move the image around on a surface, that's why I implemented it the way it is^^

    I got the stacktrace now with faulty requests, thanks!
    nice :)

    Example of stretched image thumb
    The aspect ration issue really bothers me... I can only test it with AMPdroid and it doesn't have these issues, so I guess we need patience and a bit of try and error :)
    This is the current mapping, I added some comments:
    { WebFileType.Backdrop, FanArtConstants.FanArtType.FanArt }, // most likely 16:9
    { WebFileType.Banner, FanArtConstants.FanArtType.Banner }, // a banner, so small in height, large in width
    { WebFileType.Content, FanArtConstants.FanArtType.Thumbnail }, // has the aspect ration of the source material
    { WebFileType.Cover, FanArtConstants.FanArtType.Poster }, // 4:3 good to use as a cover, like in your screenshot above where the Play Icon is
    { WebFileType.Logo, FanArtConstants.FanArtType.FanArt }, // not sure about this mapping, but also most likely 16:9
    { WebFileType.Poster, FanArtConstants.FanArtType.Poster }, // 4:3 as above

    So If you would like to get 4:3 your only chance is pretty much to use the poster (That's what AMPdroid is doing). I don't know which of these types you are using in your example above, but it would be helpful to know :)

    I checked movies and both the regular thumbs(that are placed in the movie grid list) and movie details thumb uses:
    mediatype=0
    artworktype=4
    offset=0

    So I guess that the differences between the two comes from that you pick random images even though offset=0 and that I sometimes I get a thumb with proper aspect and sometimes a thumb with wrong aspect.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @johanj
    I implemented the offset, could you try again? Please clean the cache before trying :) Hopefully it is better now.

    I checked movies and both the regular thumbs(that are placed in the movie grid list) and movie details thumb uses:
    mediatype=0
    artworktype=4
    offset=0
    artwork type is 4 and means cover which is translated to poster. Could you try some URLs in the browser? I mean from a movie where it is working and a movie where it is not working? Check if the URLs are the same except the ID. And looks at the returned image.
    Please save the images and post them here along with the URL which you used to retrieve them. Does that make sense?

    @pünktchen
    I hope I also fixed your issues except the last one. MP2 uses GUIDs so I can't change it to int and return you the TVEDB id. I get it directly from the MP2 DB, because it also takes care of the thumbs creation etc..
    I guess you would be fine if you handle the id internally as string :)

    Yes, if use cache option is enabled it will transcode the full video. The full transcode is always used during seeking if possible but if this is not possible a partial transcode will be created in parallel.
    Thank you for clarification, that makes totally sense (y)

    I did initially not know there was such a function. I will change it.
    Hehe, I guess there is a lot more we both don't know about MP2:ROFLMAO:

    The default profile should give you direct streaming. I did not test this though.
    It doesn't appear in the list, because it has no target defined.
    I think there should be a profile which has android, ios, flash etc as target and just derives from profile. Does that make sense?
     

    Attachments

    • MP2Extended_26.10.2015.rar
      1.3 MB

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    @pünktchen
    I hope I also fixed your issues except the last one. MP2 uses GUIDs so I can't change it to int and return you the TVEDB id. I get it directly from the MP2 DB, because it also takes care of the thumbs creation etc..
    I guess you would be fine if you handle the id internally as string :)
    Is this also true for a tvserver only installation, without defining any media sources?
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Updated and still issues.

    This is how it looks on the server, not sure how MP2 uses those available images.

    Using this url for the thumb details:
    http://192.168.1.87:4323/MPExtended...dth=388&maxHeight=582&borders=stretch&res=@2x

    Give this image fanart/backdrop that is stretched. Can't upload it for some reason.[DOUBLEPOST=1445892402][/DOUBLEPOST]Screen shot

    Checked mediainfo and I get empty arrays for audio and subtitles. Did a reimport but that didn't help
     

    Attachments

    • Easy money.PNG
      Easy money.PNG
      290.3 KB
    • image.png
      image.png
      4.1 MB

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    And how it looks in MP2 client
     

    Attachments

    • Screenshot 2015-10-26 21.53.16.png
      Screenshot 2015-10-26 21.53.16.png
      1.2 MB

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    I exported tv-server data from my HTPC and imported it on my dev laptop. Then imported all recordings from server. So now I can test the recordings in MPiV:)

    So don't get thumbs, disk space info is wrong. Genre is missing(null in screen shot). But all the rest seems to be there. (The program descriptions actually work although it only show '-' for the selected program)

    The media info request fails so can't test streaming.

    The laptop is still working with importing som maybe thumbs will work when import is done?
     

    Attachments

    • image.png
      image.png
      4.2 MB

    Users who are viewing this thread

    Top Bottom