Skip to content

[Bug] Incorrect bitrate shown when playing transcoded files #564

@ropc

Description

@ropc

When using transcoded format, hovering over the scrubber bar shows the bitrate of the original file (not the transcode), such as below:
Image
(the actual file being played back is a 320Kbps MP3, transcoded from a 772Kbps FLAC file).

It looks like the stored playable always stores the FLAC's data, since that is what the Subsonic API returns when query for info about the file. This is not updated with the actual bitrate of the file returned by Subsonic's /rest/stream.view (technically, it looks like that also doesn't specify what bitrate the server returns, instead it seems like the correct way to get this is to look at the headers of the transcoded file, but other less perfect solutions could be implemented). This bug affects both streaming and cached songs so long as they are being transcoded and the bitrate preference is set to .noLimit.

My workaround for now is to explicitly set the preferred bitrate to 320Kbps, which fixes it but only while streaming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions