Possibiltà di disattivare la ricerca informazioni da TMDB per la sezione novità

This commit is contained in:
Alhaziel01
2022-07-04 17:02:44 +02:00
parent 95ff7ddeea
commit 44808ac042
4 changed files with 60 additions and 44 deletions
@@ -6139,6 +6139,10 @@ msgctxt "#70834"
msgid "Playlist" msgid "Playlist"
msgstr "" msgstr ""
msgctxt "#70835"
msgid "Search information from TMDB..."
msgstr ""
# DNS start [ settings and declaration ] # DNS start [ settings and declaration ]
msgctxt "#707401" msgctxt "#707401"
msgid "Enable DNS check alert" msgid "Enable DNS check alert"
@@ -6140,6 +6140,10 @@ msgctxt "#70834"
msgid "Playlist" msgid "Playlist"
msgstr "Playlist" msgstr "Playlist"
msgctxt "#70835"
msgid "Search information from TMDB..."
msgstr "Ricerca informazioni da TMDB..."
# DNS start [ settings and declaration ] # DNS start [ settings and declaration ]
msgctxt "#707401" msgctxt "#707401"
msgid "Enable DNS check alert" msgid "Enable DNS check alert"
+9 -2
View File
@@ -6,8 +6,7 @@
"categories": [ "categories": [
"movie" "movie"
], ],
"settings": [ "settings": [{
{
"id": "multithread", "id": "multithread",
"type": "bool", "type": "bool",
"label": "@60656", "label": "@60656",
@@ -39,6 +38,14 @@
"Default", "Default",
"Alfabetico" "Alfabetico"
] ]
},
{
"id": "tmdb",
"type": "bool",
"label": "Cerca informazioni su TMDB",
"default": true,
"enabled": true,
"visible": true
} }
] ]
} }
+2 -1
View File
@@ -319,7 +319,8 @@ def novedades(item):
result_mode = config.get_setting("result_mode", "news") result_mode = config.get_setting("result_mode", "news")
if mode != 'normal': if mode != 'normal':
result_mode=0 result_mode=0
if config.get_setting("tmdb", "news"):
progreso.update(100, config.get_localized_string(70835))
tmdb.set_infoLabels_itemlist(list_newest, seekTmdb=True) tmdb.set_infoLabels_itemlist(list_newest, seekTmdb=True)
if result_mode == 0: # Grouped by content if result_mode == 0: # Grouped by content