diff options
| author | tikuf <admin@nyalindee.com> | 2014-04-16 10:14:20 +1000 |
|---|---|---|
| committer | tikuf <admin@nyalindee.com> | 2014-04-16 10:14:20 +1000 |
| commit | 13196544c2ca525068e34d23bd98da551943bbca (patch) | |
| tree | ad9894c55a3f3078c15b7622f424b950524b4e2b /MediaBrowser.Api/Playback/StreamRequest.cs | |
| parent | f9eede391b2de2ce80e75d8345aade14f70f1b9d (diff) | |
| parent | ab5f8ed13679dbe1763cafc599a8f566a36a4a14 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Api/Playback/StreamRequest.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/StreamRequest.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/StreamRequest.cs b/MediaBrowser.Api/Playback/StreamRequest.cs index add517b5d..d5355783e 100644 --- a/MediaBrowser.Api/Playback/StreamRequest.cs +++ b/MediaBrowser.Api/Playback/StreamRequest.cs @@ -171,5 +171,13 @@ namespace MediaBrowser.Api.Playback return Width.HasValue || Height.HasValue; } } + + [ApiMember(Name = "EnableAutoStreamCopy", Description = "Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "GET")] + public bool EnableAutoStreamCopy { get; set; } + + public VideoStreamRequest() + { + EnableAutoStreamCopy = true; + } } } |
