Opened 14 years ago
Closed 14 years ago
Last modified 13 years ago
#10604 closed Patch - Bug Fix (fixed)
iptv xmltvid bug (devel/rtp)
| Reported by: | 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)
Note:
See TracTickets
for help on using tickets.

In 0e961e485fa6cf434e7a3ba4ec573a8dfc3ff343/mythtv: