Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 3 years ago

Closed 17 months 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@… 3 years ago.
Automate xmltvid filldefaultvalue.diff

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by laurent@…

Automate xmltvid filldefaultvalue.diff

comment:1 Changed 3 years ago by mdean

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

comment:2 Changed 3 years ago by stuartm

  • Milestone changed from unknown to 0.25
  • Status changed from new to accepted

comment:3 Changed 2 years ago by stuartm

  • Milestone changed from 0.25 to 0.26

Unfortunately I forgot about this for 0.25

comment:4 Changed 19 months ago by kenni

  • Milestone changed from 0.26 to 0.27

comment:5 Changed 17 months ago by Laurent ARNAL <laurent@…>

  • Resolution set to fixed
  • Status changed from accepted to closed

In b7a1bd237e16c7653f34a2826eef14f841ef4e7b/mythtv:

Make a best guess effort to automate the insertion of xmltvids

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

Fixes #9417

Signed-off-by: Stuart Morgan <smorgan@…>

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.