Add untested play/pause event code and change web interface to know which happened.

This commit is contained in:
Kevin Whitaker
2017-02-08 23:22:34 -05:00
parent 35279008ee
commit 41fa567f82
3 changed files with 44 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ void WebInterface::loginCompleted()
//TODO: request current player state.
}
void WebInterface::playPauseActionFromServer(User userPausing)
void WebInterface::playPauseActionFromServer(User userPausing, bool pause)
{
priv_int->playerUI->tempText->setText(priv_int->playerUI->tempText->text()+"play");
triggerUpdate();