diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-21 23:35:03 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-21 23:35:03 -0400 |
| commit | 327af0fe62bb3a055e4286154e9ba6104969af24 (patch) | |
| tree | 60ece20a2867291141d1a5918859f2d5e3cb582a /MediaBrowser.Server.Implementations/Roku | |
| parent | 72917cc0b795c8f18a7b982ef8c70da5aa8c8fa8 (diff) | |
rework media versions to be based on original item id
Diffstat (limited to 'MediaBrowser.Server.Implementations/Roku')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Roku/RokuControllerFactory.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Roku/RokuControllerFactory.cs b/MediaBrowser.Server.Implementations/Roku/RokuControllerFactory.cs index 71f70421a9..53f28e7ae7 100644 --- a/MediaBrowser.Server.Implementations/Roku/RokuControllerFactory.cs +++ b/MediaBrowser.Server.Implementations/Roku/RokuControllerFactory.cs @@ -1,8 +1,10 @@ using MediaBrowser.Common.Net; using MediaBrowser.Controller; using MediaBrowser.Controller.Session; +using MediaBrowser.Model.Entities; using MediaBrowser.Model.Serialization; using System; +using System.Collections.Generic; namespace MediaBrowser.Server.Implementations.Roku { @@ -23,6 +25,9 @@ namespace MediaBrowser.Server.Implementations.Roku { if (string.Equals(session.Client, "roku", StringComparison.OrdinalIgnoreCase)) { + session.PlayableMediaTypes = new List<string> { MediaType.Video, MediaType.Audio }; + session.SupportsFullscreenToggle = false; + return new RokuSessionController(_httpClient, _json, _appHost, session); } |
