diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-02-23 12:54:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-23 12:54:05 +0100 |
| commit | e09e67deae5fc19a830178b9a7574c7c23e282bc (patch) | |
| tree | c46d2efa0e8e17203f1ea865233324616f707c05 /Jellyfin.Api/Helpers/StreamingHelpers.cs | |
| parent | ff10dd9e127068fc058e17b21628d2679013ac8a (diff) | |
| parent | 7ece3c552337340a997a75aab1520a501a673f61 (diff) | |
Merge branch 'master' into tests11
Diffstat (limited to 'Jellyfin.Api/Helpers/StreamingHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/StreamingHelpers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs index 4957ee8b8..d20a02cf5 100644 --- a/Jellyfin.Api/Helpers/StreamingHelpers.cs +++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs @@ -183,7 +183,7 @@ namespace Jellyfin.Api.Helpers if (string.IsNullOrEmpty(containerInternal)) { containerInternal = streamingRequest.Static ? - StreamBuilder.NormalizeMediaSourceFormatIntoSingleContainer(state.InputContainer, state.MediaPath, null, DlnaProfileType.Audio) + StreamBuilder.NormalizeMediaSourceFormatIntoSingleContainer(state.InputContainer, null, DlnaProfileType.Audio) : GetOutputFileExtension(state); } @@ -245,7 +245,7 @@ namespace Jellyfin.Api.Helpers var ext = string.IsNullOrWhiteSpace(state.OutputContainer) ? GetOutputFileExtension(state) - : ('.' + state.OutputContainer); + : ("." + state.OutputContainer); state.OutputFilePath = GetOutputFilePath(state, ext!, serverConfigurationManager, streamingRequest.DeviceId, streamingRequest.PlaySessionId); |
