aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Session/HttpSessionController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/HttpSessionController.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Session/HttpSessionController.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/HttpSessionController.cs b/MediaBrowser.Server.Implementations/Session/HttpSessionController.cs
index 1be4eca23..d2ace23a9 100644
--- a/MediaBrowser.Server.Implementations/Session/HttpSessionController.cs
+++ b/MediaBrowser.Server.Implementations/Session/HttpSessionController.cs
@@ -54,7 +54,7 @@ namespace MediaBrowser.Server.Implementations.Session
{
get
{
- return (DateTime.UtcNow - Session.LastActivityDate).TotalMinutes <= 10;
+ return (DateTime.UtcNow - Session.LastActivityDate).TotalMinutes <= 20;
}
}
@@ -157,10 +157,10 @@ namespace MediaBrowser.Server.Implementations.Session
throw new ArgumentException("SeekPositionTicks cannot be null");
}
- args["StartPositionTicks"] = command.SeekPositionTicks.Value.ToString(CultureInfo.InvariantCulture);
+ args["SeekPositionTicks"] = command.SeekPositionTicks.Value.ToString(CultureInfo.InvariantCulture);
}
- return SendMessage(command.Command.ToString(), cancellationToken);
+ return SendMessage(command.Command.ToString(), args, cancellationToken);
}
public Task SendLibraryUpdateInfo(LibraryUpdateInfo info, CancellationToken cancellationToken)