mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
tmdb: Add read apikey from neutrino.conf
This commit is contained in:
@@ -802,6 +802,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
//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.tmdb_api_key = configfile.getString("tmdb_api_key","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
|
||||
|
||||
//Filebrowser
|
||||
g_settings.filebrowser_showrights = configfile.getInt32("filebrowser_showrights", 1);
|
||||
@@ -1303,6 +1304,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
//Movie-Player
|
||||
configfile.setInt32( "movieplayer_repeat_on", g_settings.movieplayer_repeat_on );
|
||||
configfile.setString( "youtube_dev_id", g_settings.youtube_dev_id );
|
||||
configfile.setString( "tmdb_api_key", g_settings.tmdb_api_key );
|
||||
|
||||
//Filebrowser
|
||||
configfile.setInt32("filebrowser_showrights", g_settings.filebrowser_showrights);
|
||||
|
Reference in New Issue
Block a user