mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
update hls query string
This commit is contained in:
@@ -297,7 +297,10 @@ namespace MediaBrowser.Model.Dlna
|
||||
// dlna needs to be update to support the qualified params
|
||||
var profile = item.GetOption("h264", "profile");
|
||||
|
||||
list.Add(new NameValuePair("Profile", profile ?? string.Empty));
|
||||
// Avoid having to encode
|
||||
profile = (profile ?? string.Empty).Replace(" ", "");
|
||||
|
||||
list.Add(new NameValuePair("Profile", profile));
|
||||
}
|
||||
|
||||
// no longer used
|
||||
@@ -372,7 +375,8 @@ namespace MediaBrowser.Model.Dlna
|
||||
continue;
|
||||
}
|
||||
|
||||
list.Add(new NameValuePair(pair.Key, pair.Value));
|
||||
// strip spaces to avoid having to encode h264 profile names
|
||||
list.Add(new NameValuePair(pair.Key, pair.Value.Replace(" ", "")));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user