1
0
Fork 0
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:
Luke Pulverenti 2014-03-25 01:25:03 -04:00
parent a8b841ba59
commit de95c07529
2 changed files with 4 additions and 8 deletions

View file

@ -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);

View file

@ -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));
}