controllo validità canali in videoteca spostato in findvideos, eliminazione da tutta la videoteca invece che dal singolo film/serie
This commit is contained in:
@@ -48,18 +48,12 @@ def dialog_notification(heading, message, icon=3, time=5000, sound=True):
|
||||
|
||||
|
||||
def dialog_yesno(heading, message, nolabel=config.get_localized_string(70170), yeslabel=config.get_localized_string(30022), autoclose=0, customlabel=None):
|
||||
# customlabel only on kodi 19
|
||||
dialog = xbmcgui.Dialog()
|
||||
if PY3:
|
||||
if autoclose:
|
||||
return dialog.yesno(heading, message, nolabel=nolabel, yeslabel=yeslabel, customlabel=customlabel, autoclose=autoclose)
|
||||
else:
|
||||
return dialog.yesno(heading, message, nolabel=nolabel, yeslabel=yeslabel, customlabel=customlabel)
|
||||
# customlabel only work on kodi 19
|
||||
if PY3 and customlabel:
|
||||
return dialog.yesno(heading, message, customlabel, nolabel=nolabel, yeslabel=yeslabel, autoclose=autoclose)
|
||||
else:
|
||||
if autoclose:
|
||||
return dialog.yesno(heading, message, nolabel=nolabel, yeslabel=yeslabel, autoclose=autoclose)
|
||||
else:
|
||||
return dialog.yesno(heading, message, nolabel=nolabel, yeslabel=yeslabel)
|
||||
return dialog.yesno(heading, message, nolabel=nolabel, yeslabel=yeslabel, autoclose=autoclose)
|
||||
|
||||
|
||||
def dialog_select(heading, _list, preselect=0, useDetails=False):
|
||||
|
||||
Reference in New Issue
Block a user