Advertisement
svenhoefer

Untitled

Jan 19th, 2018
760
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.76 KB | None | 0 0
  1. vanhofen@jessie:~/ni/buildsystem/source/ni-neutrino-hd[ni/mp/tuxbox]$ git diff
  2. diff --git a/src/neutrino.cpp b/src/neutrino.cpp
  3. index 8b81a6d..5163a5b 100644
  4. --- a/src/neutrino.cpp
  5. +++ b/src/neutrino.cpp
  6. @@ -929,17 +929,17 @@ int CNeutrinoApp::loadSetup(const char * fname)
  7.         g_settings.audioplayer_enable_sc_metadata = configfile.getInt32("audioplayer_enable_sc_metadata",1);
  8.         g_settings.shoutcast_dev_id = configfile.getString("shoutcast_dev_id","fa1669MuiRPorUBw"); //NI
  9.         g_settings.shoutcast_enabled = configfile.getInt32("shoutcast_enabled", 1);
  10. -       g_settings.shoutcast_enabled = check_shoutcast_dev_id();
  11. +       g_settings.shoutcast_enabled = g_settings.shoutcast_enabled && check_shoutcast_dev_id();
  12.  
  13.         //Movie-Player
  14.         g_settings.movieplayer_repeat_on = configfile.getInt32("movieplayer_repeat_on", CMoviePlayerGui::REPEAT_OFF);
  15.         g_settings.movieplayer_bisection_jump = configfile.getInt32("movieplayer_bisection_jump", 5); //NI
  16.         g_settings.youtube_dev_id = configfile.getString("youtube_dev_id","AIzaSyBLdZe7M3rpNMZqSj-3IEvjbb2hATWJIdM"); //NI
  17.         g_settings.youtube_enabled = configfile.getInt32("youtube_enabled", 1);
  18. -       g_settings.youtube_enabled = check_youtube_dev_id();
  19. +       g_settings.youtube_enabled = g_settings.youtube_enabled && check_youtube_dev_id();
  20.         g_settings.tmdb_api_key = configfile.getString("tmdb_api_key","7270f1b571c4ecbb5b204ddb7f8939b1"); //NI
  21.         g_settings.tmdb_enabled = configfile.getInt32("tmdb_enabled", 1);
  22. -       g_settings.tmdb_enabled = check_tmdb_api_key();
  23. +       g_settings.tmdb_enabled = g_settings.tmdb_enabled && check_tmdb_api_key();
  24.  
  25.         //Filebrowser
  26.         g_settings.filebrowser_showrights =  configfile.getInt32("filebrowser_showrights", 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement