Opened 16 years ago
Closed 14 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)
by , 16 years ago
| Attachment: | chanscan.log added |
|---|
comment:1 by , 16 years ago
| Status: | new → infoneeded_new |
|---|
by , 16 years ago
| Attachment: | post-scan.sql added |
|---|
channelscan, channelscan_channel and channelscan_dtv_multiplex tables after the scan
comment:2 by , 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 , 16 years ago
| Status: | infoneeded_new → new |
|---|
comment:4 by , 16 years ago
| Status: | new → assigned |
|---|
comment:5 by , 14 years ago
| Severity: | medium → high |
|---|---|
| Type: | defect → Bug Report - General |
comment:6 by , 14 years ago
| 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 by , 14 years ago
| 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.