DVB-IP MediaPortal IPTV Source Filter (2 Viewers)

Status
Not open for further replies.

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    From Wikipedia:
    http://en.wikipedia.org/wiki/M3U#Format
    The M3U file can also include comments, prefaced by the "#" character. In extended M3U, "#" also introduces extended M3U directives.

    So I think it should be okay to do this:
    https://github.com/MediaPortal/Medi...laylistSupport/PlayListM3uIO.cs?source=cc#L73
    Code:
      if (trimmedLine.StartsWith(M3U_INFO_MARKER))
      {
        ...
      }
      else if (!trimmedLine.StartsWith("#"))
    {
       if (!AddItem("", 0, trimmedLine))
       break;
    }

    The important change is the "else if" instead of just else.

    Good like try that :)
    So for testing it :
    I remove from : \TvEngine3\TVLibrary\TVLibrary\Implementations\DVB\Graphs\DVBIP\TvCardDVBIP.cs
    if (dvbipChannel.Url != _defaultUrl && IsAbsoluteUrl(dvbipChannel.Url))
    to
    if (dvbipChannel.Url != _defaultUrl)

    And add your code :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Here the bin based on 1.6.0 Final :)
     

    Attachments

    • SetupTv_TVLibrary_DVBIP_Url.zip
      759 KB

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    How can i check this ?
    Thanks :)
    I'm not sure how, but for sure you need such stream with EPG data (e.g. from DVB-T, C or S/S2), maybe can be used some recorded TV. Then you can create test channel with IPTV file url. After that you need to wait, if some EPG data are inserted into database.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    From Wikipedia:
    http://en.wikipedia.org/wiki/M3U#Format
    The M3U file can also include comments, prefaced by the "#" character. In extended M3U, "#" also introduces extended M3U directives.

    So I think it should be okay to do this:
    https://github.com/MediaPortal/Medi...laylistSupport/PlayListM3uIO.cs?source=cc#L73
    Code:
      if (trimmedLine.StartsWith(M3U_INFO_MARKER))
      {
        ...
      }
      else if (!trimmedLine.StartsWith("#"))
    {
       if (!AddItem("", 0, trimmedLine))
       break;
    }

    The important change is the "else if" instead of just else.

    Thanks :) Jira created + review :
    https://issues.team-mediaportal.com/browse/MP1-4394 (installer created for testing based on 1.7.0 pre release)
    https://issues.team-mediaportal.com/browse/TVLIB-74
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Thanks for reply.
    After upgrade MP from 1.5.0 to 1.6.0 Pre I can`t play any channels with this construction. Channels played only if used "clean" url.
    Here is example playlist and logs
    Code:
    #EXTM3U
    #EXTINF:0,Nickelodeon (D)
    http://172.30.30.30:8081/nikelodeon
    #EXTINF:0,Nickelodeon (D)
    C:|url=http://172.30.30.30:8081/nikelodeon|SidValue=10|PidValue=101

    Can you test the installer from above Jira link ?
    If you confirm it's OK, maybe we can include the branch into 1.7.0 final :)
     

    micmanm

    Portal Pro
    May 22, 2009
    95
    16
    Home Country
    Ukraine Ukraine
    Thanks for reply.
    After upgrade MP from 1.5.0 to 1.6.0 Pre I can`t play any channels with this construction. Channels played only if used "clean" url.
    Here is example playlist and logs
    Code:
    #EXTM3U
    #EXTINF:0,Nickelodeon (D)
    http://172.30.30.30:8081/nikelodeon
    #EXTINF:0,Nickelodeon (D)
    C:|url=http://172.30.30.30:8081/nikelodeon|SidValue=10|PidValue=101

    Can you test the installer from above Jira link ?
    If you confirm it's OK, maybe we can include the branch into 1.7.0 final :)

    I tested installer and can confirm, channels play OK now!
    Thanks.
    Please include the branch into 1.7.0 Final.
     
    Last edited:
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom