Skip to content

Commit 87b9449

Browse files
committed
Do not allow channels to be inserted from xmltv for unsuitable source types
Primarily this means any digital tuner, DVB/ATSC/QAM256 etc Inserting channels from xmltv guide data in these cases will result in duplicate untunable channels as vital information such as network, service and transport ids will not be available.
1 parent aa44cb6 commit 87b9449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/programs/mythfilldatabase/channeldata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ void ChannelData::handleChannels(int id, QList<ChanInfo> *chanlist)
315315
}
316316
}
317317
}
318-
else
318+
else if (insert_chan(id)) // Only insert channels for non-scannable sources
319319
{
320320
int major, minor = 0;
321321
long long freq = 0;

0 commit comments

Comments
 (0)