mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
voice fixes
This commit is contained in:
parent
0ccf565956
commit
9a4a0e78a9
11 changed files with 231 additions and 175 deletions
|
@ -247,10 +247,15 @@ define(['dialogHelper', './voicereceiver', './voiceprocessor', 'globalize', 'emb
|
|||
listen();
|
||||
}
|
||||
function listen() {
|
||||
voicereceiver.listenForCommand(lang || "en-US").then(processInput).then(function (data) {
|
||||
voicereceiver.listenForCommand(lang || "en-US").then(processInput).then(function (result) {
|
||||
|
||||
closeDialog();
|
||||
|
||||
// Put a delay here in case navigation/popstate is involved. Allow that to flush out
|
||||
setTimeout(function () {
|
||||
result.fn();
|
||||
}, 1);
|
||||
|
||||
}, function (result) {
|
||||
if (result.error == 'group') {
|
||||
showVoiceHelp(result.item.groupid, result.groupName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue