aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/StreamingHelpers.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-09-23 09:12:47 +0200
committerGitHub <noreply@github.com>2020-09-23 09:12:47 +0200
commit7dc22bec7b441e1aeff0ce0a33c9e66ccdf92088 (patch)
treea39dabdd96a051eedc686d41d494541a41207db0 /Jellyfin.Api/Helpers/StreamingHelpers.cs
parenta1511add060249e4e04d88eeb8e9ee1d6c20c2a9 (diff)
parentf71812abc07bfe3784c4779d6e4fa8d87be7aa94 (diff)
Merge pull request #4173 from BaronGreenback/SessionControllerFix
Unstable: Various controller fixes.
Diffstat (limited to 'Jellyfin.Api/Helpers/StreamingHelpers.cs')
-rw-r--r--Jellyfin.Api/Helpers/StreamingHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs
index 89ab2da62..f4ec29bde 100644
--- a/Jellyfin.Api/Helpers/StreamingHelpers.cs
+++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs
@@ -169,7 +169,7 @@ namespace Jellyfin.Api.Helpers
string? containerInternal = Path.GetExtension(state.RequestedUrl);
- if (string.IsNullOrEmpty(streamingRequest.Container))
+ if (!string.IsNullOrEmpty(streamingRequest.Container))
{
containerInternal = streamingRequest.Container;
}