Skip to content

failed to get weekly-jams playlist despite playlist being found and tracks being accessible #119

@Copenhagen432

Description

@Copenhagen432

Explo successfully finds the Weekly Jams playlist in the ListenBrainz API (PlaylistCount:1) but immediately fails with failed to get weekly-jams playlist, check if ListenBrainz has generated one. The playlist and its tracks are fully accessible via direct API calls.

To Reproduce

Set LISTENBRAINZ_DISCOVERY=playlist in .env
Run ./explo --playlist=weekly-jams
Explo finds the playlist metadata but fails to parse tracks

Debug logs
time=2026-04-27T21:49:35.830-07:00 level=DEBUG msg="playlist output" playlists="{Count:25 Offset:0 PlaylistCount:1 Playlists:[{Playlist:{Creator:listenbrainz Date:2026-04-27 04:04:26.103062 +0000 +0000 Extension:{HTTPSJspfPlaylist:{AdditionalMetadata:{AlgorithmMetadata:{SourcePatch:weekly-jams}} CreatedFor:Copenhagen432}} Identifier:https://listenbrainz.org/playlist/310d1ee5-e36e-4a26-b5da-f0a33374865c}}]}"
time=2026-04-27T21:49:35.830-07:00 level=ERROR msg="failed to get weekly-jams playlist, check if ListenBrainz has generated one" notify=true

I suspect that the cause is a direct API call to https://api.listenbrainz.org/1/playlist/310d1ee5-e36e-4a26-b5da-f0a33374865c returns tracks successfully. However, the identifier field in each track is returned as a JSON array rather than a plain string:
"identifier": [
"https://musicbrainz.org/recording/863dd3b3-c525-427c-a0fb-faa75b1dde37"
]

Expected behavior
Explo should successfully parse the track list and proceed with downloading.
Environment

Explo version: ghcr.io/lumepart/explo:latest
Music system: Navidrome (Subsonic API)
Download services: slskd,youtube
LISTENBRAINZ_DISCOVERY: playlist
Docker on UGreen NAS (Ubuntu-based)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions