movieplayer: disable clock and mute while playlist_manager

Origin commit data
------------------
Branch: ni/coolstream
Commit: dbd4f77332
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-26 (Wed, 26 Nov 2014)

Origin message was:
------------------
- movieplayer: disable clock and mute while playlist_manager

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-11-26 10:14:53 +01:00
parent cabc52c764
commit 99bdcd4408

View File

@@ -886,6 +886,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
if (timeshift == TSHIFT_MODE_OFF) if (timeshift == TSHIFT_MODE_OFF)
callInfoViewer(); callInfoViewer();
} else if (filelist.size() > 0) { } else if (filelist.size() > 0) {
EnableClockAndMute(false);
CFileBrowser playlist; CFileBrowser playlist;
CFile *pfile = NULL; CFile *pfile = NULL;
pfile = &(*filelist_it); pfile = &(*filelist_it);
@@ -901,6 +902,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
break; break;
} }
} }
EnableClockAndMute(true);
} }
} else if (msg == (neutrino_msg_t) g_settings.mpkey_pause) { } else if (msg == (neutrino_msg_t) g_settings.mpkey_pause) {
if (playstate == CMoviePlayerGui::PAUSE) { if (playstate == CMoviePlayerGui::PAUSE) {