Amazon Prime Germany? (14 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
    48
    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
    48
    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
    5,009
    3,739
    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
    48
    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
    55
    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
    48
    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

    Actually I solved this myself. I did have the correct driver (it was the only one which would work). But on the drivers download page, there was an additional item called "TBS6281se V2 Change Mode Tool". There was zero documentation to accompany this. I downloaded it and ran it. It is a tool to detect the current run state of both...
    Actually I solved this myself. I did have the correct driver (it was the only one which would work). But on the drivers download...
    My previous TBS PCI-E card failed, so I bought another one. The model I chose is the TBS 6181-SE, which can be seen on Amazon here...
    Replies
    2
    Views
    904
    • 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
    7K
    I think 1.38 is easier, it's a minor addition, judging by the lack of bugs, 1.39 is still a long way off. Ideally, the TuningParameters settings would be moved to MPE1, along with all the skins. Then any minor fixes could be updated quickly.
    I think 1.38 is easier, it's a minor addition, judging by the lack of bugs, 1.39 is still a long way off. Ideally, the...
    Hello and good morning, atm I´m gonna try to install my new MP2 Server with a hybrid solution DVB-T2 and MagentaTV. For DVB-T2 I...
    Replies
    9
    Views
    2K
    MP1 MP2 MP2 - V2.5 MP2 - V2.5 Server on Windows 11 Pro DE
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working after changing EPG from EPG Buddie to Clickfinder (TV Movie). The OS and the MP2.5 Server Software were installed several times new, but in general nothing changed. Are there any changes or setting needed for...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Replies
    0
    Views
    874
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also have been applied to the independent radio channels (different MUXes), the logs that I prepared for one of the development team does show a difference between channel 704 ("BBC Radio 4") and channel 731...
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also...
    I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
    Replies
    10
    Views
    2K
    Top Bottom