mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
implement dlna headers
This commit is contained in:
parent
a8b841ba59
commit
de95c07529
2 changed files with 4 additions and 8 deletions
|
@ -1075,14 +1075,11 @@
|
|||
attributes.push(createAttribute("Language", stream.Language));
|
||||
}
|
||||
|
||||
if (stream.Codec && stream.Codec != "dca") {
|
||||
if (stream.Codec) {
|
||||
attributes.push(createAttribute("Codec", stream.Codec.toUpperCase()));
|
||||
}
|
||||
|
||||
if (stream.Profile && stream.Codec == "dca") {
|
||||
attributes.push(createAttribute("Codec", stream.Profile.toUpperCase()));
|
||||
}
|
||||
else if (stream.Profile) {
|
||||
if (stream.Profile) {
|
||||
attributes.push(createAttribute("Profile", stream.Profile));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue