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

View File

@@ -6139,6 +6139,10 @@ msgctxt "#70834"
msgid "Playlist"
msgstr ""
msgctxt "#70835"
msgid "Search information from TMDB..."
msgstr ""
# DNS start [ settings and declaration ]
msgctxt "#707401"
msgid "Enable DNS check alert"

View File

@@ -6140,6 +6140,10 @@ msgctxt "#70834"
msgid "Playlist"
msgstr "Playlist"
msgctxt "#70835"
msgid "Search information from TMDB..."
msgstr "Ricerca informazioni da TMDB..."
# DNS start [ settings and declaration ]
msgctxt "#707401"
msgid "Enable DNS check alert"

View File

@@ -6,8 +6,7 @@
"categories": [
"movie"
],
"settings": [
{
"settings": [{
"id": "multithread",
"type": "bool",
"label": "@60656",
@@ -39,6 +38,14 @@
"Default",
"Alfabetico"
]
},
{
"id": "tmdb",
"type": "bool",
"label": "Cerca informazioni su TMDB",
"default": true,
"enabled": true,
"visible": true
}
]
}

View File

@@ -319,7 +319,8 @@ def novedades(item):
result_mode = config.get_setting("result_mode", "news")
if mode != 'normal':
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)
if result_mode == 0: # Grouped by content