Permalink
Browse files

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.
  • Loading branch information...
1 parent aa44cb6 commit 87b9449b21a4ca458ae075b473b9d5e944b230fd @stuartm stuartm committed Oct 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythfilldatabase/channeldata.cpp
View
2 mythtv/programs/mythfilldatabase/channeldata.cpp
@@ -315,7 +315,7 @@ void ChannelData::handleChannels(int id, QList<ChanInfo> *chanlist)
}
}
}
- else
+ else if (insert_chan(id)) // Only insert channels for non-scannable sources
{
int major, minor = 0;
long long freq = 0;

0 comments on commit 87b9449

Please sign in to comment.