diff --git a/src/components/commandHandler.ts b/src/components/commandHandler.ts index 80dad7d2..039bed93 100644 --- a/src/components/commandHandler.ts +++ b/src/components/commandHandler.ts @@ -22,7 +22,7 @@ import { PlaybackManager } from './playbackManager'; import { DocumentManager } from './documentManager'; // eslint-disable-next-line @typescript-eslint/no-extraneous-class -export abstract class CommandHandler { +export class CommandHandler { private static playerManager: framework.PlayerManager; private static supportedCommands: SupportedCommands = { DisplayContent: CommandHandler.displayContentHandler, diff --git a/src/components/documentManager.ts b/src/components/documentManager.ts index 49048213..640eab74 100644 --- a/src/components/documentManager.ts +++ b/src/components/documentManager.ts @@ -6,7 +6,7 @@ import { JellyfinApi } from './jellyfinApi'; import { DeviceIds, getActiveDeviceId } from './castDevices'; // eslint-disable-next-line @typescript-eslint/no-extraneous-class -export abstract class DocumentManager { +export class DocumentManager { // Duration between each backdrop switch in ms private static backdropPeriodMs = 30000; // Timer state - so that we don't start the interval more than necessary diff --git a/src/components/jellyfinApi.ts b/src/components/jellyfinApi.ts index 524def06..004d5503 100644 --- a/src/components/jellyfinApi.ts +++ b/src/components/jellyfinApi.ts @@ -24,7 +24,7 @@ axios.interceptors.response.use( ); // eslint-disable-next-line @typescript-eslint/no-extraneous-class -export abstract class JellyfinApi { +export class JellyfinApi { // Security token to prove authentication public static accessToken: string | undefined; diff --git a/src/components/playbackManager.ts b/src/components/playbackManager.ts index 1d3aa292..fcdc5e74 100644 --- a/src/components/playbackManager.ts +++ b/src/components/playbackManager.ts @@ -52,7 +52,7 @@ export interface PlaybackState { } // eslint-disable-next-line @typescript-eslint/no-extraneous-class -export abstract class PlaybackManager { +export class PlaybackManager { private static playerManager: framework.PlayerManager; private static activePlaylist: BaseItemDto[]; private static activePlaylistIndex: number;