Opened 14 years ago
Closed 12 years ago
#8983 closed Bug Report - General (fixed)
Channel scanner always deletes existing channels
Reported by: | 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)
Change History (10)
Changed 14 years ago by
Attachment: | chanscan.log added |
---|
comment:1 Changed 14 years ago by
Status: | new → infoneeded_new |
---|
Changed 14 years ago by
Attachment: | pre-scan.sql added |
---|
channel and dtv_multiplex tables before the scan
Changed 14 years ago by
Attachment: | post-scan.sql added |
---|
channelscan, channelscan_channel and channelscan_dtv_multiplex tables after the scan
comment:2 Changed 14 years ago by
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 Changed 14 years ago by
Status: | infoneeded_new → new |
---|
comment:4 Changed 14 years ago by
Status: | new → assigned |
---|
comment:5 Changed 13 years ago by
Severity: | medium → high |
---|---|
Type: | defect → Bug Report - General |
comment:6 Changed 12 years ago by
Milestone: | unknown → 0.26 |
---|---|
Status: | assigned → accepted |
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 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
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.