TOU.TV doesn't works (1 Viewer)

georgius

Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    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
    654
    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
    654
    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
    654
    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
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    Can you replace in extra parameters all characters '/' with '%2f'?
     

    Users who are viewing this thread

    Similar threads

    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player app does not support the file type. So I installed VLC. VLC does read the ts files but the TV's remote does not allow to control basic VLC functions like FF or FR or pause etc... Tried 1-2 other apps, even...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Replies
    0
    Views
    497
    OK, I found a way to make it work. It seems like MP-TV-series Configuration (and Moving Pictures Configuration) starts as Administrator, and the Administrator do not have yet logged in on the UNC \\192.168.222.247\Public even if the normal user on the PC have done it. So to fix it on the Win 11 HTPC: Created a shortcut to...
    OK, I found a way to make it work. It seems like MP-TV-series Configuration (and Moving Pictures Configuration) starts as...
    Hi! I was running MP1.33 x64 and I was fine and happy since many years, then the hard drive on the HTPC died. But I was able to...
    Replies
    1
    Views
    237
    I don't organise my media in the way that you do, so I don't know whether MediaPortal provides the capability that you want. All that I can suggest is that you read this page in the MP Wiki and experiment to see if it will merge the separate folders to give you a unified view of the media. -- from CyberSimian in the UK
    I don't organise my media in the way that you do, so I don't know whether MediaPortal provides the capability that you want. All...
    Hi i have a collection of 9208(Still growing on a daily basis)) music videos(ripped in m2ts format from blu-rays) which are stored...
    Replies
    1
    Views
    738
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem - unable to connect to any of the specified MySQL hosts. And Hostname is still in red. I don't understand - this is a dedicated TV computer. Unless an update did this I don't know why there's a problem in the...
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem -...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    2
    Views
    455
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    24
    Views
    2K
    Top Bottom