mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
zapit: don't save webradio-channels as last tv channel
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 522477b56a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-03 (Fri, 03 Nov 2017)
Origin message was:
------------------
- zapit: don't save webradio-channels as last tv channel
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -535,7 +535,8 @@ bool CZapit::ZapIt(const t_channel_id channel_id, bool forupdate, bool startplay
|
|||||||
lock_channel_id = live_channel_id;
|
lock_channel_id = live_channel_id;
|
||||||
|
|
||||||
current_channel = newchannel;
|
current_channel = newchannel;
|
||||||
lastChannelTV = channel_id;
|
if (newchannel->getServiceType() == ST_DIGITAL_TELEVISION_SERVICE)
|
||||||
|
lastChannelTV = channel_id;
|
||||||
SendEvent(CZapitClient::EVT_WEBTV_ZAP_COMPLETE, &live_channel_id, sizeof(t_channel_id));
|
SendEvent(CZapitClient::EVT_WEBTV_ZAP_COMPLETE, &live_channel_id, sizeof(t_channel_id));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user