diff --git a/src/controllers/lyrics.types.ts b/src/apps/stable/features/lyrics/constants/autoScroll.ts similarity index 100% rename from src/controllers/lyrics.types.ts rename to src/apps/stable/features/lyrics/constants/autoScroll.ts diff --git a/src/controllers/lyrics.js b/src/controllers/lyrics.js index fd1597433..74f674140 100644 --- a/src/controllers/lyrics.js +++ b/src/controllers/lyrics.js @@ -1,22 +1,21 @@ import { getLyricsApi } from '@jellyfin/sdk/lib/utils/api/lyrics-api'; import escapeHtml from 'escape-html'; +import { AutoScroll } from 'apps/stable/features/lyrics/constants/autoScroll'; import autoFocuser from 'components/autoFocuser'; import { appRouter } from 'components/router/appRouter'; import layoutManager from 'components/layoutManager'; import { playbackManager } from 'components/playback/playbackmanager'; import scrollManager from 'components/scrollManager'; import focusManager from 'components/focusManager'; - -import keyboardNavigation from 'scripts/keyboardNavigation'; import globalize from 'lib/globalize'; import { ServerConnections } from 'lib/jellyfin-apiclient'; +import keyboardNavigation from 'scripts/keyboardNavigation'; import LibraryMenu from 'scripts/libraryMenu'; import Events from 'utils/events'; import { toApi } from 'utils/jellyfin-apiclient/compat'; import '../styles/lyrics.scss'; -import { AutoScroll } from './lyrics.types'; let currentPlayer; let currentItem;