mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
bpd: return real audio data
This commit is contained in:
parent
e839e4ea19
commit
9622e7433b
1 changed files with 5 additions and 2 deletions
|
|
@ -1029,8 +1029,11 @@ class Server(BaseServer):
|
||||||
|
|
||||||
yield (
|
yield (
|
||||||
u'bitrate: ' + six.text_type(item.bitrate / 1000),
|
u'bitrate: ' + six.text_type(item.bitrate / 1000),
|
||||||
# TODO provide a real value samplerate:bits:channels 44100:24:2
|
u'audio: {}:{}:{}'.format(
|
||||||
u'audio: 0:0:0',
|
six.text_type(item.samplerate),
|
||||||
|
six.text_type(item.bitdepth),
|
||||||
|
six.text_type(item.channels),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
(pos, total) = self.player.time()
|
(pos, total) = self.player.time()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue