From 7e01cce884b70f4fa1709287bebdd2a85788a962 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 13 Dec 2020 16:58:28 -0500 Subject: Merge pull request #4716 from OancaAndrei/syncplay-new-auth-policies (cherry picked from commit 4f6a585424ac8fc66d1f2d5a7fc71a9e85cd23de) Signed-off-by: Joshua M. Boniface --- MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs b/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs index d0244563a4..1c954828c3 100644 --- a/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs +++ b/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs @@ -51,5 +51,12 @@ namespace MediaBrowser.Controller.SyncPlay /// The request. /// The cancellation token. void HandleRequest(SessionInfo session, IGroupPlaybackRequest request, CancellationToken cancellationToken); + + /// + /// Checks whether a user has an active session using SyncPlay. + /// + /// The user identifier to check. + /// true if the user is using SyncPlay; false otherwise. + bool IsUserActive(Guid userId); } } -- cgit v1.2.3