Skip to content

Cloud: correctly apply skipped episode state when re-adding a show #1112

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

Merged
merged 5 commits into from
Jul 11, 2025

Conversation

UweTrottmann
Copy link
Owner

When introducing plays a regression was introduced where the skipped status would not get applied to episodes when adding a show and downloading episode state from Cloud.

The database update method required plays to be not null, but for skipped episodes plays were not explicitly set to 0 but left at null.

This resolves this issue and refactors the build and apply methods to facilitate testing. This adds tests for common cases, also when downloading changes ("syncing").

@UweTrottmann UweTrottmann added this to the 2025.2 milestone Jul 10, 2025
@UweTrottmann UweTrottmann self-assigned this Jul 10, 2025
@UweTrottmann UweTrottmann added the bug Something isn't working label Jul 10, 2025
@UweTrottmann UweTrottmann changed the title Cloud: apply skipped episodes when re-adding a show Cloud: correctly apply skipped episode state when re-adding a show Jul 10, 2025
@UweTrottmann UweTrottmann force-pushed the cloud-fix-skipped-not-downloaded branch from ff80303 to 3184d0f Compare July 11, 2025 07:26
@UweTrottmann UweTrottmann force-pushed the cloud-fix-skipped-not-downloaded branch from 3184d0f to c40bb77 Compare July 11, 2025 07:37
@UweTrottmann UweTrottmann force-pushed the cloud-fix-skipped-not-downloaded branch from c40bb77 to ec190c2 Compare July 11, 2025 08:25
@UweTrottmann UweTrottmann merged commit d408353 into dev Jul 11, 2025
4 checks passed
@UweTrottmann UweTrottmann deleted the cloud-fix-skipped-not-downloaded branch July 11, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant