Various fixes to support new AIO version

This commit is contained in:
Evgeny
2023-09-11 11:36:09 +04:00
parent 5ad5be396f
commit de23ba41de
5 changed files with 24 additions and 13 deletions

View File

@@ -28,6 +28,15 @@ local buttons_cmds = { prev_cmd, backward_cmd, play_cmd, stop_cmd, forward_cmd,
local url = nil
local curr_idx = nil
function on_preview()
if next(settings:get()) == nil then
ui:show_text("Remote control for Kodi multimedia player")
return
else
on_resume()
end
end
function on_resume()
if next(settings:get()) == nil then
ui:show_text("Tap to enter Kodi address")