1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Additional cast params

This commit is contained in:
Tim Hobbs 2014-04-07 09:26:48 -07:00
parent 424718b05a
commit 3f50019539
4 changed files with 27 additions and 19 deletions

View file

@ -349,7 +349,7 @@
// don't display the current session
sessions = sessions.filter(function (s) {
return s.DeviceId != deviceId && s.SupportsRemoteControl;
return s.DeviceId != deviceId && (s.SupportsRemoteControl || s.Client == "Chromecast");
});
var elem = $('#selectSession', popup);
@ -403,6 +403,8 @@
self.showMenu = function (options) {
ApiClient.getSessions(sessionQuery).done(function (sessions) {
console.log("showMenu", sessions);
showMenu(sessions, options);
});