mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
3.0.5264.17006
This commit is contained in:
parent
dcd20638c8
commit
2ba4a04377
8 changed files with 111 additions and 43 deletions
|
@ -319,10 +319,20 @@
|
|||
}
|
||||
}
|
||||
else if (msg.MessageType === "PlaybackStart") {
|
||||
firePlaybackEvent('playbackstart', msg.Data);
|
||||
|
||||
if (msg.Data.DeviceId != ApiClient.deviceId()) {
|
||||
if (MediaController.getPlayerInfo().id == msg.Data.Id) {
|
||||
firePlaybackEvent('playbackstart', msg.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (msg.MessageType === "PlaybackStopped") {
|
||||
firePlaybackEvent('playbackstop', msg.Data);
|
||||
|
||||
if (msg.Data.DeviceId != ApiClient.deviceId()) {
|
||||
if (MediaController.getPlayerInfo().id == msg.Data.Id) {
|
||||
firePlaybackEvent('playbackstop', msg.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue