mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- enable graphlcd for vu+ only; TODO: needs more fixes
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -691,7 +691,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.osd_colorsettings_advanced_mode = configfile.getBool("osd_colorsettings_advanced_mode", false);
|
||||
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
g_settings.glcd_enable = configfile.getInt32("glcd_enable", 1);
|
||||
g_settings.glcd_enable = configfile.getInt32("glcd_enable", strcmp(g_info.hw_caps->boxvendor, "VU+") == 0);
|
||||
|
||||
g_settings.glcd_time_in_standby = configfile.getInt32("glcd_time_in_standby", 1);
|
||||
g_settings.glcd_standby_weather = configfile.getInt32("glcd_standby_weather", 1);
|
||||
@@ -1356,12 +1356,19 @@ void CNeutrinoApp::upgradeSetup(const char * fname)
|
||||
g_settings.timer_followscreenings = 2 /*always*/;
|
||||
configfile.deleteKey("recording_tevents");
|
||||
}
|
||||
if (g_settings.version_pseudo < "20170711000000")
|
||||
if (g_settings.version_pseudo < "20200711000000")
|
||||
{
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
configfile.deleteKey("glcd_show_logo");
|
||||
#endif
|
||||
}
|
||||
if (g_settings.version_pseudo < "20201220000000")
|
||||
{
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
if (strcmp(g_info.hw_caps->boxvendor, "VU+") != 0)
|
||||
g_settings.glcd_enable = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
g_settings.version_pseudo = NEUTRINO_VERSION_PSEUDO;
|
||||
configfile.setString("version_pseudo", g_settings.version_pseudo);
|
||||
|
@@ -1 +1 @@
|
||||
#define NEUTRINO_VERSION_PSEUDO "20170711000000"
|
||||
#define NEUTRINO_VERSION_PSEUDO "20201220000000"
|
||||
|
Reference in New Issue
Block a user