mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Merge pull request #2849 from lyonzy/patch-1
Handle null outputFileExtension in GetOutputFilePath
(cherry picked from commit 5c669d7ad7
)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
6a9a677111
commit
ace1e70c63
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ namespace MediaBrowser.Api.Playback
|
|||
var data = $"{state.MediaPath}-{state.UserAgent}-{state.Request.DeviceId}-{state.Request.PlaySessionId}";
|
||||
|
||||
var filename = data.GetMD5().ToString("N", CultureInfo.InvariantCulture);
|
||||
var ext = outputFileExtension.ToLowerInvariant();
|
||||
var ext = outputFileExtension?.ToLowerInvariant();
|
||||
var folder = ServerConfigurationManager.GetTranscodePath();
|
||||
|
||||
if (EnableOutputInSubFolder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue