修复audiourl定义错位
This commit is contained in:
3
play.lua
3
play.lua
@@ -106,12 +106,11 @@ while true do
|
|||||||
end
|
end
|
||||||
total_logs_printed = total_logs_printed + #task_info.new_logs
|
total_logs_printed = total_logs_printed + #task_info.new_logs
|
||||||
end
|
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 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 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
|
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
|
speakerrun = false
|
||||||
local new_tab_id = shell.openTab(mypath.."/speakerlib","play",main_audio_url,left_audio_url,right_audio_url)
|
local new_tab_id = shell.openTab(mypath.."/speakerlib","play",main_audio_url,left_audio_url,right_audio_url)
|
||||||
local tab_id = multishell.getCurrent()
|
local tab_id = multishell.getCurrent()
|
||||||
|
|||||||
Reference in New Issue
Block a user