movieplayer: allow to display plackback time instead of movietitle on vfd

Origin commit data
------------------
Branch: ni/coolstream
Commit: e620d9e544
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-02-27 (Tue, 27 Feb 2018)

Origin message was:
------------------
- movieplayer: allow to display plackback time instead of movietitle on vfd

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-02-27 00:54:05 +01:00
parent d7d329a64d
commit d796b22c3d
9 changed files with 47 additions and 5 deletions

View File

@@ -939,6 +939,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
//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);
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();
@@ -1644,6 +1645,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
//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 );
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 );