We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9b66c commit ab3b66eCopy full SHA for ab3b66e
src/app/_next/static/chunks/6008-42bed03e2bd0b664.js
@@ -6454,9 +6454,6 @@
6454
window.onRemoteDeviceDisconnected = [];
6455
class aS {
6456
onYnisonStateUpdated(e) {
6457
- // Отправляем состояние Ynison в electronBridge
6458
- electronBridge.sendYnisonState({ rawData: e.state });
6459
-
6460
const isRemoteControlEnabled = window.ENABLE_YNISON_REMOTE_CONTROL;
6461
const allowedStatuses1 = [
6462
Z.FY.ENDED,
@@ -6480,6 +6477,11 @@
6480
6477
e.state.player_state.status.version.device_id ===
6481
6478
window.DEVICE_INFO?.device_id;
6482
6479
+ if (!selfStateDuped) {
+ // Отправляем состояние Ynison в main процесс
+ electronBridge.sendYnisonState({ rawData: e.state });
6483
+ }
6484
+
6485
if (
6486
isRemoteControlEnabled
6487
? shouldApplyState &&
0 commit comments