mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use shared voice components
This commit is contained in:
parent
aece94029c
commit
07da989bfd
28 changed files with 413 additions and 185 deletions
10
dashboard-ui/bower_components/emby-webcomponents/voice/commands/controlcommands.js
vendored
Normal file
10
dashboard-ui/bower_components/emby-webcomponents/voice/commands/controlcommands.js
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
define(['playbackManager'], function (playbackManager) {
|
||||
|
||||
return function (result) {
|
||||
result.success = true;
|
||||
if (result.properties.devicename) {
|
||||
playbackManager.trySetActiveDeviceName(result.properties.devicename);
|
||||
}
|
||||
return;
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue