Skip to content

[BUG] tv show recommendations not working with jellyfin #237

@cliny

Description

@cliny

Describe the bug
Tv show recommendations never get requested. The app finds watched tv episodes but always skips them with 'Series skipped: no TMDb ID' even when the series has a tmdb id in jellyfin. and some jellyfin libraries always show '0 valid items' in logs despite containing hundreds of tv shows with valid metadata.

To Reproduce
Set up suggestarr with jellyfin and seerr, have users with watched show history, and run a recommendation job. Movies get requested fine but tv shows are always skipped

Expected behavior
tv show recommendations should be requested based on users' watch history

Desktop/server
Suggestarr: 2.3.2
jellyfin: 10.11.6
seerr: 3.0.1
OS: arch linux, firefox

Additional context
The app is looking for a tmdb id on the episode itself, but jellyfin stores the tmdb id on the parent series, not individual episodes. The series tmdb id is accessible via the SeriesId field that comes with every episode

JellyfinClient - INFO - Retrieved 0 valid items in shows
JellyfinClient - INFO - Retrieved 635 valid items in other-shows
RecommendationAutomation - DEBUG - Series skipped: no TMDb ID
RecommendationAutomation - DEBUG - Series skipped: no TMDb ID
RecommendationAutomation - INFO - Total media requested: 0

&

"ProviderIds": {"Imdb": "tt0898266", "Tmdb": "1418", ...}  <- series level (has TMDb)
"ProviderIds": {"Tvdb": "795681"}  <- episode level (no TMDb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions