diff --git a/src/output/output_http.cpp b/src/output/output_http.cpp index 054defd5..4b3d3812 100644 --- a/src/output/output_http.cpp +++ b/src/output/output_http.cpp @@ -574,17 +574,14 @@ namespace Mist{ //Play command, sets pause state off and optionally also seeks if (command["type"] == "play") { + bool wasPlaying = parseData; parseData = true; if (command.isMember("seek_time")){ handleWebsocketSeek(command); }else{ - if (!currentTime()){ + if (!wasPlaying){ command["seek_time"] = 0; handleWebsocketSeek(command); - }else{ - parseData = true; - selectDefaultTracks(); - firstTime = Util::bootMS() - (lastPacketTime / target_rate); } } return true;