jellyfin-web/dashboard-ui/voice/commands/enablecommands.js
2016-02-17 07:58:07 +01:00

16 lines
359 B
JavaScript

define([], function () {
return function (result) {
result.success = true;
switch (result.item.deviceid) {
case 'displaymirroring':
MediaController.enableDisplayMirroring(true);
break;
default:
result.success = false;
return;
}
}
});