diff options
| author | tikuf <admin@nyalindee.com> | 2014-04-07 12:43:29 +1000 |
|---|---|---|
| committer | tikuf <admin@nyalindee.com> | 2014-04-07 12:43:29 +1000 |
| commit | 8ae71b75fb024815e165eba9b3d00ca8307caab3 (patch) | |
| tree | 54274881bca0834c2ab518c51bc65160fc320db1 /MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs | |
| parent | 161e1af0eaa69e828f64d33311e3bc462852d6c4 (diff) | |
| parent | 56c0d491f4c05a2c0c4f21c20e3530c039b33148 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs b/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs index 608e92b24..5a4522bd3 100644 --- a/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs +++ b/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs @@ -41,6 +41,11 @@ namespace MediaBrowser.Server.Implementations.Roku } } + public Task SendSessionEndedNotification(SessionInfoDto sessionInfo, CancellationToken cancellationToken) + { + return Task.FromResult(true); + } + public Task SendMessageCommand(MessageCommand command, CancellationToken cancellationToken) { return SendCommand(new WebSocketMessage<MessageCommand> @@ -81,11 +86,10 @@ namespace MediaBrowser.Server.Implementations.Roku }, cancellationToken); } - private readonly Task _cachedTask = Task.FromResult(true); public Task SendLibraryUpdateInfo(LibraryUpdateInfo info, CancellationToken cancellationToken) { // Roku probably won't care about this - return _cachedTask; + return Task.FromResult(true); } public Task SendRestartRequiredNotification(CancellationToken cancellationToken) @@ -101,7 +105,7 @@ namespace MediaBrowser.Server.Implementations.Roku public Task SendUserDataChangeInfo(UserDataChangeInfo info, CancellationToken cancellationToken) { // Roku probably won't care about this - return _cachedTask; + return Task.FromResult(true); } public Task SendServerShutdownNotification(CancellationToken cancellationToken) @@ -137,7 +141,6 @@ namespace MediaBrowser.Server.Implementations.Roku }); } - public Task SendGeneralCommand(GeneralCommand command, CancellationToken cancellationToken) { return SendCommand(new WebSocketMessage<GeneralCommand> |
