Aggiunta opzione per aggiornare la Videoteca ad ogni avvio di Kodi
This commit is contained in:
@@ -122,7 +122,10 @@ def check_for_update(overwrite=True):
|
||||
estado_verify_playcount_series = False
|
||||
|
||||
try:
|
||||
if overwrite or (config.get_setting("update", "videolibrary") != 0 and hoy.strftime('%Y-%m-%d') != config.get_setting('updatelibrary_last_check', 'videolibrary')):
|
||||
if overwrite or \
|
||||
config.get_setting("update", "videolibrary") == 4 or \
|
||||
(config.get_setting("update", "videolibrary") != 0 and hoy.strftime('%Y-%m-%d') != config.get_setting('updatelibrary_last_check', 'videolibrary')):
|
||||
|
||||
config.set_setting("updatelibrary_last_check", hoy.strftime('%Y-%m-%d'), "videolibrary")
|
||||
|
||||
heading = config.get_localized_string(60601)
|
||||
|
||||
Reference in New Issue
Block a user