mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
allow to disable online services w/o cleaning the keys
Origin commit data
------------------
Branch: ni/coolstream
Commit: db896847b9
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-08 (Mon, 08 Aug 2016)
Origin message was:
------------------
- allow to disable online services w/o cleaning the keys
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -803,14 +803,17 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.audioplayer_show_playlist = configfile.getInt32("audioplayer_show_playlist",1);
|
||||
g_settings.audioplayer_enable_sc_metadata = configfile.getInt32("audioplayer_enable_sc_metadata",1);
|
||||
g_settings.shoutcast_dev_id = configfile.getString("shoutcast_dev_id","XXXXXXXXXXXXXXXX");
|
||||
g_settings.shoutcast_enabled = ((g_settings.shoutcast_dev_id != "XXXXXXXXXXXXXXXX") && !g_settings.shoutcast_dev_id.empty());
|
||||
g_settings.shoutcast_enabled = configfile.getInt32("shoutcast_enabled", 1);
|
||||
g_settings.shoutcast_enabled = check_shoutcast_dev_id();
|
||||
|
||||
//Movie-Player
|
||||
g_settings.movieplayer_repeat_on = configfile.getInt32("movieplayer_repeat_on", CMoviePlayerGui::REPEAT_OFF);
|
||||
g_settings.youtube_dev_id = configfile.getString("youtube_dev_id","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
|
||||
g_settings.youtube_enabled = ((g_settings.youtube_dev_id != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.youtube_dev_id.empty());
|
||||
g_settings.youtube_enabled = configfile.getInt32("youtube_enabled", 1);
|
||||
g_settings.youtube_enabled = check_youtube_dev_id();
|
||||
g_settings.tmdb_api_key = configfile.getString("tmdb_api_key","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
|
||||
g_settings.tmdb_enabled = ((g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.tmdb_api_key.empty());
|
||||
g_settings.tmdb_enabled = configfile.getInt32("tmdb_enabled", 1);
|
||||
g_settings.tmdb_enabled = check_tmdb_api_key();
|
||||
|
||||
//Filebrowser
|
||||
g_settings.filebrowser_showrights = configfile.getInt32("filebrowser_showrights", 1);
|
||||
@@ -1310,11 +1313,14 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
configfile.setInt32( "audioplayer_show_playlist", g_settings.audioplayer_show_playlist );
|
||||
configfile.setInt32( "audioplayer_enable_sc_metadata", g_settings.audioplayer_enable_sc_metadata );
|
||||
configfile.setString( "shoutcast_dev_id", g_settings.shoutcast_dev_id );
|
||||
configfile.setInt32( "shoutcast_enabled", g_settings.shoutcast_enabled );
|
||||
|
||||
//Movie-Player
|
||||
configfile.setInt32( "movieplayer_repeat_on", g_settings.movieplayer_repeat_on );
|
||||
configfile.setString( "youtube_dev_id", g_settings.youtube_dev_id );
|
||||
configfile.setInt32( "youtube_enabled", g_settings.youtube_enabled );
|
||||
configfile.setString( "tmdb_api_key", g_settings.tmdb_api_key );
|
||||
configfile.setInt32( "tmdb_enabled", g_settings.tmdb_enabled );
|
||||
|
||||
//Filebrowser
|
||||
configfile.setInt32("filebrowser_showrights", g_settings.filebrowser_showrights);
|
||||
|
Reference in New Issue
Block a user