mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
WIP
This commit is contained in:
parent
96eccd2ecd
commit
7d9208e951
143 changed files with 1000 additions and 1008 deletions
|
@ -1,11 +1,11 @@
|
|||
import connectionManager from 'jellyfin-apiclient';
|
||||
import { ConnectionManager } from 'jellyfin-apiclient';
|
||||
import browser from '../scripts/browser';
|
||||
import globalize from '../scripts/globalize';
|
||||
import actionsheet from './actionSheet/actionSheet';
|
||||
import appHost from './apphost';
|
||||
import appRouter from './appRouter';
|
||||
import { appHost } from './apphost';
|
||||
import { appRouter } from './appRouter';
|
||||
import itemHelper from './itemHelper';
|
||||
import playbackManager from './playback/playbackmanager';
|
||||
import { playbackManager } from './playback/playbackmanager';
|
||||
|
||||
/* eslint-disable indent */
|
||||
export function getCommands(options) {
|
||||
|
@ -330,7 +330,7 @@ import playbackManager from './playback/playbackmanager';
|
|||
function executeCommand(item, id, options) {
|
||||
const itemId = item.Id;
|
||||
const serverId = item.ServerId;
|
||||
const apiClient = window.connectionManager.getApiClient(serverId);
|
||||
const apiClient = ConnectionManager.getApiClient(serverId);
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
switch (id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue