mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update shared voice components
This commit is contained in:
parent
07da989bfd
commit
b9e37b50ec
2 changed files with 13 additions and 13 deletions
|
@ -15,12 +15,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.68",
|
||||
"_release": "1.4.68",
|
||||
"version": "1.4.69",
|
||||
"_release": "1.4.69",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.68",
|
||||
"commit": "b14aefcc4a69f3dc2dfd530ddd0b99791719d259"
|
||||
"tag": "1.4.69",
|
||||
"commit": "24a5ea44282dc2e0a537c6245aedd88877ebb9ad"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <date>09.10.2015</date>
|
||||
// <summary>voicecommands class</summary>
|
||||
define([], function () {
|
||||
define(['require'], function (require) {
|
||||
|
||||
/// <summary> Process the command. </summary>
|
||||
/// <param name="commandPath"> Full pathname of the command file. </param>
|
||||
|
@ -28,28 +28,28 @@ define([], function () {
|
|||
switch (result.item.actionid) {
|
||||
|
||||
case 'show':
|
||||
processCommand('voice/commands/showcommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/showcommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
case 'play':
|
||||
processCommand('voice/commands/playcommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/playcommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
case 'shuffle':
|
||||
processCommand('voice/commands/playcommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/playcommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
case 'search':
|
||||
processCommand('voice/commands/searchcommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/searchcommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
case 'control':
|
||||
processCommand('voice/commands/controlcommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/controlcommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
case 'enable':
|
||||
processCommand('voice/commands/enablecommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/enablecommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
case 'disable':
|
||||
processCommand('voice/commands/disablecommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/disablecommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
case 'toggle':
|
||||
processCommand('voice/commands/togglecommands.js', result).then(function (result) { resolve(result); });
|
||||
processCommand('./commands/togglecommands.js', result).then(function (result) { resolve(result); });
|
||||
break;
|
||||
default:
|
||||
reject();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue