Repository navigation
Release v0.7.0
Welcome to wrapped season! In this honor, I present the biggest alistral update yet! (The SQLx files needed to get regenerated and has inflated the diff).
This is a breaking release, as the config, file paths, and commands changed, so if you had some scripts, please see the migration notes
Alistral reports
YIM got removed, and no, reports isn't a fancy name for the wrapped / rewind / year in review, etc... it's a whole new system. You can put any start date and end date, and it will generate a full report of the period.
You're no longer limited to only a year! You can run it on a month! On a week! On a nanosecond! (The parsing library handles that and the rest of the program just doesn't care). And in return, you'll have one of the most complete report yet*!
*When it's actually finished. Too much to add, so little time... Send issues if you want a specific thing in it!
The reports are configurable through presets declared in the configuration files, so if it's too much for you (which is probably the case), you can remove or add sections, alter their order, or tweak the display.
Listen durations
Before, listen durations were calculated using the musicbrainz recording's duration. However this had the issue that unlinked listens and some types of recordings had no duration, despite being listened to.
This update now change the listen duration to use the duration field on the listen instead of the recording, and use the recording's as a fallback. So counts should be different, but more accurate. You can toggle the priority to be recording then listen in the configuration file.
New errors
Alistral is not stranger to errors. People say it's because I don't put enough tests in, but I say it's because nobody want to help me write tests in this mess of api dependent code.
A few updates ago, Alistral got "friendly errors", which are helpful messages when errors not coming from alistral, but in between the chair and keyboard.
But now every error should be a lot friendler! Only a rough backtrace should be displayed, showing what went wrong. Hopefully this makes it less overwhelming to new users
Others
-
Fixed a "database is locked" error if the query lasted more than 60 second. Now all operations involving artist credits should be should be ~5 times faster
-
Updated the fetching retry code to not trust musicbrainz's
retry_afterheader and additionally add exponential pushback. You should see less api errors (Probably will not go away. It's musicbrainz still) -
This update has been entirely vibe coded. That's right! I hand coded it while listening to the sweet vibes of carpenter brut, dirtyphonics, and F.O.O.L.!
That's all for now!