Plugin: MP2Extended (4 Viewers)

pünktchen

Portal Pro
October 26, 2010
537
201
Home Country
Germany Germany
http://127.0.0.1:4322/MPExtended/TV...SettingFromDatabase?tagName=preRecordInterval
gives this error:
Code:
BadRequest: MAS: Micromodule not found: ReadSettingFromDatabase

Stacktrace:
bei MediaPortal.Plugins.MP2Extended.ResourceAccess.TVAccessServiceHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) bei MediaPortal.Plugins.MP2Extended.ResourceAccess.MainRequestHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session)
 

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    http://127.0.0.1:4322/MPExtended/TV...SettingFromDatabase?tagName=preRecordInterval
    gives this error:
    Code:
    BadRequest: MAS: Micromodule not found: ReadSettingFromDatabase
    
    Stacktrace:
    bei MediaPortal.Plugins.MP2Extended.ResourceAccess.TVAccessServiceHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) bei MediaPortal.Plugins.MP2Extended.ResourceAccess.MainRequestHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session)
    This function is not implemented. So this error is expected: "Micromodule not found".

    To be honest I don't know how I should handle the db requests. Morpeheus wants to keep the nativ zv plugin universal (also to other backends). Also the fields in TVE3 and TVE3.5 are named differently as far as I know.
    I guess this function won't be implemented or if so it will just return some hard coded values. But the better approach would be if you recognize that this function is not available and use some fallback or provide a configuration from inside the app for the prerecording time etc.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    That is bad new, also MPiV use pre/post record interval so the client records in the same way as MP TV server is configured. Failing to give this data and people will stay with MP1 MPExt.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I am open for suggestions how to implement this function for n different backends without huge translation tables.
    Failing to give this data and people will stay with MP1 MPExt.
    I don't think so. :)
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Ok, that was maybe a bit harsh:rolleyes: But still, I think it's important for the tv part. One suggestion could be that you look it up for MP1 tv-server and return zero for others. My guess is that 90%+ is using MP1 tv-server...
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    New version + change log in first post :)
    And our new documentation says:
    This function is not really supported in MP2Ext. Only 'preRecordInterval' and 'postRecordInterval' are supported by MP2Ext settings. These are !not! read from the TVE DB.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    multiple ffmpeg process were active after stop of stream
    The TranscodingService will still try to cache a complete transcode even when seeking. If you don't want that you must disable the cache. There never should be more than two instances of ffmpeg running per client though. Maybe it is related to the missing metadata?

    I tried seeking in stream but that also failed so I guess it's not implemented yet?
    Last time I tried it worked with your program. I will try again when I find time.

    @henso are you already working on this? Just curious^^ Don't want to push you^^
    I have no idea how to test this because I have no tuner in my development computer. Even if I did I have no connection to cable in my room. Is there anyway to simulate a tuner?
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    I only notice two transcoding processes so it might work as expected.

    I just gave seeking another try but no luck.

    I turned off caching in:
    MediaPortal.Plugins.Transcoding.Service.Settings.TranscodingServiceSettings
    and restart MP2 server.

    Seeking works in the already transcoded time. E.g. at position 0:01:30 and transcoded to 0:05:30 of movie that is 2:21:00. Then one can use the native player seeking up to 0:05:30 but no further. Using the small video window(pinch in fullscreen video) and use the seekbar below video window. Then the stream is stopped and then restarted at another position. e.g 0:40:10. The later do not work.

    Using certain stream profiles and one can seek the entire movie duration in native video player. MP1Ext didn't have such profiles but Emby has.

    Starting a stream seems to start two transcoding processes(cache is now off). Finishing the stream from MPiV only remove one of them, is this intended?


    The tv-card issue is problematic for me as well. I can seldom install MP2 server at HTPC an dev laptop has no tv-cards.
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    I have no idea how to test this because I have no tuner in my development computer. Even if I did I have no connection to cable in my room. Is there anyway to simulate a tuner?
    Maybe stream a ts file with vlc and create a iptv channel for this in TVServer?
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom