Repository navigation
Conversation
- check-in accepted only TMDB, so shows added with a TVDB TV default had no button - carry the show's source through the record, Now Playing card and actions - records without a stored source keep resolving as TMDB check-ins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- the move suppresses media side effects, so new seasons had no release events - next episode, check-in and upcoming stayed empty until a full calendar reload Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
The red
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1922
Changes
app/checkin.py): TV check-in accepts TMDB and TVDB; movies stay TMDB-only. The show's source is stored on the check-in record and sent to the Now Playing card, and pause/finish/cancel only match a record of the same source. Records without a stored source resolve as TMDB, so running check-ins survive the deploy. Callers inapp/checkin_views.py,api/fork_views_detail.pyandapi/fork_views_playback.pypass the route/card source through.app/services/library_migration.py): the on-commit reconcile now schedulesreload_calendar(item_ids=[target]), so the moved show's seasons get release events and next episode / Check-in / upcoming work right away.Platforms
Server-only. Web and the native apps both read Check-in state from
checkin.phase/ the check-in API, so no client change is needed.Validation
scripts/test.sh app.tests.test_checkin app.tests.test_checkin_multiple app.tests.test_checkin_session app.tests.test_tv_provider_switch api.tests.test_fork_playback_progress app.tests.test_library_migration app.tests.test_live_playback app.tests.test_anime_library_repair: all passruff check src: cleanCheckInTvdbShowTests), a TMDB action can't touch a TVDB check-in, and a move schedules the target's calendar reload.phase=Noneto idleS04E02, and start/cancel work. A TVDB→TMDB move followed by the calendar reload restoresS04E02.Risk
api/fork_views_playbacknow passes the card'ssourcetocheckin.pause/finish. The view already requires it to equal the card's state source, which for a check-in card is the record's source.🤖 Generated with Claude Code