Repository navigation
Test Plex server identity during automatic episode advance - #1282
Merged
Merged
Conversation
The queue handoff in #921 already carries the playback server to the overlay detail fetch. Exercise that path with two server identities sharing a rating key, and assert that both the playback plan and the overlay describe the remote successor.
1 task done
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.
Closes #1280.
In v0.9.0, Up Next started the successor on the playback server and then looked up its overlay metadata. Starting the successor had already retired the outgoing playing item, so the lookup fell back to the browsed server. When both servers used the same rating key, the overlay could display the other server's episode.
The queue handoff introduced in #921 already supplies the successor's server to both the playback resolve and the detail request. This test drives the real automatic countdown with two Plex identities that return different episodes for the same key. It checks the playback plan's server and the title and episode number in the overlay's metadata.
Restoring the v0.9.0 server lookup in the current handoff reproduced the reported mismatch in the test. The queue-row lookup passes.