TOU.TV doesn't works (7 Viewers)

georgius

Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    Replace and try attached filter version. There is bug in filter in parsing manifest URL.
    Same. Buffering stuck at 0.0%. I stopped it after 10 seconds. Attached logs.
    URL seems to be correct (except extra parameters). But user agent was not send to server. Replace and try attached filter version.
     

    Attachments

    • MPUrlSourceSplitter.zip
      4.6 MB

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    It's bad :( I simulate requests and found that user agent is mandatory, cookies and referer not, but must be supplied extra parameters in URL. It needs bigger changes (OV + filter).
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia

    corporate_gadfly

    Portal Pro
    May 17, 2011
    396
    136
    Home Country
    Canada Canada
    I did necessary changes. You have to update your OV solution to SVN 2583. You need to use AfhsManifestUrl instead of HttpUrl class and set ExtraParameters property to string starting with '?' in manifest URL.
    I updated to latest svn, copied binaries from MPUrlSourceSplitter\bin_Win32 to C:\Program Files (x86)\Team MediaPortal\MediaPortal\MPUrlSourceSplitter. Now my code looks like
    Code:
    int questionMarkPosition = manifestUrl.IndexOf('?');
    string extraParemeters = manifestUrl.Substring(questionMarkPosition + 1, manifestUrl.Length - questionMarkPosition - 1);
    result = new MPUrlSourceFilter.AfhsManifestUrl(manifestUrl) {
    	UserAgent = @"Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0",
    	ExtraParameters = extraParemeters
    }.ToString();
    Still unable to stream. Logs attached. The URL that ends with Seg1-Frag1 now has extra parameters appended to the end (making it invalid perhaps?)
     
    Last edited:

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    I did necessary changes. You have to update your OV solution to SVN 2583. You need to use AfhsManifestUrl instead of HttpUrl class and set ExtraParameters property to string starting with '?' in manifest URL.
    I updated to latest svn, copied binaries from MPUrlSourceSplitter\bin_Win32 to C:\Program Files (x86)\Team MediaPortal\MediaPortal\MPUrlSourceSplitter. Now my code looks like
    Code:
    int questionMarkPosition = manifestUrl.IndexOf('?');
    string extraParemeters = manifestUrl.Substring(questionMarkPosition + 1, manifestUrl.Length - questionMarkPosition - 1);
    result = new MPUrlSourceFilter.AfhsManifestUrl(manifestUrl) {
    	UserAgent = @"Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0",
    	ExtraParameters = extraParemeters
    }.ToString();
    Still unable to stream. Logs attached. The URL that ends with Seg1-Frag1 now has extra parameters appended to the end (making it invalid perhaps?)
    You need to add '?' to extra parameters:
    Code:
    int questionMarkPosition = manifestUrl.IndexOf('?');
    string extraParemeters = manifestUrl.Substring(questionMarkPosition, manifestUrl.Length - questionMarkPosition);
    result = new MPUrlSourceFilter.AfhsManifestUrl(manifestUrl) {
    	UserAgent = @"Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0",
    	ExtraParameters = extraParemeters
    }.ToString();
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    Can you replace in extra parameters all characters '/' with '%2f'?
     

    Users who are viewing this thread

    Similar threads

    Are the media/video folders on the Mint host?
    Are the media/video folders on the Mint host?
    I've used Mediaportal for years on a Windows Host with restricted online-access. Lately I reinstalled...
    Replies
    1
    Views
    1K
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    792
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194 connections between 10:54 and 11:05 triggering a denial of service attack ban. The logs show it was lifted on 5/25, but I still see the entry in iptables. I reset fail2ban and hopefully you're working again." Weird...
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194...
    I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...
    Replies
    3
    Views
    418
    MP1 MP2 MP Shutting down DE
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
    I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
    Replies
    6
    Views
    621
    I was just tinkering with a few settings in the MediaPortal configuration and am happy to have found the cause of the problem. Disabling the option "Single seat setup: force RTSP usage" under "TV/Radio", "Advanced Options" resolved the issue. After I disabled this option, I was able to delete the recordings the first time...
    I was just tinkering with a few settings in the MediaPortal configuration and am happy to have found the cause of the problem...
    Deleting recordings sometimes doesn't work. Neither the 0 button nor the Info/Delete button works. Nothing happens at all with...
    Replies
    6
    Views
    810
    Top Bottom