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": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.4.68",
|
"version": "1.4.69",
|
||||||
"_release": "1.4.68",
|
"_release": "1.4.69",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.4.68",
|
"tag": "1.4.69",
|
||||||
"commit": "b14aefcc4a69f3dc2dfd530ddd0b99791719d259"
|
"commit": "24a5ea44282dc2e0a537c6245aedd88877ebb9ad"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||||
"_target": "^1.2.0",
|
"_target": "^1.2.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// <date>09.10.2015</date>
|
// <date>09.10.2015</date>
|
||||||
// <summary>voicecommands class</summary>
|
// <summary>voicecommands class</summary>
|
||||||
define([], function () {
|
define(['require'], function (require) {
|
||||||
|
|
||||||
/// <summary> Process the command. </summary>
|
/// <summary> Process the command. </summary>
|
||||||
/// <param name="commandPath"> Full pathname of the command file. </param>
|
/// <param name="commandPath"> Full pathname of the command file. </param>
|
||||||
|
@ -28,28 +28,28 @@ define([], function () {
|
||||||
switch (result.item.actionid) {
|
switch (result.item.actionid) {
|
||||||
|
|
||||||
case 'show':
|
case 'show':
|
||||||
processCommand('voice/commands/showcommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/showcommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
case 'play':
|
case 'play':
|
||||||
processCommand('voice/commands/playcommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/playcommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
case 'shuffle':
|
case 'shuffle':
|
||||||
processCommand('voice/commands/playcommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/playcommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
case 'search':
|
case 'search':
|
||||||
processCommand('voice/commands/searchcommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/searchcommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
case 'control':
|
case 'control':
|
||||||
processCommand('voice/commands/controlcommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/controlcommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
case 'enable':
|
case 'enable':
|
||||||
processCommand('voice/commands/enablecommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/enablecommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
case 'disable':
|
case 'disable':
|
||||||
processCommand('voice/commands/disablecommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/disablecommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
case 'toggle':
|
case 'toggle':
|
||||||
processCommand('voice/commands/togglecommands.js', result).then(function (result) { resolve(result); });
|
processCommand('./commands/togglecommands.js', result).then(function (result) { resolve(result); });
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
reject();
|
reject();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue