Add plugin types
This commit is contained in:
parent
ecb84ff351
commit
64ecc3eae7
18 changed files with 51 additions and 20 deletions
|
@ -1,6 +1,7 @@
|
|||
import { playbackManager } from '../../components/playback/playbackmanager';
|
||||
import serverNotifications from '../../scripts/serverNotifications';
|
||||
import ServerConnections from '../../components/ServerConnections';
|
||||
import { PluginType } from '../../types/plugin.ts';
|
||||
import Events from '../../utils/events.ts';
|
||||
|
||||
function getActivePlayerId() {
|
||||
|
@ -181,7 +182,7 @@ class SessionPlayer {
|
|||
const self = this;
|
||||
|
||||
this.name = 'Remote Control';
|
||||
this.type = 'mediaplayer';
|
||||
this.type = PluginType.MediaPlayer;
|
||||
this.isLocalPlayer = false;
|
||||
this.id = 'remoteplayer';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue