aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-15 22:17:48 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-15 22:17:48 -0400
commit2ce9e05d2fc818b031f2ab12bc50ffae035033ed (patch)
tree8c7b67c7090f5e9966c11f9b7d9411dac78533f2 /MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs
parentab5f8ed13679dbe1763cafc599a8f566a36a4a14 (diff)
add new playback checkin endpoints
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs2
1 files changed, 1 insertions, 1 deletions
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()