Beets: Comments and/or suggestions for plugin to calculate an albums LAME codec?

Created on 17 Jan 2017  路  4Comments  路  Source: beetbox/beets

Problem

I created a plugin that exposes an album template field called albumquality. I used portions of library dnuos and converted the used pieces to Python 3.

Biggest feature of this plugin is that it will return the VBR quality between 0 and 9. If something goes awry, then Unknown will be returned.

I ran it over a few hundred albums in my library and it appears to have tagged everything properly.

beets-albumquality

I was wondering if anyone had any comments and/or suggestions?

Setup

  • OS: Windows 10
  • Python version: Python 3.6
  • beets version: 1.4.3
discussion

Most helpful comment

All 4 comments

Hi! This looks cool. I also notice that Mutagen itself added a feature to expose the LAME header: https://github.com/quodlibet/mutagen/issues/66

Maybe we should just use that directly instead of dnuos?

I had looked at that, but the authors comments seem to all go towards simply using the bitrate rather than exposing the VBR quality. This is why I opted to jank up dnuos for Python 3. I don't like using the average bitrate of a song because I find that using the target averages from here is often wrong when comparing to tools like foobar2000 or MediaInfo that seem to acurately determine if a song is VBR V0, or V2, etc.

How does it determine what quality level the album is? I can't figure out the source code.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chayward1 picture chayward1  路  4Comments

ctrueden picture ctrueden  路  3Comments

clounie picture clounie  路  3Comments

udiboy1209 picture udiboy1209  路  3Comments

robot3498712 picture robot3498712  路  3Comments