Skip to content

oggopus: provide a bitrate property#704

Merged
lazka merged 1 commit intoquodlibet:mainfrom
lazka:oggopus-bitrate
Feb 15, 2026
Merged

oggopus: provide a bitrate property#704
lazka merged 1 commit intoquodlibet:mainfrom
lazka:oggopus-bitrate

Conversation

@lazka
Copy link
Member

@lazka lazka commented Feb 14, 2026

Estimate the bitrate based on the file size when seeking after the tag pages. This makes sure the bitrate doesn't change when changing the tags.

Fixes #475

Estimate the bitrate based on the file size when seeking after the tag pages.
This makes sure the bitrate doesn't change when changing the tags.

Fixes quodlibet#475
Copy link
Collaborator

@phw phw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I agree with your comment on #475 . There is a limit what mutagen, as a metadata library, should do to get this data. Full audio parsing should not be the goal.

We have other formats where both length and bitrate can be an approximation based on data size.

@lazka lazka merged commit a161810 into quodlibet:main Feb 15, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

oggopus: provide bitrate

2 participants