mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
gui/movieplayer.cpp: try to fix bouquet/channel locking for webtv
This commit is contained in:
@@ -695,8 +695,13 @@ bool CMoviePlayerGui::PlayBackgroundStart(const std::string &file, const std::st
|
||||
zp = NULL;
|
||||
if (!unlocked)
|
||||
return false;
|
||||
} else {
|
||||
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(chan);
|
||||
if (channel && channel->Locked() != g_settings.parentallock_defaultlocked && !CNeutrinoApp::getInstance()->channelList->checkLockStatus(0x100))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(mutex);
|
||||
|
||||
instance_bg->Cleanup();
|
||||
|
Reference in New Issue
Block a user