Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#10604 closed Patch - Bug Fix (fixed)

iptv xmltvid bug (devel/rtp)

Reported by: andrej.filipcic@… Owned by: danielk
Priority: minor Milestone: 0.26
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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);

Change History (4)

comment:1 Changed 8 years ago by Kenni Lund [kenni a kelu dot dk]

Owner: set to danielk
Status: newassigned
Type: Bug Report - GeneralPatch - Bug Fix

comment:2 Changed 8 years ago by Daniel Thor Kristjansson <danielk@…>

Resolution: fixed
Status: assignedclosed

In 0e961e485fa6cf434e7a3ba4ec573a8dfc3ff343/mythtv:

Fixes #10604. Fixes of by 1 error in m3u parsing discovered by andrej.filipcic AT ijs.si

comment:3 Changed 7 years ago by Raymond Wagner

Milestone: unknown0.26

comment:4 Changed 6 years ago by Daniel Thor Kristjansson <danielk@…>

In 0e961e485fa6cf434e7a3ba4ec573a8dfc3ff343/mythtv:

Fixes #10604. Fixes of by 1 error in m3u parsing discovered by andrej.filipcic AT ijs.si

Note: See TracTickets for help on using tickets.