mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
webchannels-setup: re-add inactive code around g_settings.livestreamScriptPath
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3f6718352e
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-26 (Sun, 26 Sep 2021)
Origin message was:
------------------
- webchannels-setup: re-add inactive code around g_settings.livestreamScriptPath
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -201,6 +201,17 @@ int CWebChannelsSetup::Show()
|
||||
|
||||
CMenuForwarder *mf;
|
||||
|
||||
#if 0
|
||||
bool _mode_webtv = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) &&
|
||||
(!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
|
||||
|
||||
bool _mode_webradio = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio) &&
|
||||
(!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_LIVESTREAM_SCRIPTPATH, !_mode_webtv || !_mode_webradio, g_settings.livestreamScriptPath, this, "script_path", CRCInput::convertDigitToKey(shortcut++));
|
||||
m->addItem(mf);
|
||||
#endif
|
||||
|
||||
if (!webradio)
|
||||
{
|
||||
mf = new CMenuForwarder(LOCALE_LIVESTREAM_RESOLUTION, true, NULL, new CWebTVResolution(), NULL, CRCInput::convertDigitToKey(shortcut++));
|
||||
|
Reference in New Issue
Block a user