MERGING MediaPortal Url Source Splitter & IPTV Filter (4 Viewers)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,160
    2,407
    Nuenen
    Home Country
    Netherlands Netherlands
    it seems to be.
    As far as I understand, the list of channels will only be added to the database after (successfull) scanning of those channels.
    And if they require a useragent the scanning will fail, and it won't be added.
    You can only add a useragent to the list of channels in the database, so it's a bit of a chicken and egg issue.
    Unless ofcourse (and I sure hope it is) there's another way of adding a list of channels from a m3u8 to the database without scanning
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    14,138
    8,690
    Kyiv
    Home Country
    Ukraine Ukraine
    You can only add a useragent to the list of channels in the database, so it's a bit of a chicken and egg issue.
    The channel list is just a list of URLs and only URLs are stored in the database, but getting data from these URLs is a Web request, and it goes through a function, so in it and specify the User Agent.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,160
    2,407
    Nuenen
    Home Country
    Netherlands Netherlands
    Yes I understand I can change the software to add a useragent in that webrequest, but I was really looking for a way to do it with the current version (and I'm sure there must be one)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    14,138
    8,690
    Kyiv
    Home Country
    Ukraine Ukraine
    but I was really looking for a way to do it with the current version (and I'm sure there must be one)
    So if the User Agent is not specified in the request, as far as I know it can not be specified in the URL, so without changing the source code, this problem can not be solved.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,160
    2,407
    Nuenen
    Home Country
    Netherlands Netherlands
    I at least I found a way to get around that useragent issue:
    first you have to open the m3u8 in the playlist editor (first tab of "MediaPortal IPTV filter and url source splitter"), set the useragent for all channels and save the playlist.
    Only thing that is indeed annoying is having to scan all channels before they are added to the database.

    Could be tricky to work around that because some metadata (is it a tv stream, radio stream etc) is needed for correct channelinfo, and that has to be provided by the user when copying the playlist to the actual channel list
     

    magda

    MP Donator
  • Premium Supporter
  • January 22, 2016
    10
    4
    Home Country
    United States of America United States of America
    first you have to open the m3u8 in the playlist editor (first tab of "MediaPortal IPTV filter and url source splitter"), set the useragent for all channels and save the playlist.
    So I have to add useragent (“curl/7.67.0” or any different one I only know that one ) one by one channel ? Is gone take forever :(

    I try useragent “curl/7.67.0” on few channels and is working ok but not working on PPV
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    Yay!! I got my internetstreams working in MePo by modding vodserver. What I do is,I tune to a vodserver channel in mepo, that will start vlc or other external player playing whatever stream or file you want to see 'in mepo' then I feed mepo a picture endlessly looped and a silent mp3 with ffmpeg in mpeg2 so it won't give me errors...
    Yay!! I got my internetstreams working in MePo by modding vodserver. What I do is,I tune to a vodserver channel in mepo, that will...
    Situation: Multiseat MP1.11 Network tuner Anysee N7 (single tuner that outputs http streams) Sometimes when changing channels we...
    Replies
    17
    Views
    4K
    Hi @mm1352000 - I'd like to try and get your new RTSP/Live555 code (and my TsReader/TsWriter changes) into MP1 - can you check your PMs/conversations please ?
    Hi @mm1352000 - I'd like to try and get your new RTSP/Live555 code (and my TsReader/TsWriter changes) into MP1 - can you check your...
    Hello everybody Introduction Over the past couple of months we've been working hard to update the RTSP streaming library...
    Replies
    60
    Views
    20K
    • Sticky
    Unfortunately that is not the case... In fact in some cases the old way could even be more stable than the webview way (if there's a proper api that can be used, those are more stable than parsing html or emulating clicks on a website)
    Unfortunately that is not the case... In fact in some cases the old way could even be more stable than the webview way (if there's...
    GitHub repository | Wiki | Skinning Guide | Available Sites | German Thread History I restarted development on the OnlineVideos...
    Replies
    713
    Views
    138K
    Yes, because old series are streamed in 4:3 and not 16:9, so I have a big black frame. Which color key should be the Zoom key? I remeber a plugin for MP1 that scanned the black frame, removed it be scaling up the picture to the max. resolution. Are the plans to integrate such feature?
    Yes, because old series are streamed in 4:3 and not 16:9, so I have a big black frame. Which color key should be the Zoom key? I...
    This is Release Candiate 2 build of the upcoming "Spring'16 Release". Main changes compared to Summer'15 Update 1 Release are...
    Replies
    13
    Views
    4K
    :whistle: https://forum.team-mediaportal.com/threads/mediaportal-2-spring16-release-candidate-2016-03-25.133886/ ;)
    :whistle: https://forum.team-mediaportal.com/threads/mediaportal-2-spring16-release-candidate-2016-03-25.133886/ ;)
    This is a development build based upon the the "Summer'15 Release Update 1". Main changes compared to Summer'15 Update 1 Release...
    Replies
    20
    Views
    10K
    Top Bottom