- audioplayer/screensaver: refresh screensaver picture when title was changed

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-06-01 23:32:04 +02:00
committed by Thilo Graf
parent 4d934ad173
commit 730a357368
3 changed files with 18 additions and 2 deletions

View File

@@ -2127,6 +2127,10 @@ void CAudioPlayerGui::play(unsigned int pos)
m_time_total = m_playlist[m_current].MetaData.total_time;
m_state = CAudioPlayerGui::PLAY;
m_curr_audiofile = m_playlist[m_current];
if (m_screensaver && g_settings.audioplayer_cover_as_screensaver)
CScreenSaver::getInstance()->forceRefresh();
// Play
CAudioPlayer::getInstance()->play(&m_curr_audiofile, g_settings.audioplayer_highprio == 1);