From 9622e7433beba9336ec3a48e7c03b85f690febf6 Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Tue, 2 Apr 2019 09:44:34 +1100 Subject: [PATCH] bpd: return real audio data --- beetsplug/bpd/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index 52619e7e1..1e0d57425 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -1029,8 +1029,11 @@ class Server(BaseServer): yield ( u'bitrate: ' + six.text_type(item.bitrate / 1000), - # TODO provide a real value samplerate:bits:channels 44100:24:2 - u'audio: 0:0:0', + u'audio: {}:{}:{}'.format( + six.text_type(item.samplerate), + six.text_type(item.bitdepth), + six.text_type(item.channels), + ), ) (pos, total) = self.player.time()