Skip to content
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.
(cherry picked from commit 87b9449)
  • Loading branch information...
1 parent 4e41fb2 commit 440ad9c59c7c87738efaf18fb7ed024b2b327044 @stuartm stuartm committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythfilldatabase/channeldata.cpp
View
2 mythtv/programs/mythfilldatabase/channeldata.cpp
@@ -313,7 +313,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;
long long freq;

0 comments on commit 440ad9c

Please sign in to comment.
Something went wrong with that request. Please try again.