mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
zapit/src/bouquets.cpp: fix favorites webtv channels not found in webtv xml files
Origin commit data
------------------
Branch: ni/coolstream
Commit: 63d8c8e90b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-02-13 (Fri, 13 Feb 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -447,8 +447,14 @@ void CBouquetManager::parseBouquetsXml(const char *fname, bool bUser)
|
|||||||
|
|
||||||
newBouquet->addService(chan);
|
newBouquet->addService(chan);
|
||||||
} else if (bUser) {
|
} else if (bUser) {
|
||||||
|
if (url) {
|
||||||
|
chid = create_channel_id64(0, 0, 0, 0, 0, url);
|
||||||
|
chan = new CZapitChannel(name2.c_str(), chid, url, NULL);
|
||||||
|
}
|
||||||
|
else
|
||||||
chan = new CZapitChannel(name2, CREATE_CHANNEL_ID64, 1 /*service_type*/,
|
chan = new CZapitChannel(name2, CREATE_CHANNEL_ID64, 1 /*service_type*/,
|
||||||
satellitePosition, freq);
|
satellitePosition, freq);
|
||||||
|
|
||||||
CServiceManager::getInstance()->AddChannel(chan);
|
CServiceManager::getInstance()->AddChannel(chan);
|
||||||
chan->flags = CZapitChannel::NOT_FOUND;
|
chan->flags = CZapitChannel::NOT_FOUND;
|
||||||
chan->bLocked = clock;
|
chan->bLocked = clock;
|
||||||
|
Reference in New Issue
Block a user