Skip to content

fix: drop artwork with an overlong Emby/Jellyfin item ID - #1192

Merged
rowkav09 merged 1 commit into
mainfrom
fix/1124-overlong-artwork-id
Oct 13, 2026
Merged

rowkav09 merged 1 commit into
mainfrom
fix/1124-overlong-artwork-id

Conversation

@rowkav09

Copy link
Copy Markdown
Member

I bound the artwork item ID at 512 characters, the same limit the image tag already has. An ID at 512 keeps its artwork. A longer ID gives no artwork instead of failing the playing item, so the state and title are kept.

Tests cover both Emby and Jellyfin for an ID of 513 characters (artwork dropped, playback and title intact) and for an ID of exactly 512 characters (artwork kept). The two 513-character tests fail without the change. They use the provider with synthetic items, not a live server. The full suite passes with 0 failures (23 skipped) and the syntax check is clean.

Fixes #1124

I bound the artwork item ID at 512 characters, the same limit the image tag
already has. An ID at 512 keeps its artwork. A longer ID gives no artwork
instead of failing the playing item, so the state and title are kept.

Tests cover both Emby and Jellyfin for an ID of 513 characters (artwork
dropped, playback and title intact) and for an ID of exactly 512 characters
(artwork kept). They use the provider with synthetic items, not a live
server.

Fixes #1124
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@rowkav09
rowkav09 merged commit 933c728 into main Oct 13, 2026
21 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in nowplaying Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Overlong Emby/Jellyfin artwork item IDs break playback instead of just dropping artwork

1 participant