Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seasons that aren't available are marked as partially available when synced with Jellyfin #119

Closed
1 task done
CarnageDevs opened this issue May 29, 2022 · 8 comments · Fixed by #125
Closed
1 task done

Comments

@CarnageDevs
Copy link

Description

On every show I have with multiple seasons with only some downloaded, Jellyseerr incorrectly marks the missing seasons as "partially available" which prevents anyone from requesting them. I have noticed this happens only when doing a library scan with Jellyfin.

image

Without doing a library scan with Jellyfin and instead first setting up Sonarr with the "Enable scan" feature and running a Sonarr scan in Jobs & Cache, it correctly detects the undownloaded seasons as "Not requested". This can also be replicated by clearing data for the particular show and running a Sonarr scan - though it once again regresses to "partially available" once the Jellyfin library scan runs.

image

Version

1.10

Steps to Reproduce

  1. Have one or only some seasons of a show available and downloaded
  2. Run Jellyfin library scan

Screenshots

How the show looks like in Sonarr (as you can see, only one season is downloaded):

image

And in Jellyfin, where you can see only the same one season is available:

image

Logs

No response

Platform

desktop

Device

PC

Operating System

Linux

Browser

Firefox

Additional Context

No response

Code of Conduct

  • I agree to follow Overseerr's Code of Conduct
@Fallenbagel
Copy link
Owner

Hm. That is odd. Does that happen when you have like let's say season 4 without 1-3?
Because I also have several series w half downloaded but that hasn't happened to me
Screenshot_20220602-033402_nzb360.jpg

(Trying to replicate this error to figure it out)

@Fallenbagel
Copy link
Owner

Fallenbagel commented Jun 2, 2022

I just tried the other way too. Having season 3 without season 1-2 for example and i could not replicate the error.

Screenshot_20220602-083550_nzb360.jpg
Screenshot_20220602-083537_nzb360.jpg

As you can see from my screenshot, I have season 3 downloaded and rhe previous seasons are still shown as unavailable and not requested. I have run the jellyfin recently added library scan as well as the full scan.

Could you try recreating jellyseerr and checking if the same thing happens? Or try the develop tag?

@sambartik
Copy link
Contributor

sambartik commented Jun 2, 2022

I have the very same problem. Not all shows have such issues, mostly the new ones are without a problem.

It seems like a regression problem. My feeling is that it is caused by jellyfin keeping some metadata about deleted seasons/episodes, however the jellyfin web ui can correctly determine so and wont show anything in the UI. On the other hand, jellyseerr does not handle this case and thus shows partially available / available status.

Logging the queries and responses of jellyfin api would be helpful to see whats really happening.

@Fallenbagel
Copy link
Owner

My feeling is that it is caused by jellyfin keeping some metadata about deleted seasons/episodes, however the jellyfin web ui can correctly determine so and wont show anything in the UI. On the other hand, jellyseerr does not handle this case and thus shows partially available / available status.

This what I have been thinking as well. There might be metadata leftover of some deleted seasons or episodes or like metadata there w no media. Jellyfin won't pick it up but jellyseerr would as it would look for the metadata instead of the video file

@sambartik
Copy link
Contributor

Shouldn't be this marked as bug then? Jellyseer needs to do some validation or something else, because even 3rd party jellyfin clients don't display the series which jellyseerr sees as (partially) available - suggesting that this can be determined by the Jellyfin API.

@Smexhy
Copy link
Contributor

Smexhy commented Jun 2, 2022

Yes I have the same issued and I was wondering what it is about. Is there any solution to this?

@Fallenbagel
Copy link
Owner

Shouldn't be this marked as bug then? Jellyseer needs to do some validation or something else, because even 3rd party jellyfin clients don't display the series which jellyseerr sees as (partially) available - suggesting that this can be determined by the Jellyfin API.

For one thing though, we have to make sure if that is what is actually happening. I am entirely not sure myself either and I'll try and see if I can reproduce the same thing by generating some metadata for non-existent video files in jellyfin and see if jellyseerr picks it up.

And also make sure that it can be validated through jellyfin api (I'm sure there must be a way, but I have yet to figure it out. Feel free to PR if you find a solution before me)

@Fallenbagel
Copy link
Owner

Yes I have the same issued and I was wondering what it is about. Is there any solution to this?

One temporary solution I could think of is, deleting any leftover metadata from jellyfin and then removing the data of that show from jellyseerr and rescanning. That was jellyseerr will only see the season that is available and everything else will be seen as not requested

sambartik added a commit to sambartik/jellyseerr that referenced this issue Jun 4, 2022
Virtual seasons appeared as available / partially available, even though they were not even shown in the Jellyfin web UI. For more info see Fallenbagel#119
sambartik added a commit to sambartik/jellyseerr that referenced this issue Jun 4, 2022
Virtual seasons appeared as available / partially available, even though they were not even shown in the Jellyfin web UI. For more info see Fallenbagel#119
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants