1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/voice/commands/enablecommands.js

15 lines
358 B
JavaScript
Raw Normal View History

2016-07-06 14:39:04 -04:00
define([], function () {
2016-02-17 07:58:07 +01:00
return function (result) {
result.success = true;
switch (result.item.deviceid) {
case 'displaymirroring':
MediaController.enableDisplayMirroring(true);
break;
default:
result.success = false;
return;
}
}
});