Possibile fix alla inutile ri-richiesta di configurazione videoteca
This commit is contained in:
@@ -147,9 +147,9 @@ def get_all_settings_addon():
|
||||
data = infile.read().decode('utf-8')
|
||||
|
||||
ret = {}
|
||||
matches = scrapertools.find_multiple_matches(data, '<setting id=\"([^\"]+)\"[^>]*>([^<]*)</setting>')
|
||||
matches = scrapertools.find_multiple_matches(data, '<setting id=\"([^\"]+)\"[^>]*>')
|
||||
|
||||
for _id, value in matches:
|
||||
for _id in matches:
|
||||
ret[_id] = get_setting(_id)
|
||||
|
||||
return ret
|
||||
|
||||
+1
-1
@@ -402,7 +402,7 @@ class AddonMonitor(xbmc.Monitor):
|
||||
config.set_setting('elementum_on_seed', False)
|
||||
if self.settings_pre.get("shortcut_key", '') != settings_post.get("shortcut_key", ''):
|
||||
xbmc.executebuiltin('Action(reloadkeymaps)')
|
||||
self.settings_pre = settings_post
|
||||
self.settings_pre.update(settings_post)
|
||||
|
||||
def onNotification(self, sender, method, data):
|
||||
if method == 'VideoLibrary.OnUpdate':
|
||||
|
||||
Reference in New Issue
Block a user