Skip to content

v2.2.3

Choose a tag to compare

@github-actions github-actions released this 27 Nov 15:27
· 27 commits to main since this release

Everything since v2.2.0: Last.fm is gone, replaced by our own discovery mixes built from ListenBrainz data, plus a playlists tab and a round of fixes.

Removed: Last.fm

Last.fm changed how its API key may be used, so Ainulindale no longer uses Last.fm at all. LASTFM_USER, LASTFM_API_KEY, LASTFM_MODE, LASTFM_STATIONS and LASTFM_TRACKS are gone from compose, .env.example and the Unraid template; you can delete them from your own config. The lastfm-preview command is gone too.

On the first tick after upgrading, the old Lastfm-Recommended-* playlists and their Custom-Lastfm-* folders are pruned. Starred tracks still move to Keepers/.

Added

  • Discovery mixes, built here from ListenBrainz data instead of a service. Seeds come from your ListenBrainz stats. From them the mix walks ListenBrainz's similar-artists data, drops everyone you have listened to or have in Navidrome, and takes tracks from ListenBrainz's most-played lists. The slower the mix, the deeper it goes:

    DISCOVERY_MIXES Every Tracks Seeds from Steps away Tracks taken Albums
    daily day 15 last week 1 the hits –
    weekly week 30 last month 1–2 top 10 1
    monthly month 40 last 6 months 2–3 deep cuts 2
    • Turn on any combination (daily,weekly,monthly). weekly:40 changes a mix's track count.
    • DISCOVERY_AVOID_TAGS and DISCOVERY_PREFER_TAGS filter and steer by MusicBrainz genres.
    • A recommended artist rests for DISCOVERY_ARTIST_COOLDOWN_DAYS (90), and a track is never recommended twice.
    • LISTENBRAINZ_USER_TOKEN is now required.
  • Lookups are cached in config/explo/ainulindale.db (SQLite). Calls are spaced a second apart, as ListenBrainz and MusicBrainz ask. The first run of a mix takes a few minutes and later runs are nearly free. If ListenBrainz is down, the cached copy is used.

  • preview: docker exec ainulindale sh /run/ainulindale-py preview weekly shows what a mix would pick, without downloading or remembering anything.

  • Playlists tab in the web UI (:7288/#playlists). Every discovery playlist in Navidrome shows as a card, grouped by source, with its cover, date, song count and length.

    • Opening a card shows the track list. ★ marks starred tracks, the ones pruning keeps.
    • Covers are fetched through the web UI's own server, so your Navidrome login never reaches the browser.

Fixed

  • Music folder mismatch. The Unraid template and .env.example shipped /mnt/user/data/media/music as a default. A container recreated with that default downloaded outside Navidrome's library, so the playlists stayed empty and slskd shared the wrong folder. The music path now starts empty and must be set to the folder Navidrome reads as its library.
  • YouTube cookies survive Explo upgrades. COOKIES_PATH now points to config/explo/cookies.txt; Explo's default sits inside its versioned folder, which is replaced on every EXPLO_VERSION bump. The README explains the "Sign in to confirm you're not a bot" block (an API key does not help) and the alternative, DOWNLOAD_SERVICES=slskd.
  • slskd "File not shared" errors. slskd built its list of shared files only at startup. The image now sets SLSKD_SHARE_CACHE_RETENTION=1440, so slskd rescans its shares daily.
  • declare: not found. sh /run/ainulindale-py … printed this for every variable and started without the values start.sh works out at startup (EXPLO_BIN, generated API keys). The environment file is now written in POSIX form.
  • The Unraid template showed the ListenBrainz description on the YouTube API key field.
  • The README's commands use sh /run/ainulindale-py, which runs as PUID like the nightly tick, so files keep the right owner.
  • The release workflow uses the Node 24 versions of its actions.

Upgrade

  1. Check that the music path is the folder Navidrome reads as its library:
    docker inspect navidrome ainulindale --format '{{.Name}}: {{range .Mounts}}{{.Source}} -> {{.Destination}}  {{end}}'
  2. Set LISTENBRAINZ_USER_TOKEN and DISCOVERY_MIXES, and remove the LASTFM_* settings.
  3. docker compose pull && docker compose up -d