修复audiourl定义错位

This commit is contained in:
nnwang
2026-02-22 05:23:30 +08:00
parent 50a74935f1
commit e8aba71e70

View File

@@ -106,12 +106,11 @@ while true do
end
total_logs_printed = total_logs_printed + #task_info.new_logs
end
if task_info.result.audio_urls and speakerrun then
local main_audio_url = server_url .. task_info.result.audio_urls.audio_dfpwm_url
local left_audio_url = server_url .. task_info.result.audio_urls.audio_dfpwm_left_url
local right_audio_url = server_url .. task_info.result.audio_urls.audio_dfpwm_right_url
if task_info.result.audio_urls and speakerrun then
speakerrun = false
local new_tab_id = shell.openTab(mypath.."/speakerlib","play",main_audio_url,left_audio_url,right_audio_url)
local tab_id = multishell.getCurrent()