Skip to content

feat(jellyfin): a series started in Jellyfin shows up in Snug right away - #96

Merged
mathieuletyrant merged 1 commit into
mainfrom
feat/jellyfin-playback-start
Nov 3, 2026
Merged

mathieuletyrant merged 1 commit into
mainfrom
feat/jellyfin-playback-start

Conversation

@mathieuletyrant

Copy link
Copy Markdown
Owner

What

A series you start in Jellyfin shows up in Snug as soon as playback begins, not once the first episode is over.

  • Playback Start on an episode of a series Snug doesn't follow → the series is added to Watching, nothing marked watched.
  • On the Watchlist → moves to Watching.
  • Any other status (paused, dropped, a rewatch of a completed one, already Watching) → left alone, logged as ignored ("Already followed").
  • Specials are ignored, like for watches. No notification.

The webhook history gets an Added outcome (accent dot, its own filter). The setup steps and the README ask to tick Playback Start as well; without it, nothing changes from today.

Code

  • parseJellyfinEvent: PlaybackStart on an Episode → episode-started (same fields as episode-watched, now EpisodeEvent).
  • JellyfinService.start resolves the series like a watch, then TrackingService.startWatching.
  • JellyfinEventLog.outcome gains "added" (text column, no migration).

Checks

bun run typecheck, bun test (114 tests, 2 new) and bun run build pass.


Generated by Claude Code

With Playback Start ticked in the Webhook plugin, starting an episode of a
series Snug doesn't follow adds it to Watching (a Watchlist one moves to
Watching), without marking anything watched. Any other status is left
alone. The webhook history shows these calls as Added. The setup steps
and README now ask for Playback Start too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MqWWDWXhrfc4giWYvHVjWq
@mathieuletyrant
mathieuletyrant merged commit b8e5e7f into main Nov 3, 2026
1 check passed
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