audioplay: clean up, add missing code for audio/internet player functionality

* favorites handling
* auto play
* xml data/logo handling
* locales
* settings
* clean ups

taken from https://bitbucket.org/neutrino-images/ni-neutrino-hd
This commit is contained in:
2018-05-28 21:36:35 +02:00
parent 730a357368
commit 3ac8217d07
10 changed files with 163 additions and 80 deletions

View File

@@ -353,6 +353,9 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.theme_name = configfile.getString("theme_name", !access(NEUTRINO_SETTINGS_FILE, F_OK) ? MIGRATE_THEME_NAME : "");
CThemes::getInstance()->getTheme(configfile);
// internet radio
g_settings.inetradio_autostart = configfile.getInt32("inetradio_autostart" , 0);
g_settings.softupdate_autocheck = configfile.getBool("softupdate_autocheck" , false);
// video
@@ -1198,6 +1201,9 @@ void CNeutrinoApp::saveSetup(const char * fname)
CThemes::getInstance()->setTheme(configfile);
configfile.setString( "theme_name", g_settings.theme_name );
//internet radio
configfile.setInt32("inetradio_autostart" , g_settings.inetradio_autostart);
//video
configfile.setInt32( "video_Mode", g_settings.video_Mode );
configfile.setInt32( "analog_mode1", g_settings.analog_mode1 );