mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
imdb-support: renamed imdb->omdb
Imdb is not really used directly, that is a bit misleading
Origin commit data
------------------
Commit: 1af35f36c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-29 (Sun, 29 Apr 2018)
This commit is contained in:
@@ -936,14 +936,13 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.audioplayer_repeat_on = configfile.getInt32("audioplayer_repeat_on",0);
|
||||
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","fa1669MuiRPorUBw"); //NI
|
||||
g_settings.shoutcast_enabled = configfile.getInt32("shoutcast_enabled", 1);
|
||||
g_settings.shoutcast_enabled = 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.movieplayer_bisection_jump = configfile.getInt32("movieplayer_bisection_jump", 5); //NI
|
||||
g_settings.movieplayer_display_playtime = configfile.getInt32("movieplayer_display_playtime", 0);
|
||||
|
||||
//online services
|
||||
g_settings.youtube_dev_id = configfile.getString("youtube_dev_id","AIzaSyBLdZe7M3rpNMZqSj-3IEvjbb2hATWJIdM"); //NI
|
||||
g_settings.youtube_enabled = configfile.getInt32("youtube_enabled", 1);
|
||||
g_settings.youtube_enabled = g_settings.youtube_enabled && check_youtube_dev_id();
|
||||
@@ -951,6 +950,14 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.tmdb_enabled = configfile.getInt32("tmdb_enabled", 1);
|
||||
g_settings.tmdb_enabled = g_settings.tmdb_enabled && check_tmdb_api_key();
|
||||
|
||||
g_settings.omdb_api_key = configfile.getString("omdb_api_key","XXXXXXXX");
|
||||
g_settings.omdb_enabled = configfile.getInt32("omdb_enabled", 1);
|
||||
g_settings.omdb_enabled = g_settings.omdb_enabled && check_omdb_api_key();
|
||||
|
||||
g_settings.shoutcast_dev_id = configfile.getString("shoutcast_dev_id","fa1669MuiRPorUBw");
|
||||
g_settings.shoutcast_enabled = configfile.getInt32("shoutcast_enabled", 1);
|
||||
g_settings.shoutcast_enabled = g_settings.shoutcast_enabled && check_shoutcast_dev_id();
|
||||
|
||||
//Filebrowser
|
||||
g_settings.filebrowser_showrights = configfile.getInt32("filebrowser_showrights", 1);
|
||||
g_settings.filebrowser_sortmethod = configfile.getInt32("filebrowser_sortmethod", 1);
|
||||
@@ -1648,17 +1655,20 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
configfile.setInt32( "audioplayer_repeat_on", g_settings.audioplayer_repeat_on );
|
||||
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.setInt32( "movieplayer_bisection_jump", g_settings.movieplayer_bisection_jump ); //NI
|
||||
configfile.setInt32( "movieplayer_display_playtime", g_settings.movieplayer_display_playtime );
|
||||
//online services
|
||||
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 );
|
||||
configfile.setString( "omdb_api_key", g_settings.omdb_api_key );
|
||||
configfile.setInt32( "omdb_enabled", g_settings.omdb_enabled );
|
||||
configfile.setString( "shoutcast_dev_id", g_settings.shoutcast_dev_id );
|
||||
configfile.setInt32( "shoutcast_enabled", g_settings.shoutcast_enabled );
|
||||
|
||||
//Filebrowser
|
||||
configfile.setInt32("filebrowser_showrights", g_settings.filebrowser_showrights);
|
||||
|
Reference in New Issue
Block a user