Skip to content

fix: Compare with full media type#68

Merged
m-abs merged 2 commits intoNotalib:mainfrom
AndreasLymalmMTM:fix/mime-type-syncnarr
Feb 11, 2026
Merged

fix: Compare with full media type#68
m-abs merged 2 commits intoNotalib:mainfrom
AndreasLymalmMTM:fix/mime-type-syncnarr

Conversation

@AndreasLymalmMTM
Copy link
Contributor

Description

When comparing media types, the comparison compared the alt link's media type with syncMediaNarration media type's name, which resulted in always returning false.

Solution

Compare with syncMediaNarration media type's toString() instead, which returns '$type/$subtype$paramsStr', which is what we want; application/vnd.syncnarr+json.

@m-abs m-abs merged commit 23438bd into Notalib:main Feb 11, 2026
@AndreasLymalmMTM AndreasLymalmMTM deleted the fix/mime-type-syncnarr branch February 11, 2026 15:18
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.

2 participants