mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Enable TV Support for 'Ask to Skip' (#6295)
This commit is contained in:
parent
92e8821003
commit
26df03b64c
3 changed files with 46 additions and 33 deletions
|
@ -27,7 +27,6 @@ import { MediaError } from 'types/mediaError';
|
|||
import { getMediaError } from 'utils/mediaError';
|
||||
import { toApi } from 'utils/jellyfin-apiclient/compat';
|
||||
import { BaseItemKind } from '@jellyfin/sdk/lib/generated-client/models/base-item-kind.js';
|
||||
import browser from 'scripts/browser.js';
|
||||
import { bindSkipSegment } from './skipsegment.ts';
|
||||
|
||||
const UNLIMITED_ITEMS = -1;
|
||||
|
@ -3687,9 +3686,7 @@ export class PlaybackManager {
|
|||
}
|
||||
|
||||
bindMediaSegmentManager(self);
|
||||
if (!browser.tv && !browser.xboxOne && !browser.ps4) {
|
||||
this._skipSegment = bindSkipSegment(self);
|
||||
}
|
||||
this._skipSegment = bindSkipSegment(self);
|
||||
}
|
||||
|
||||
getCurrentPlayer() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue