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

Fix orphaned episodes deletion #195

Merged

Conversation

scampower3
Copy link
Member

When using GetEpisodes of Season, specials with airs before or airs after set will be included as part of the season. Since the parent index of the specials does not match with the season number, the missing provider will think that it is an orphaned missing episode, thus deleting it.

So to fix this, add an additional where clause to filter so that only the episodes with the parent index of the season is removed.

@scampower3 scampower3 added the bug This PR or Issue describes or fixes something that isn't working label Nov 1, 2024
@crobibero crobibero merged commit 462ed4e into jellyfin:master Nov 3, 2024
4 checks passed
@scampower3 scampower3 deleted the fix-orphanedEpisodes-deletion branch November 3, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This PR or Issue describes or fixes something that isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants