Plugin: MP2Extended (2 Viewers)

FreakyJ

Development Group
  • Team MediaPortal
  • July 25, 2010
    4,023
    1,420
    Germany Germany
    Country flag
    I think it might be also wrong to set the contentLength to 0 (Ln: 126 in BaseSendData.cs
    After removing that line 138 must look like this:
    Code:
    Range byteRange = new Range(0, httpContext.Response.ContentLength ?? 0);
    My problem is that bytesRead in Line 222 is always 0 and therefore it doesn't output any data... really don't know why. TVE is Timeshifting but I also can't see any ffmpeg instance and there is no error. Everything looked fine while going through it. But it seems to work on your side?!
    Have you done any further modifications?
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,170
    735
    Denmark Denmark
    Country flag
    Let me know how it went!
    I finally made it work. I also added chunked support to the HttpServer when I was working on the DLNA server way back, so I had an idea of what to do, just not how to do it. ;)
    I added you proposed fixes as well.
    bytesRead in Line 222 is always 0
    Yeah I found that too. Took me some time to figure out but the read command was called with a maximum buffer size of zero which of course leads it to only read zero bytes. TV streaming should now work again. :sneaky:
    Have you done any further modifications?
    Yes, I just pushed them.
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,023
    1,420
    Germany Germany
    Country flag
    Really nice (y)
    Unfortunately I won't have time today, but hopefully tomorrow! I will let you know how it turned out :sneaky:
     

    eRJe

    MP Donator
  • Premium Supporter
  • January 27, 2009
    34
    0
    Den Helder
    Netherlands Netherlands
    Yeah, I would also like to give it a go. In fact, I created a whole new clean VM for this :) Are there any additional steps to be followed for installation?
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Germany Germany
    Country flag
    @FreakyJ
    Yes, a new installer would be really nice so we can test henso's streaming implementation.
    Btw. i know you are working on the new api, but will you also integrate the possibility to delete recordings with MP2Extended? That's the only thing that's missing for the tv part but is really needed.
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,023
    1,420
    Germany Germany
    Country flag
    will you also integrate the possibility to delete recordings with MP2Extended?
    Yes :)

    Yes, a new installer would be really nice so we can test henso's streaming implementation.
    Really thank you for all the interest here! I really appreciate this. The problem is that it is a highly customized version of MP2 at the moment and the MP2 Client won't work. Also so old client won't be compatible with this server. The main reason is the use of the MIA rework. Once it is done I plan to update all my current projects :)

    Attached is a complete build. But don't forget to backup your Database and delete the old one (In case you already used one of the older MP2Ext builds no need for deleting the DB)
     

    Attachments

    aMUSEd

    Portal Member
    November 6, 2016
    17
    1
    Austria Austria
    Hi,

    I am new to media Portal 2. Just tried to get MPExtended working but it did not succeed.
    Is there a recent build for MP2Extended which I can try to get aMPdroid or MPTVScheduler working?

    Thanks in advance!
     

    aMUSEd

    Portal Member
    November 6, 2016
    17
    1
    Austria Austria
    So I just went through the whole thread - which version of MP2Extended can I use with Spring 16 Release and will work with aMPdroid?
    I'm afraid that I cannot replace the whole MP2 Server with the debug version above, because I use Kodi as frontend.

    Any idea when MP2 will get the features from in the release version?

    Thanks in advance!
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 3
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    C Can the XmlTv Plugin handle 600+ channels? General 3
    M Online Video Plugin V.2.32 keine Installtion unter MediaPortal 1.22 ? TV / Streaming 3
    emphatic Pictures in the cloud - would a plugin be possible for services like Google Photos MediaPortal 1 Plugins 1
    C where is the Online Videos plugin General Support 1
    Similar threads

























    Top Bottom