From 8cc23f28826f72cd0f40c8cab14cb3f0ae197208 Mon Sep 17 00:00:00 2001 From: viown <48097677+viown@users.noreply.github.com> Date: Fri, 25 Oct 2024 21:01:02 +0300 Subject: [PATCH] Remove undefined MediaSegmentType --- src/components/playback/skipsegment.ts | 1 - src/controllers/playback/video/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/playback/skipsegment.ts b/src/components/playback/skipsegment.ts index e0f2ae81e1..458297d682 100644 --- a/src/components/playback/skipsegment.ts +++ b/src/components/playback/skipsegment.ts @@ -1,6 +1,5 @@ import { PlaybackManager } from './playbackmanager'; import { TICKS_PER_MILLISECOND, TICKS_PER_SECOND } from 'constants/time'; -import { MediaSegmentType } from '@jellyfin/sdk/lib/generated-client/models/media-segment-type'; import type { MediaSegmentDto } from '@jellyfin/sdk/lib/generated-client/models/media-segment-dto'; import { PlaybackSubscriber } from 'apps/stable/features/playback/utils/playbackSubscriber'; import { isInSegment } from 'apps/stable/features/playback/utils/mediaSegments'; diff --git a/src/controllers/playback/video/index.js b/src/controllers/playback/video/index.js index 0601e504ed..df0dde9bb8 100644 --- a/src/controllers/playback/video/index.js +++ b/src/controllers/playback/video/index.js @@ -29,7 +29,6 @@ import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../../components import { pluginManager } from '../../../components/pluginManager'; import { PluginType } from '../../../types/plugin.ts'; import { EventType } from 'types/eventType'; -import { MediaSegmentType } from '@jellyfin/sdk/lib/generated-client'; import { TICKS_PER_MINUTE, TICKS_PER_SECOND } from 'constants/time'; import { PlayerEvent } from 'apps/stable/features/playback/constants/playerEvent';