Skip to content

Option to name imported custom playlists after the source playlist #227

Description

@Piero-93

Current behaviour

When importing a custom playlist (Spotify / Apple Music / ListenBrainz), the playlist created in the music system is named Custom-<hash> — in my case Custom-Ce6504a0. PLAYLISTNAME_FORMAT only affects generated playlists (Weekly-Exploration-…, Daily-Jams-…), so there is currently no way to influence the name of an imported one.

Why it matters

The hash is meaningful to Explo but not to the listener. In Navidrome the playlist ends up sitting next to hand-made ones, and there is no way to tell what it is without opening it.

Renaming it manually works, but presumably breaks the link Explo uses to recognise an already-imported source — so it is only safe for one-off imports, not for sources you plan to re-run.

Proposal

An option to use the source playlist's title for the created playlist, for example PLAYLISTNAME_SOURCE=true, defaulting to off so current behaviour is preserved. The result would be Rock Classics instead of Custom-Ce6504a0. Explo already has the source title in hand when it reads the playlist, so this should not require fetching anything extra.

If a stable identifier is needed for re-import detection, a combined form such as Custom-Rock Classics would also work — or the identity could be tracked in Explo's own config rather than in the display name.

Related

#218 — a source-derived name would also make the duplicate-name collision described there easier to reason about, since two playlists from different sources would no longer be forced to share a generated name.

Environment

Explo via Docker (ghcr.io/lumepart/explo:latest), music system: Navidrome through the Subsonic API.

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