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:
parent
424718b05a
commit
3f50019539
4 changed files with 27 additions and 19 deletions
|
@ -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);
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue