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:
vanhofen
2018-01-15 22:34:16 +01:00
parent 0aea737569
commit b4809f0a30
3 changed files with 11 additions and 0 deletions

View File

@@ -291,6 +291,15 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
// FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
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:
{
if (g_settings.recording_type == RECORDING_OFF)