Rimosso ReloadSkin da update + Cancellazione sì/no contenuti locali + Nuovo metodo get_local_content

This commit is contained in:
axlt2002
2020-04-19 02:18:20 +02:00
parent 275134d134
commit e6de770389
5 changed files with 49 additions and 26 deletions
+7
View File
@@ -1026,6 +1026,13 @@ def delete(item):
raiz, carpeta_serie, ficheros = next(filetools.walk(_item.path))
if ficheros == []:
filetools.rmdir(_item.path)
else:
if _item.contentType == 'movie':
heading = config.get_localized_string(70084)
else:
heading = config.get_localized_string(70085)
if platformtools.dialog_yesno(heading, config.get_localized_string(70081)):
filetools.rmdirtree(_item.path)
if config.is_xbmc() and config.get_setting("videolibrary_kodi"):
from platformcode import xbmc_videolibrary