Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve documentation of lastgenre.prefer_specific's dependency on lastgenre.canonical? #2973
It would be nice if there would be a error message when
$ # with prefer_specific but without canonical: $ beet lastgenre LITE Cubic lastgenre: genre for album LITE - Cubic (None): $ # compare: with canonical: $ beet lastgenre LITE Cubic lastgenre: genre for album LITE - Cubic (artist): Post-Rock
$ # with prefer_specific but without canonical: $ beet lastgenre LITE Cubic lastgenre: ERROR: `lastgenre.prefer_specific` is enabled but `lastgenre.canonical` is not. Please either disable `prefer_specific` or enable `canonical`!
Currently the documentation only hints at this requirement. One could possibly make this clearer.
Alternatively the default canonicalisation tree could just be loaded. Care must be taken to only use it for sorting, not canonicalisation.