mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
neutrino.cpp, settings: add key for file play subtitle select
This commit is contained in:
@@ -3701,6 +3701,7 @@ void CNeutrinoApp::loadKeys(const char * fname)
|
||||
g_settings.mpkey_time = tconfig.getInt32( "mpkey.time", CRCInput::RC_setup );
|
||||
g_settings.mpkey_bookmark = tconfig.getInt32( "mpkey.bookmark", CRCInput::RC_blue );
|
||||
g_settings.mpkey_plugin = tconfig.getInt32( "mpkey.plugin", CRCInput::RC_red );
|
||||
g_settings.mpkey_subtitle = tconfig.getInt32( "mpkey.subtitle", CRCInput::RC_sub );
|
||||
|
||||
/* options */
|
||||
g_settings.menu_left_exit = tconfig.getInt32( "menu_left_exit", 0 );
|
||||
@@ -3764,6 +3765,7 @@ void CNeutrinoApp::saveKeys(const char * fname)
|
||||
tconfig.setInt32( "mpkey.time", g_settings.mpkey_time );
|
||||
tconfig.setInt32( "mpkey.bookmark", g_settings.mpkey_bookmark );
|
||||
tconfig.setInt32( "mpkey.plugin", g_settings.mpkey_plugin );
|
||||
tconfig.setInt32( "mpkey.subtitle", g_settings.mpkey_subtitle );
|
||||
|
||||
tconfig.setInt32( "menu_left_exit", g_settings.menu_left_exit );
|
||||
tconfig.setInt32( "audio_run_player", g_settings.audio_run_player );
|
||||
|
@@ -393,6 +393,7 @@ struct SNeutrinoSettings
|
||||
int mpkey_time;
|
||||
int mpkey_bookmark;
|
||||
int mpkey_plugin;
|
||||
int mpkey_subtitle;
|
||||
int key_timeshift;
|
||||
int key_plugin;
|
||||
|
||||
|
Reference in New Issue
Block a user