mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update voice components
This commit is contained in:
parent
c6b15e3001
commit
984b49650e
14 changed files with 1613 additions and 449 deletions
16
dashboard-ui/voice/commands/disablecommands.js
Normal file
16
dashboard-ui/voice/commands/disablecommands.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
define([], function () {
|
||||
|
||||
return function (result) {
|
||||
result.success = true;
|
||||
switch (result.item.deviceid) {
|
||||
case 'displaymirroring':
|
||||
MediaController.enableDisplayMirroring(false);
|
||||
break;
|
||||
default:
|
||||
result.success = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue