Project

General

Profile

Bug #3692

Channel numbers are ignored in XMLTV EPG

Added by AX Free over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG - Grabbers
Target version:
-
Start date:
2016-04-04
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1
Affected Versions:

Description

Hi,

In XMLTV format, channel number is embeded in <display-name> element like this

<tv source-info-url="http://www.schedulesdirect.org/" source-info-name="Schedules Direct" generator-info-name="XMLTV/$Id: tv_grab_na_dd.in,v 1.70 2008/03/03 15:21:41 rmeden Exp $" generator-info-url="http://www.xmltv.org/">
  <channel id="I10436.labs.zap2it.com">
    <display-name>13 KERA</display-name>
    <display-name>13 KERA TX42822:-</display-name>
    <display-name>13</display-name>
    <display-name>13 KERA fcc</display-name>
    <display-name>KERA</display-name>
    <display-name>KERA</display-name>
    <display-name>PBS Affiliate</display-name>
    <icon src="file://C:\Perl\site/share/xmltv/icons/KERA.gif" />
  </channel>
  <channel id="I10759.labs.zap2it.com">
    <display-name>11 KTVT</display-name>
    <display-name>11 KTVT TX42822:-</display-name>
    <display-name>11</display-name>
    <display-name>11 KTVT fcc</display-name>
    <display-name>KTVT</display-name>
    <display-name>KTVT</display-name>
    <display-name>CBS Affiliate</display-name>
    <icon src="file://C:\Perl\site/share/xmltv/icons/KTVT.gif" />
  </channel>
  ...
  <programme start="20080715003000 -0600" stop="20080715010000 -0600" channel="I10436.labs.zap2it.com">
  </programme>
  ...
</tv>

tvheadend use first <display-name> only for the channel name, which results in "13 KERA" in this case.
all other names and channel numbers are ignored.

I have created patch to this feature request. Please take a look.
https://github.com/tvheadend/tvheadend/pull/841

Thanks.

History

#1

Updated by AX Free over 8 years ago

AX Free wrote:

Hi,

In XMLTV format, channel number is embeded in <display-name> element like this

[...]
tvheadend use first <display-name> only for the channel name, which results in "13 KERA" in this case.
all other names and channel numbers are ignored.

I have created patch to this feature request. Please take a look.
https://github.com/tvheadend/tvheadend/pull/841

Thanks.

Created another PR
https://github.com/tvheadend/tvheadend/pull/842

#2

Updated by Jaroslav Kysela over 8 years ago

  • Status changed from New to Fixed

Resolved in v4.1-1804-g3b0db57 . The channel number extraction is configurable now (Disabled, First word, Only digits).

Also available in: Atom PDF