Skip to content

The Free Software Media System - Server Backend & API

get default profile if needed

Luke Pulverentica4c674a4b12
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 69a812cbf4..ab20ab730a 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1734,6 +1734,11 @@ namespace MediaBrowser.Api.Playback
AddTimeSeekResponseHeaders(state, responseHeaders);
}
+ if (profile == null)
+ {
+ profile = DlnaManager.GetDefaultProfile();
+ }
+
var audioCodec = state.Request.AudioCodec;
if (state.VideoRequest == null)