[mythtv-commits] Ticket #10604: iptv xmltvid bug (devel/rtp)

MythTV noreply at mythtv.org
Sun Apr 15 09:19:20 UTC 2012


#10604: iptv xmltvid bug (devel/rtp)
-------------------------------+--------------------------------------
 Reporter:  andrej.filipcic@…  |           Type:  Bug Report - General
   Status:  new                |       Priority:  minor
Milestone:  unknown            |      Component:  MythTV - General
  Version:  Unspecified        |       Severity:  medium
 Keywords:                     |  Ticket locked:  0
-------------------------------+--------------------------------------
 With devel/rtp branch, there is a bug in channel scanner for iptv. xmltvid
 is not set. This patch fixes it:


 {{{
 diff --git a/mythtv/libs/libmythtv/iptvchannelfetcher.cpp
 b/mythtv/libs/libmythtv/iptvchannelfetcher.cpp
 index 91af556..160f7a5 100644
 --- a/mythtv/libs/libmythtv/iptvchannelfetcher.cpp
 +++ b/mythtv/libs/libmythtv/iptvchannelfetcher.cpp
 @@ -365,7 +365,7 @@ static bool parse_chan_info(const QString   &rawdata,
              }
              else if (line.startsWith("#EXTMYTHTV:"))
              {
 -                QString data = line.mid(line.indexOf(':'));
 +                QString data = line.mid(line.indexOf(':')+1);
                  QString key = data.left(data.indexOf('='));
                  if (!key.isEmpty())
                      values[key] = data.mid(data.indexOf('=')+1);
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10604>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list