diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-15 22:17:48 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-15 22:17:48 -0400 |
| commit | 2ce9e05d2fc818b031f2ab12bc50ffae035033ed (patch) | |
| tree | 8c7b67c7090f5e9966c11f9b7d9411dac78533f2 /MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs | |
| parent | ab5f8ed13679dbe1763cafc599a8f566a36a4a14 (diff) | |
add new playback checkin endpoints
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/AutomaticRestartEntryPoint.cs | 2 |
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() |
