diff --git a/src/components/playback/skipsegment.ts b/src/components/playback/skipsegment.ts index c6b78af9d32..e0f2ae81e16 100644 --- a/src/components/playback/skipsegment.ts +++ b/src/components/playback/skipsegment.ts @@ -126,7 +126,6 @@ class SkipSegment extends PlaybackSubscriber { onPromptSkip(e: Event, segment: MediaSegmentDto) { if (this.player && segment.EndTicks != null - && segment.Type === MediaSegmentType.Outro && segment.EndTicks >= this.playbackManager.currentItem(this.player).RunTimeTicks && this.playbackManager.getNextItem() ) { diff --git a/src/controllers/playback/video/index.js b/src/controllers/playback/video/index.js index 0d230a5c325..0601e504ed2 100644 --- a/src/controllers/playback/video/index.js +++ b/src/controllers/playback/video/index.js @@ -636,7 +636,6 @@ export default function (view) { function onPromptSkip(e, mediaSegment) { const player = this; if (mediaSegment && player && mediaSegment.EndTicks != null - && mediaSegment.Type === MediaSegmentType.Outro && mediaSegment.EndTicks >= playbackManager.duration(player) && playbackManager.getNextItem() ) {