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
|
@ -164,14 +164,13 @@
|
|||
|
||||
html += '<div>';
|
||||
if (deviceId == connection.DeviceId) {
|
||||
html += connection.Client;
|
||||
html += connection.DeviceName;
|
||||
} else {
|
||||
html += '<a href="#" onclick="RemoteControl.showMenu({sessionId:\'' + connection.Id + '\'});">' + connection.Client + '</a>';
|
||||
html += '<a href="#" onclick="RemoteControl.showMenu({sessionId:\'' + connection.Id + '\'});">' + connection.DeviceName + '</a>';
|
||||
}
|
||||
html += '</div>';
|
||||
|
||||
html += '<div>' + connection.ApplicationVersion + '</div>';
|
||||
html += '<div>' + connection.DeviceName + '</div>';
|
||||
|
||||
html += '<div class="username">';
|
||||
html += DashboardPage.getUsersHtml(connection);
|
||||
|
|
|
@ -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