From 3b681bbf57801b08f48918f6e028c8eca442dbae Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 26 Dec 2018 16:58:41 +0100 Subject: [PATCH] Added played files/notes in stream in query_streams --- platypush/plugins/sound/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platypush/plugins/sound/plugin.py b/platypush/plugins/sound/plugin.py index 930465ba0..f730fbc00 100644 --- a/platypush/plugins/sound/plugin.py +++ b/platypush/plugins/sound/plugin.py @@ -581,6 +581,8 @@ class SoundPlugin(Plugin): for i, stream in streams.items(): stream['playback_state'] = self.playback_state[i].name + if i in self.stream_mixes: + stream['mix'] = list(self.stream_mixes[i]) return streams