Opened 16 years ago

Closed 14 years ago

#9417 closed Patch - Feature (fixed)

Mythfilldatabase doesn't populate the xmltvid field for non us countries,

Reported by: laurent@… Owned by: stuartm
Priority: minor Milestone: 0.27
Component: MythTV - Mythfilldatabase Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hello,

Setup of mythtv channel table for non us countries is difficult because there is no default way to populate the xmltvid field on the channel table. User may have two options:

1/ They do a channel scan from the tuner. After this, they have to manuel fill the xmltvid field in the database before they call mythfilldatabase to update the program table. They are script to automtically fill the xmltvid field in the database like this one :http://mythtv-fr.tuxfamily.org/wiki/telechargement_icone_tv.

2/ They begin by using the grabber to fill the channel table. In this case, xmltvid are correctly set, but the frequency of each channel have to be fill manually.

My proposal is a patch on mythfilldatabase. If mythfilldatabase don't find the xmltvid in channeldata::handleChannels, it will try to match the callsign already in the channel table (coming from the channel scan), and the one coming from the xmltv file. Most of the time, this match is sufficient to update the xmltvid field.

With this patch, people will be able: 1/ First step: do the channel scan. 2/ Second step: update xmltvid field and program with a mythfilldatabase --update --source n file.xmltv

Attachments (1)

automate-xmltvid-filldefaultvalue.diff (5.9 KB ) - added by laurent@… 16 years ago.
Automate xmltvid filldefaultvalue.diff

Download all attachments as: .zip

Change History (6)

by laurent@…, 16 years ago

Automate xmltvid filldefaultvalue.diff

comment:1 by sphery, 16 years ago

Seems to be a dup of #6531, which has a different patch

comment:2 by stuartm, 15 years ago

Milestone: unknown0.25
Status: newaccepted

comment:3 by stuartm, 15 years ago

Milestone: 0.250.26

Unfortunately I forgot about this for 0.25

comment:4 by Kenni Lund [kenni a kelu dot dk], 14 years ago

Milestone: 0.260.27

comment:5 by Laurent ARNAL <laurent@…>, 14 years ago

Resolution: fixed
Status: acceptedclosed

In b7a1bd237e16c7653f34a2826eef14f841ef4e7b/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.