From 2ce9e05d2fc818b031f2ab12bc50ffae035033ed Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 15 Apr 2014 22:17:48 -0400 Subject: add new playback checkin endpoints --- .../EntryPoints/AutomaticRestartEntryPoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MediaBrowser.Server.Implementations/EntryPoints') diff --git a/MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs index d147a942f..df6a9e654 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs @@ -74,7 +74,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints var now = DateTime.UtcNow; - return !_sessionManager.Sessions.Any(i => !string.IsNullOrEmpty(i.NowViewingItemName) || (now - i.LastActivityDate).TotalMinutes < 30); + return !_sessionManager.Sessions.Any(i => (now - i.LastActivityDate).TotalMinutes < 30); } public void Dispose() -- cgit v1.2.3