mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
user_menu: add item to start timeshift immediately
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7581db246e
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-15 (Mon, 15 Jan 2018)
Origin message was:
------------------
- user_menu: add item to start timeshift immediately
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -291,6 +291,15 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
|||||||
// FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
|
// FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SNeutrinoSettings::ITEM_TIMESHIFT:
|
||||||
|
{
|
||||||
|
if (g_settings.recording_type == RECORDING_OFF)
|
||||||
|
break;
|
||||||
|
keyhelper.get(&key,&icon,CRCInput::RC_red);
|
||||||
|
menu_item = new CMenuForwarder(LOCALE_RECORDINGMENU_TIMESHIFT, true, NULL, CRecordManager::getInstance(), "Timeshift", key, icon);
|
||||||
|
// FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case SNeutrinoSettings::ITEM_MOVIEPLAYER_MB:
|
case SNeutrinoSettings::ITEM_MOVIEPLAYER_MB:
|
||||||
{
|
{
|
||||||
if (g_settings.recording_type == RECORDING_OFF)
|
if (g_settings.recording_type == RECORDING_OFF)
|
||||||
|
@@ -107,6 +107,7 @@ static keyvals usermenu_items[] =
|
|||||||
{ SNeutrinoSettings::ITEM_ADZAP, LOCALE_USERMENU_ITEM_ADZAP, usermenu_show },
|
{ SNeutrinoSettings::ITEM_ADZAP, LOCALE_USERMENU_ITEM_ADZAP, usermenu_show },
|
||||||
{ SNeutrinoSettings::ITEM_TESTMENU, LOCALE_TESTMENU, usermenu_show }, //NI
|
{ SNeutrinoSettings::ITEM_TESTMENU, LOCALE_TESTMENU, usermenu_show }, //NI
|
||||||
{ SNeutrinoSettings::ITEM_FILEPLAY_AUDIO, LOCALE_MOVIEPLAYER_FILEPLAYBACK_AUDIO, usermenu_show },
|
{ SNeutrinoSettings::ITEM_FILEPLAY_AUDIO, LOCALE_MOVIEPLAYER_FILEPLAYBACK_AUDIO, usermenu_show },
|
||||||
|
{ SNeutrinoSettings::ITEM_TIMESHIFT, LOCALE_RECORDINGMENU_TIMESHIFT, usermenu_show },
|
||||||
{ SNeutrinoSettings::ITEM_MAX, NONEXISTANT_LOCALE, usermenu_show }
|
{ SNeutrinoSettings::ITEM_MAX, NONEXISTANT_LOCALE, usermenu_show }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -934,6 +934,7 @@ struct SNeutrinoSettings
|
|||||||
ITEM_ADZAP = 36,
|
ITEM_ADZAP = 36,
|
||||||
ITEM_TESTMENU = 37, //NI
|
ITEM_TESTMENU = 37, //NI
|
||||||
ITEM_FILEPLAY_AUDIO = 38,
|
ITEM_FILEPLAY_AUDIO = 38,
|
||||||
|
ITEM_TIMESHIFT = 39,
|
||||||
ITEM_MAX // MUST be always the last in the list
|
ITEM_MAX // MUST be always the last in the list
|
||||||
} USER_ITEM;
|
} USER_ITEM;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user