new option added for eof retries on lost server connections

Conflicts:
	src/gui/mediaplayer_setup.cpp
This commit is contained in:
BPanther
2023-07-26 20:46:25 +02:00
committed by Thilo Graf
parent e2b0b01cd1
commit 0822265af9
8 changed files with 17 additions and 4 deletions

View File

@@ -1206,6 +1206,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
// movieplayer
// g_settings.movieplayer_bisection_jump = configfile.getInt32("movieplayer_bisection_jump", 5);
g_settings.movieplayer_display_playtime = configfile.getInt32("movieplayer_display_playtime", g_info.hw_caps->display_type == HW_DISPLAY_LED_NUM);
g_settings.movieplayer_eof_cnt = configfile.getInt32("movieplayer_eof_cnt", 1);
g_settings.movieplayer_repeat_on = configfile.getInt32("movieplayer_repeat_on", CMoviePlayerGui::REPEAT_OFF);
#if HAVE_CST_HARDWARE
g_settings.movieplayer_select_ac3_atype0 = configfile.getBool("movieplayer_select_ac3_atype0", false);
@@ -2094,6 +2095,7 @@ void CNeutrinoApp::saveSetup(const char *fname)
// movieplayer
// configfile.setInt32("movieplayer_bisection_jump", g_settings.movieplayer_bisection_jump);
configfile.setInt32("movieplayer_display_playtime", g_settings.movieplayer_display_playtime);
configfile.setInt32("movieplayer_eof_cnt", g_settings.movieplayer_eof_cnt);
configfile.setInt32("movieplayer_repeat_on", g_settings.movieplayer_repeat_on);
#if HAVE_CST_HARDWARE
configfile.setBool("movieplayer_select_ac3_atype0", g_settings.movieplayer_select_ac3_atype0);