Opened 16 years ago

Closed 14 years ago

#8983 closed Bug Report - General (fixed)

Channel scanner always deletes existing channels

Reported by: Richard <mythtv@…> Owned by: danielk
Priority: minor Milestone: 0.26
Component: MythTV - Channel Scanner Version: Master Head
Severity: high Keywords:
Cc: Ticket locked: no

Description

Every time I run a channel scan, it always seems to decide that my existing (working) channels are off-air and wants to delete them. It then re-adds them all wiping out all my xmltv mappings.

Version details:

Please attach all output as a file in bug reports.
MythTV Version   : 26319M
MythTV Branch    : trunk
Network Protocol : 62
Library API      : 0.23.20100913-1
QT Version       : 4.5.3
Options compiled in:
 linux profile using_alsa using_oss using_backend using_bindings_perl using_bindings_python using_dvb using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

mythtv-setup -v channelscan,database log attached.

Attachments (3)

chanscan.log (257.1 KB ) - added by Richard <mythtv@…> 16 years ago.
pre-scan.sql (11.3 KB ) - added by Richard <mythtv@…> 16 years ago.
channel and dtv_multiplex tables before the scan
post-scan.sql (40.6 KB ) - added by Richard <mythtv@…> 16 years ago.
channelscan, channelscan_channel and channelscan_dtv_multiplex tables after the scan

Download all attachments as: .zip

Change History (10)

by Richard <mythtv@…>, 16 years ago

Attachment: chanscan.log added

comment:1 by danielk, 16 years ago

Status: newinfoneeded_new

Please provide the contents of the channel and dtv_multiplex tables before the scan, the channelscan, channelscan_channel and channelscan_dtv_multiplex tables after the scan, and two examples of channels that MythTV erroneously wanted to delete.

by Richard <mythtv@…>, 16 years ago

Attachment: pre-scan.sql added

channel and dtv_multiplex tables before the scan

by Richard <mythtv@…>, 16 years ago

Attachment: post-scan.sql added

channelscan, channelscan_channel and channelscan_dtv_multiplex tables after the scan

comment:2 by Richard <mythtv@…>, 16 years ago

Pre and post-scan tables attached. As for example channels - it's pretty-much all of them. Try channels 1 (ONE HD) and 2 (ABC1).

My original thought was that there was something amiss with the existing channel data - but the problem occurs on each channel scan even if I clear all channels beforehand.

comment:3 by danielk, 16 years ago

Status: infoneeded_newnew

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

Status: newassigned

comment:5 by stuartm, 14 years ago

Severity: mediumhigh
Type: defectBug Report - General

comment:6 by danielk, 14 years ago

Milestone: unknown0.26
Status: assignedaccepted

It appears the problem is that the dtv_multiplex rows in the DB do not have a networkid set and because of this the IsSameChannel() check in ChannelImporter::CleanupDuplicates() fails.

comment:7 by Daniel Kristjansson <danielk@…>, 14 years ago

Resolution: fixed
Status: acceptedclosed

In 9b8a005c0b5df7378d6db4c54a8cfdd3277fe0c1/mythtv:

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