-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unneeded multiplication by 8 when parsing bitrate #70
Comments
What makes you think so? What does your media server report? |
Well, the "Bitrate" string implies it is in bits not bytes. It not implies that is is in kilo bits though. I don't know the dlna protocol so I don't know if the protocol even defines if it is kbits or bits. But my media server is reporting in kbits. |
http://www.upnp.org/specs/av/UPnP-av-ContentDirectory-v4-Service.pdf So your assumptions are based on one particular media server implementation, right? So it would be kind of helpful to mention which one... |
LOL, so they admit in the protocol definition that they are INCONSISTENT. |
AFAIK, this hasn't been resolved, really: mopidy/mopidy#1514 |
ok, whatever. You can close the issue. I don't need the bitrate, it just seemed something is wrong to me while I was tinkering with the code. |
yeah, this was never cleanly specified nor implemented, but nobody seemed to care too much about "bitrate"... |
mopidy-dleyna/mopidy_dleyna/translator.py
Line 98 in 7fb628e
I guess it should be not multiplied by 8 as bitrate is already in kbits/s
The text was updated successfully, but these errors were encountered: