From a0eb68196da884310a892760629971fb81706251 Mon Sep 17 00:00:00 2001 From: 4gray Date: Wed, 29 Jul 2026 02:45:22 +0200 Subject: [PATCH] style(portals): format the extracted external-session module Co-Authored-By: Claude Opus 5 --- .../src/lib/vod-details/vod-details-external-session.ts | 6 +++++- .../lib/vod-details/vod-details-playback.service.spec.ts | 5 ----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/libs/portal/xtream/feature/src/lib/vod-details/vod-details-external-session.ts b/libs/portal/xtream/feature/src/lib/vod-details/vod-details-external-session.ts index ba0c085ad..af5dfb0a4 100644 --- a/libs/portal/xtream/feature/src/lib/vod-details/vod-details-external-session.ts +++ b/libs/portal/xtream/feature/src/lib/vod-details/vod-details-external-session.ts @@ -28,7 +28,11 @@ export interface OwnedContentIds { */ export function ownsContent( info: - | { playlistId?: string; contentXtreamId?: number; contentType?: string } + | { + playlistId?: string; + contentXtreamId?: number; + contentType?: string; + } | undefined, owned: OwnedContentIds ): boolean { diff --git a/libs/portal/xtream/feature/src/lib/vod-details/vod-details-playback.service.spec.ts b/libs/portal/xtream/feature/src/lib/vod-details/vod-details-playback.service.spec.ts index 687c99ecb..90d7cc76b 100644 --- a/libs/portal/xtream/feature/src/lib/vod-details/vod-details-playback.service.spec.ts +++ b/libs/portal/xtream/feature/src/lib/vod-details/vod-details-playback.service.spec.ts @@ -146,11 +146,6 @@ describe('VodDetailsPlaybackService — external session ownership', () => { expect(service.matchedExternalPlayback()).toBeNull(); }); - - - - - it('records a source started through multi-source as recently viewed', async () => { // Playing an alternative from the picker, or letting a pin decide the // primary Play, is still watching the movie — it belongs in Recently