From d0e3e35d942622ea488eb098618a27b5ecafd5b9 Mon Sep 17 00:00:00 2001 From: casey langen Date: Sun, 18 Feb 2018 02:20:24 +0000 Subject: [PATCH] Added missing constant mapping for new PlaybackPrepared state. --- src/plugins/server/Constants.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/server/Constants.h b/src/plugins/server/Constants.h index e27853a36..580843822 100644 --- a/src/plugins/server/Constants.h +++ b/src/plugins/server/Constants.h @@ -216,6 +216,7 @@ namespace broadcast { static auto PLAYBACK_STATE_TO_STRING = makeBimap({ { musik::core::sdk::PlaybackStopped, "stopped" }, { musik::core::sdk::PlaybackPlaying, "playing" }, + { musik::core::sdk::PlaybackPrepared, "paused" }, { musik::core::sdk::PlaybackPaused, "paused" } }); @@ -236,4 +237,4 @@ static auto TRANSPORT_TYPE_TO_STRING = makeBimap