mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user