Amazon Prime Germany? (2 Viewers)

Ministerk

Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    @Jason Pyke @Ministerk i might need help by a rtmp expert from the onlinevideos team. think i got all parameters parsed neede to built a rtmp url but it is not working. Any suggestions on who to contact from the onlinevideos team ?

    Got some super ugly hacky code (based on the stuff the kodi plugin does), that does create a rtmp url instead of starting the browser host, but the rtmp connect fails after some steps.

    Code is here:
    https://github.com/JSurf/mediaportal-onlinevideos/tree/nobrowser
    I'm no expert on rtmp at all (I don't think any of my sites still use any). What's is your error message? Attach the OnlineVideos.log and mpurlsourcesplitter.log, someone more knowledgeable might get something out of them... I didn't see any problems with your code though (can't try it, living in Sweden and only read it on github).

    What you could do is to use fiddler or wireshark when using the kodi plugin to see how the urls are constructed when it works. Create a new site util that only implements the getVideoUrls method and see if you can get the "sniffed" video to work.

    Edit: getVideoList is the method to implement...
     
    Last edited:

    JSurf

    Portal Pro
    November 27, 2011
    115
    115
    47
    Home Country
    Germany Germany
    It was enough to compare the parameters with the kodi plugin i had some small differences that needed to be tweaked. just started a rtmp url in Mediaportal.
    Code is on github but should be considered unstable/tech preview so i wont provide binaries now, i only play one quality, the parsing of needed tokens sometimes does not work (need the video 2-3 times before it starts)
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    If I understand the kodi-code correctly, not all titles are available in rtmp, one suggestion could be a "prefer rtmp" setting to the site(s) and when rtmp available set Settings.Player = PlayerType.Internal and otherwise Settings.Player = PlayerType.Browser
     

    JSurf

    Portal Pro
    November 27, 2011
    115
    115
    47
    Home Country
    Germany Germany
    From my understanding all videos should have rtmp support but not always in all qualities, kodi just tries to switch the user settings to flash if set to silverlight

    Config swiching sounds good, the Browser solution still has its benefits:
    - Automatic quality switching based on bandwidth
    - Keep silverlight player as the default player, the switching is a global setting, so once set to flash all browsers will use that setting until changed back which might be bad for people who do mostly browser watching and only sometimes watch over mediaportal.
     

    nolimitek

    Portal Member
    January 2, 2009
    47
    5
    Hi @ all

    Tested it and works great.
    But one problem . I start a movie all is fine. But when i stop the movie i come to the amazon website from the movie but come not back to mediaportal
    My remote is a mce . Tested it with a keyboard ... Esc and i come back. But not with the mce remote which most people have here .....

    regards Chris
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,656
    3,123
    Nuenen
    Home Country
    Netherlands Netherlands
    In my view, rtmp is preferred, it gives you more control (seeking to a time-position, recording the video, use of native player (for subtitles etc), no focus issues) So if it's possible to get an rtmp url of a video, it could be worthwile

    just my 2 cents :)
     

    JSurf

    Portal Pro
    November 27, 2011
    115
    115
    47
    Home Country
    Germany Germany
    Here is a test build with rtmp support, works pretty good for me! You might need to edit ProgramData\Team Mediaportal\Mediaportal\OnlineVideoSites.xml and remove the player="Browser" tag manually from the amazon site definition

    Edit:
    You also have to manually change your amazon settings to "flash" in the amazon website.
    The german URL is: https://www.amazon.de/gp/video/settings?ie=UTF8&ref_=sv_atv_5&
     

    Attachments

    • OnlineVideos1.10.0.0.mpe1
      11.6 MB
    Last edited:

    mansoniac

    Portal Member
    March 19, 2013
    22
    13
    54
    Home Country
    Germany Germany
    Here is a test build with rtmp support, works pretty good for me! You might need to edit ProgramData\Team Mediaportal\Mediaportal\OnlineVideoSites.xml and remove the player="Browser" tag manually from the amazon site definition

    Do i also have to change the preferred player (flash/silverlight) in Amazon website?
     

    JSurf

    Portal Pro
    November 27, 2011
    115
    115
    47
    Home Country
    Germany Germany
    Oh sorry, yes you have to manually change your amazon settings to "flash" in the amazon website.
     

    Users who are viewing this thread

    Similar threads

    • Sticky
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in driving the development of an advanced HTPC software? Would you like new features get implemented faster? Well, then join us! What we offer: Almost unlimited creative leeway The possibility to closely...
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in...
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in...
    Replies
    0
    Views
    6K
    Once I get back home, I'll try that. Thanks!
    Once I get back home, I'll try that. Thanks!
    My mini computer HTPC was doing a fine job running mediaportal, but the internal fan is starting to get very loud. I'd like to...
    Replies
    11
    Views
    1K
    Yes, all compatible with x64 ;)
    Yes, all compatible with x64 ;)
    Hi folks, for all those who would like to enjoy Mediaportal on the Titanskin, I have now adapted the well-known MP games package...
    Replies
    7
    Views
    850
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is completey broken with NET4 and NET6 :( Neither an existing profile can be selected nor a new one can be created.
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is...
    Description: Hi there. First of all, I appreciate all the effort in MediaPortal 2 release 2.5 - visible changes look great (eg...
    Replies
    1
    Views
    910
    The UseSSL trick made MediaPortal great again, thanks.
    The UseSSL trick made MediaPortal great again, thanks.
    Hi, Trakt has work perfectly for me for over 10 years, but for some reason this week it will not Authorize my account. I can log...
    Replies
    10
    Views
    947
    Top Bottom