mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 18:36:15 -08:00
fix(portals): a collection series never passes as the resolving movie
The collection's selected movie id is reported only while the shown item is a movie, so a series with the same provider number cannot let a stale external launch start over it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
fad77eda18
commit
175967e06b
1 file changed
+6
-1
@@ -128,7 +128,12 @@ export class StalkerCollectionPlaybackController {
|
||||
externalPlayback: this.config.externalPlayback,
|
||||
playbackPositions: this.config.playbackPositions,
|
||||
playlistId: () => this.playbackOwner()?.sourceId,
|
||||
selectedVodId: () => Number(this.playbackOwner()?.contentId) || null,
|
||||
// Movie and series ids collide: a series now on screen must not
|
||||
// pass as the movie whose link is still resolving.
|
||||
selectedVodId: () =>
|
||||
this.config.item()?.contentType === 'movie'
|
||||
? Number(this.playbackOwner()?.contentId) || null
|
||||
: null,
|
||||
selectedVodPosition: this.selectedVodPosition,
|
||||
discardPendingPositionLoad: () =>
|
||||
this.vodPlayback.discardPendingPositionLoad(),
|
||||
|
||||
Reference in new issue
Block a user