mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
zapit.cpp: disable "tune channel, with stopped playback to not bypass the parental PIN check" on arm hardware
Send capmt to socket only once after coldstart
This commit is contained in:
@@ -2389,8 +2389,10 @@ void CZapit::leaveStandby(void)
|
|||||||
}
|
}
|
||||||
standby = false;
|
standby = false;
|
||||||
if (current_channel) {
|
if (current_channel) {
|
||||||
|
#if !HAVE_ARM_HARDWARE
|
||||||
/* tune channel, with stopped playback to not bypass the parental PIN check */
|
/* tune channel, with stopped playback to not bypass the parental PIN check */
|
||||||
ZapIt(live_channel_id, false, false);
|
ZapIt(live_channel_id, false, false);
|
||||||
|
#endif
|
||||||
if (IS_WEBCHAN(live_channel_id)) {
|
if (IS_WEBCHAN(live_channel_id)) {
|
||||||
CZapitChannel* newchannel = CServiceManager::getInstance()->FindChannel(last_channel_id);
|
CZapitChannel* newchannel = CServiceManager::getInstance()->FindChannel(last_channel_id);
|
||||||
CFrontend * fe = newchannel ? CFEManager::getInstance()->allocateFE(newchannel) : NULL;
|
CFrontend * fe = newchannel ? CFEManager::getInstance()->allocateFE(newchannel) : NULL;
|
||||||
|
Reference in New Issue
Block a user