aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorgion <oancaionutandrei@gmail.com>2020-04-17 12:57:36 +0200
committergion <oancaionutandrei@gmail.com>2020-04-27 22:39:37 +0200
commit40889702d05c7a6f3dc30090e9443e94cb29fbd9 (patch)
tree72a2b2abdee5fc4f50028191ca47d6eab08671ba /Emby.Server.Implementations
parent6519eebabb1df44535e0681e3bf798e7823d4c05 (diff)
Update session ping
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Syncplay/SyncplayController.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/Syncplay/SyncplayController.cs b/Emby.Server.Implementations/Syncplay/SyncplayController.cs
index fb37b2fb6..83b477944 100644
--- a/Emby.Server.Implementations/Syncplay/SyncplayController.cs
+++ b/Emby.Server.Implementations/Syncplay/SyncplayController.cs
@@ -396,14 +396,9 @@ namespace Emby.Server.Implementations.Syncplay
SendCommand(session, BroadcastType.SingleSession, command);
}
}
- else if (request.Type.Equals(PlaybackRequestType.KeepAlive))
+ else if (request.Type.Equals(PlaybackRequestType.UpdatePing))
{
_group.UpdatePing(session, request.Ping ??= _group.DefaulPing);
-
- var keepAlive = new GroupUpdate<string>();
- keepAlive.GroupId = _group.GroupId.ToString();
- keepAlive.Type = GroupUpdateType.KeepAlive;
- SendGroupUpdate(session, BroadcastType.SingleSession, keepAlive);
}
}