diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-08-04 16:30:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-04 16:30:15 -0400 |
| commit | e169eaee6cb2f91e4102f4fe7ac9075659feba95 (patch) | |
| tree | a143a29cc50b65fd059727ad8f687ad32e42cecb /MediaBrowser.Api/Playback/StreamState.cs | |
| parent | db9176521c324452ea6c4c4566d54eed5329780f (diff) | |
| parent | 3fe1c25c3ea8d6519aba3b5c3ef0d6a9154413b2 (diff) | |
Merge pull request #2794 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Api/Playback/StreamState.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/StreamState.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/StreamState.cs b/MediaBrowser.Api/Playback/StreamState.cs index eecc12432..6c098deea 100644 --- a/MediaBrowser.Api/Playback/StreamState.cs +++ b/MediaBrowser.Api/Playback/StreamState.cs @@ -131,14 +131,14 @@ namespace MediaBrowser.Api.Playback public long? EncodingDurationTicks { get; set; } - public string GetMimeType(string outputPath) + public string GetMimeType(string outputPath, bool enableStreamDefault = true) { if (!string.IsNullOrEmpty(MimeType)) { return MimeType; } - return MimeTypes.GetMimeType(outputPath); + return MimeTypes.GetMimeType(outputPath, enableStreamDefault); } public bool EnableDlnaHeaders { get; set; } |
