Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user