|
|
@ -509,11 +509,8 @@ namespace Jellyfin.Api.Helpers
|
|
|
|
private static void ApplyDeviceProfileSettings(StreamState state, IDlnaManager dlnaManager, IDeviceManager deviceManager, HttpRequest request, string? deviceProfileId, bool? @static)
|
|
|
|
private static void ApplyDeviceProfileSettings(StreamState state, IDlnaManager dlnaManager, IDeviceManager deviceManager, HttpRequest request, string? deviceProfileId, bool? @static)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!string.IsNullOrWhiteSpace(deviceProfileId))
|
|
|
|
if (!string.IsNullOrWhiteSpace(deviceProfileId))
|
|
|
|
{
|
|
|
|
|
|
|
|
if (state.DeviceProfile == null)
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
state.DeviceProfile = dlnaManager.GetProfile(deviceProfileId);
|
|
|
|
state.DeviceProfile = dlnaManager.GetProfile(deviceProfileId);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (state.DeviceProfile == null)
|
|
|
|
if (state.DeviceProfile == null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|