mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added remote control menu
This commit is contained in:
parent
757e0a9046
commit
c018f44379
12 changed files with 254 additions and 15 deletions
|
@ -101,7 +101,7 @@
|
|||
|
||||
clearProgressInterval();
|
||||
|
||||
var intervalTime = ApiClient.isWebSocketOpen() ? 10000 : 30000;
|
||||
var intervalTime = ApiClient.isWebSocketOpen() ? 5000 : 20000;
|
||||
|
||||
currentProgressInterval = setInterval(function () {
|
||||
|
||||
|
@ -831,6 +831,10 @@
|
|||
|
||||
self.playInternal = function (item, startPosition, user) {
|
||||
|
||||
if (item == null) {
|
||||
throw new Error("item cannot be null");
|
||||
}
|
||||
|
||||
if (self.isPlaying()) {
|
||||
self.stop();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue