mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
138611efb5
commit
11615f4399
72 changed files with 829 additions and 623 deletions
|
@ -1,6 +1,7 @@
|
|||
// <date>09.10.2015</date>
|
||||
// <summary>voicecommands class</summary>
|
||||
define(['require'], function (require) {
|
||||
'use strict';
|
||||
|
||||
/// <summary> Process the command. </summary>
|
||||
/// <param name="commandPath"> Full pathname of the command file. </param>
|
||||
|
@ -31,30 +32,22 @@ define(['require'], function (require) {
|
|||
|
||||
case 'show':
|
||||
return processCommand('./commands/showcommands.js', result);
|
||||
break;
|
||||
case 'play':
|
||||
return processCommand('./commands/playcommands.js', result);
|
||||
break;
|
||||
case 'shuffle':
|
||||
return processCommand('./commands/playcommands.js', result);
|
||||
break;
|
||||
case 'search':
|
||||
return processCommand('./commands/searchcommands.js', result);
|
||||
break;
|
||||
case 'control':
|
||||
return processCommand('./commands/controlcommands.js', result);
|
||||
break;
|
||||
case 'enable':
|
||||
return processCommand('./commands/enablecommands.js', result);
|
||||
break;
|
||||
case 'disable':
|
||||
return processCommand('./commands/disablecommands.js', result);
|
||||
break;
|
||||
case 'toggle':
|
||||
return processCommand('./commands/togglecommands.js', result);
|
||||
break;
|
||||
default:
|
||||
return Promise.reject();
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue