dev: bump to 0.1.72-dev – Autoplay-Setting, Moflix Hoster-Dialog, Update-Hinweis im Hauptmenue
This commit is contained in:
@@ -701,18 +701,11 @@ def show_version_selector() -> None:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
dialog = xbmcgui.Dialog()
|
||||
try:
|
||||
confirmed = dialog.yesno(
|
||||
"Version installieren",
|
||||
f"Installiert: {installed}",
|
||||
f"Ausgewaehlt: {version}",
|
||||
yeslabel="Installieren",
|
||||
nolabel="Abbrechen",
|
||||
)
|
||||
except TypeError:
|
||||
confirmed = dialog.yesno("Version installieren", f"Installiert: {installed}", f"Ausgewaehlt: {version}")
|
||||
if not confirmed:
|
||||
action = xbmcgui.Dialog().select(
|
||||
f"Version {version} installieren?",
|
||||
["Update installieren", "Abbrechen"],
|
||||
)
|
||||
if action != 0:
|
||||
return
|
||||
|
||||
show_notification("Updates", f"Installation gestartet: {version}", milliseconds=2500)
|
||||
|
||||
Reference in New Issue
Block a user