Skip to content

Use slot type resolution for playlist names - #80

Open
SvenXP wants to merge 1 commit into
rosskouk:mainfrom
SvenXP:playlist-resolution
Open

SvenXP wants to merge 1 commit into
rosskouk:mainfrom
SvenXP:playlist-resolution

Conversation

@SvenXP

@SvenXP SvenXP commented Jul 28, 2026

Copy link
Copy Markdown

The NaviSonicPlayPlaylist handler searches Navidrome using the raw
slot.value, which is what Alexa heard rather than the resolved slot type
value. For non-English playlist names the two frequently differ:

Spoken slot.value Resolution
"spiele die Playlist Charts" charts Hörercharts
(same phrase, second attempt) werner charts Hörercharts

The slot type resolved correctly with ER_SUCCESS_MATCH in both cases, but
the search ran with the raw value and failed. Synonyms defined in the slot
type have no effect, since the resolution is never read.

This adds a small helper that prefers the resolution and falls back to the
raw value when no authority matched, so open slot types (AMAZON.Artist,
AMAZON.MusicAlbum, ...) keep their current behaviour.

Tested against Navidrome 0.61.2 with a de-DE skill and playlist names
containing umlauts.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant