diff --git a/jellyfin_kodi/objects/kodi/artwork.py b/jellyfin_kodi/objects/kodi/artwork.py index b9fc4f93..a1e2bdd3 100644 --- a/jellyfin_kodi/objects/kodi/artwork.py +++ b/jellyfin_kodi/objects/kodi/artwork.py @@ -28,49 +28,27 @@ class Artwork(object): def __init__(self, cursor): self.cursor = cursor - self.enable_cache = settings('enableTextureCache.bool') - self.queue = Queue.Queue() - self.threads = [] - self.kodi = { - 'username': settings('webServerUser'), - 'password': settings('webServerPass'), - 'host': "localhost", - 'port': settings('webServerPort') - } def update(self, image_url, kodi_id, media, image): ''' Update artwork in the video database. - Only cache artwork if it changed for the main backdrop, poster. Delete current entry before updating with the new one. - Cache fanart and poster in Kodi texture cache. ''' if not image_url or image == 'poster' and media in ('song', 'artist', 'album'): return - cache = False - try: self.cursor.execute(QU.get_art, (kodi_id, media, image,)) url = self.cursor.fetchone()[0] except TypeError: - cache = True LOG.debug("ADD to kodi_id %s art: %s", kodi_id, image_url) self.cursor.execute(QU.add_art, (kodi_id, media, image, image_url)) else: if url != image_url: - cache = True - - if image in ('fanart', 'poster'): - self.delete_cache(url) - LOG.info("UPDATE to kodi_id %s art: %s", kodi_id, image_url) self.cursor.execute(QU.update_art, (image_url, kodi_id, media, image)) - if cache and image in ('fanart', 'poster'): - self.cache(image_url) - def add(self, artwork, *args): ''' Add all artworks. @@ -105,114 +83,4 @@ class Artwork(object): self.update(*(artwork['Primary'],) + args + (kodi_image,)) elif artwork.get(art): - self.update(*(artwork[art],) + args + (KODI[art],)) - - def delete(self, *args): - - ''' Delete artwork from kodi database and remove cache for backdrop/posters. - ''' - self.cursor.execute(QU.get_art_url, args) - - for row in self.cursor.fetchall(): - if row[1] in ('poster', 'fanart'): - self.delete_cache(row[0]) - - def cache(self, url): - - ''' Cache a single image to texture cache. - ''' - if not url or not self.enable_cache: - return - - url = self.double_urlencode(url) - self.queue.put(url) - self.add_worker() - - def double_urlencode(self, text): - - text = self.single_urlencode(text) - text = self.single_urlencode(text) - - return text - - def single_urlencode(self, text): - - ''' urlencode needs a utf-string. - return the result as unicode - ''' - text = urlencode({'blahblahblah': text}) - text = text[13:] - - return text - - def add_worker(self): - - self.threads = [thread for thread in self.threads if not thread.is_done] - - if self.queue.qsize() and len(self.threads) < 2: - - new_thread = GetArtworkWorker(self.kodi, self.queue) - new_thread.start() - LOG.info("-->[ q:artwork/%s ]", id(new_thread)) - self.threads.append(new_thread) - - def delete_cache(self, url): - - ''' Delete cached artwork. - ''' - from database import Database - - with Database('texture') as texturedb: - try: - texturedb.cursor.execute(QUTEX.get_cache, (url,)) - cached = texturedb.cursor.fetchone()[0] - except TypeError: - LOG.debug("Could not find cached url: %s", url) - else: - thumbnails = xbmc.translatePath("special://thumbnails/%s" % cached) - xbmcvfs.delete(thumbnails) - texturedb.cursor.execute(QUTEX.delete_cache, (url,)) - LOG.info("DELETE cached %s", cached) - - -class GetArtworkWorker(threading.Thread): - - is_done = False - - def __init__(self, kodi, queue): - - self.kodi = kodi - self.queue = queue - threading.Thread.__init__(self) - - def run(self): - - ''' Prepare the request. Request removes the urlencode which is required in this case. - Use a session allows to use a pool of connections. - ''' - with requests.Session() as s: - while True: - try: - url = self.queue.get(timeout=2) - except Queue.Empty: - - self.is_done = True - LOG.info("--<[ q:artwork/%s ]", id(self)) - - return - - try: - req = requests.Request(method='HEAD', - url="http://%s:%s/image/image://%s" % (self.kodi['host'], self.kodi['port'], url), - auth=(self.kodi['username'], self.kodi['password'])) - prep = req.prepare() - prep.url = "http://%s:%s/image/image://%s" % (self.kodi['host'], self.kodi['port'], url) - s.send(prep, timeout=(0.01, 0.01)) - s.content # release the connection - except Exception as error: - LOG.exception(error) - - self.queue.task_done() - - if xbmc.Monitor().abortRequested(): - break + self.update(*(artwork[art],) + args + (KODI[art],)) \ No newline at end of file diff --git a/jellyfin_kodi/setup.py b/jellyfin_kodi/setup.py index 3305c485..6381fce1 100644 --- a/jellyfin_kodi/setup.py +++ b/jellyfin_kodi/setup.py @@ -18,50 +18,10 @@ class Setup(object): def __init__(self): - self.set_web_server() self.setup() LOG.info("---<[ setup ]") - def set_web_server(self): - - ''' Enable the webserver if not enabled. This is used to cache artwork. - Will only test once, if it fails, user will be notified only once. - ''' - if settings('enableTextureCache.bool'): - - get_setting = JSONRPC('Settings.GetSettingValue') - - if not self.get_web_server(): - - set_setting = JSONRPC('Settings.SetSetingValue') - set_setting.execute({'setting': "services.webserverport", 'value': 8080}) - set_setting.execute({'setting': "services.webserver", 'value': True}) - - if not self.get_web_server(): - - settings('enableTextureCache.bool', False) - dialog("ok", heading="{jellyfin}", line1=translate(33103)) - - return - - result = get_setting.execute({'setting': "services.webserverport"}) - settings('webServerPort', str(result['result']['value'] or "")) - result = get_setting.execute({'setting': "services.webserverusername"}) - settings('webServerUser', str(result['result']['value'] or "")) - result = get_setting.execute({'setting': "services.webserverpassword"}) - settings('webServerPass', str(result['result']['value'] or "")) - settings('useWebServer.bool', True) - - def get_web_server(self): - - result = JSONRPC('Settings.GetSettingValue').execute({'setting': "services.webserver"}) - - try: - return result['result']['value'] - except (KeyError, TypeError): - return False - def setup(self): minimum = "3.0.24" @@ -74,8 +34,6 @@ class Setup(object): self._is_mode() LOG.info("Add-on playback: %s", settings('useDirectPaths') == "0") - self._is_artwork_caching() - LOG.info("Artwork caching: %s", settings('enableTextureCache.bool')) # Setup completed settings('MinimumSetup', minimum) @@ -95,11 +53,6 @@ class Setup(object): if value: dialog("ok", heading="{jellyfin}", line1=translate(33145)) - def _is_artwork_caching(self): - - value = dialog("yesno", heading="{jellyfin}", line1=translate(33117)) - settings('enableTextureCache.bool', value) - def _is_music(self): value = dialog("yesno", heading="{jellyfin}", line1=translate(33039)) diff --git a/resources/language/resource.language.cs/strings.po b/resources/language/resource.language.cs/strings.po index 0b10e8e6..844aab94 100644 --- a/resources/language/resource.language.cs/strings.po +++ b/resources/language/resource.language.cs/strings.po @@ -496,12 +496,6 @@ msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "Více info naleznete na GitHub wiki/Create-and-restore-from-backup." -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Pro ukládání obrázků do mezipaměti povolte v nastavení Kodi službu webového " -"serveru." - msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Pokračovat v předcházející synchronizaci?" @@ -702,12 +696,6 @@ msgstr "" "Změnili jste režim přehrávání. Aby bylo možné tuto změnu použít, je třeba " "resetovat Kodi. Chcete to udělat nyní?" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Povolit ukládání obrázků do mezipaměti? Pokud ne, Kodi bude stále " -"vykreslovat vaše obrázky pomalejším tempem." - msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Komprimovat obrázky (sníží kvalitu)" diff --git a/resources/language/resource.language.de_de/strings.po b/resources/language/resource.language.de_de/strings.po index f2790ca4..ffa89697 100644 --- a/resources/language/resource.language.de_de/strings.po +++ b/resources/language/resource.language.de_de/strings.po @@ -588,13 +588,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Vorherige Synchronisierung fortsetzen?" -msgctxt "#33103" -msgid "" -"Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Aktiviere den Webserver in den Kodi Einstellungen um den Artwork Cache zu " -"erlauben." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -655,14 +648,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Artwork komprimieren (verringert Qualität)" -msgctxt "#33117" -msgid "" -"Enable artwork caching? If not, Kodi will still cache your artwork at a " -"slower pace." -msgstr "" -"Artwork Cache aktivieren? Wenn deaktiviert, erstellt Kodi trotzdem einen " -"Artwork Cache mit niedrigerer Geschwindigkeit." - msgctxt "#33118" msgid "" "You've change the playback mode. Kodi needs to be reset to apply the change," diff --git a/resources/language/resource.language.en_US/strings.po b/resources/language/resource.language.en_US/strings.po index df85e4bc..4f8b1e19 100644 --- a/resources/language/resource.language.en_US/strings.po +++ b/resources/language/resource.language.en_US/strings.po @@ -567,11 +567,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Resume the previous sync?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Enable the webserver service in the Kodi settings to allow artwork caching." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "Find more info in the Github wiki/Create-and-restore-from-backup." @@ -625,12 +620,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Compress artwork (reduces quality)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Enable artwork caching? If not, Kodi will still cache your artwork at a " -"slower pace." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 36a1e17d..c726a212 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -567,11 +567,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Resume the previous sync?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Enable the webserver service in the Kodi settings to allow artwork caching." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "Find more info in the GitHub wiki/Create-and-restore-from-backup." @@ -625,12 +620,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Compress artwork (reduces quality)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Enable artwork caching? If not, Kodi will still cache your artwork at a " -"slower pace." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.es/strings.po b/resources/language/resource.language.es/strings.po index 207c6373..dcfe0de5 100644 --- a/resources/language/resource.language.es/strings.po +++ b/resources/language/resource.language.es/strings.po @@ -571,12 +571,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "¿Reanudar la sincronización anterior?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Activar el servicio de servidor web en la configuración de Kodi para " -"permitir el caché de imágenes." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -637,12 +631,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Comprimir imágenes (reduce la calidad)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"¿Activar la caché de imágenes? De lo contrario, Kodi seguirá almacenando en " -"caché las imágenes a un ritmo más lento." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.fr_fr/strings.po b/resources/language/resource.language.fr_fr/strings.po index 2fcf88ff..205b4ee1 100644 --- a/resources/language/resource.language.fr_fr/strings.po +++ b/resources/language/resource.language.fr_fr/strings.po @@ -590,13 +590,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Reprendre la synchronisation précédente ?" -msgctxt "#33103" -msgid "" -"Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Activer le serveur Web dans les paramètres Kodi pour permettre la mise en " -"cache des illustrations." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -658,14 +651,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Compresser les illustrations (réduit la qualité)" -msgctxt "#33117" -msgid "" -"Enable artwork caching? If not, Kodi will still cache your artwork at a " -"slower pace." -msgstr "" -"Activer la mise en cache des illustrations ? Sinon, Kodi mettra en cache, " -"mais plus lentement." - msgctxt "#33118" msgid "" "You've change the playback mode. Kodi needs to be reset to apply the change," diff --git a/resources/language/resource.language.hu/strings.po b/resources/language/resource.language.hu/strings.po index cbb245d6..326edac6 100644 --- a/resources/language/resource.language.hu/strings.po +++ b/resources/language/resource.language.hu/strings.po @@ -116,12 +116,6 @@ msgstr "" "Megváltoztattad a lejátszási módot. A Kodit alaphelyzetbe kell állítani a " "változás alkalmazásához. Szeretnéd ezt most megtenni?" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Grafika gyorsítótárazás engedélyezése? Ha nem, a Kodi akkor is " -"gyorsítótárazni fog, csak lassabban." - msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Grafikák tömörítése (csökkenti a minőséget)" @@ -181,12 +175,6 @@ msgstr "" "További információkat találsz a GitHub wikin (wiki/Create-and-restore-from-" "backup)." -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Engedélyezd a webszerver szolgáltatást a Kodi beállításokban, hogy " -"engedélyezd a grafika gyorsítótárazását." - msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Előző szinkronizálási folyamat folytatása?" diff --git a/resources/language/resource.language.it_it/strings.po b/resources/language/resource.language.it_it/strings.po index cfdf85fd..adc082d0 100644 --- a/resources/language/resource.language.it_it/strings.po +++ b/resources/language/resource.language.it_it/strings.po @@ -587,13 +587,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Riprendi la sincronizzazione precedente?" -msgctxt "#33103" -msgid "" -"Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Abilita il webserver nelle impostazioni di Kodi per consentire la " -"memorizzazione nella cache delle illustrazioni." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "Trova maggiori info su GitHub wiki/Create-and-restore-from-backup." @@ -653,14 +646,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Comprimi artwork (riduce qualità)" -msgctxt "#33117" -msgid "" -"Enable artwork caching? If not, Kodi will still cache your artwork at a " -"slower pace." -msgstr "" -"Abilitare il caching delle artwork? In caso contrario, Kodi memorizzerà " -"ancora le tue artwork a un ritmo più lento." - msgctxt "#33118" msgid "" "You've change the playback mode. Kodi needs to be reset to apply the change," diff --git a/resources/language/resource.language.ja/strings.po b/resources/language/resource.language.ja/strings.po index 2dd430af..2fe346ce 100644 --- a/resources/language/resource.language.ja/strings.po +++ b/resources/language/resource.language.ja/strings.po @@ -561,10 +561,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "前回の同期を再開しますか?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -617,10 +613,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.kk/strings.po b/resources/language/resource.language.kk/strings.po index b3bcb2a6..4c08f9c6 100644 --- a/resources/language/resource.language.kk/strings.po +++ b/resources/language/resource.language.kk/strings.po @@ -550,10 +550,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -606,10 +602,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.ko/strings.po b/resources/language/resource.language.ko/strings.po index 3a706864..5061d445 100644 --- a/resources/language/resource.language.ko/strings.po +++ b/resources/language/resource.language.ko/strings.po @@ -564,10 +564,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "이전 동기화를 재개하시겠습니까?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "아트워크 캐싱을 위해 Kodi설정의 웹서버 서비스 활성화" - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "github wiki/Create-and-restore-from-backup에서 더 많은 정보를 확인할 수 있습니다." @@ -620,10 +616,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "아트워크 압축 (품질 저하)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "아트워크 캐싱을 활성화하시겠습니까? 비활성화 시, Kodi는 느린 속도로 아트워크를 캐싱 할 것입니다." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.nb_NO/strings.po b/resources/language/resource.language.nb_NO/strings.po index 38362672..871b5465 100644 --- a/resources/language/resource.language.nb_NO/strings.po +++ b/resources/language/resource.language.nb_NO/strings.po @@ -569,12 +569,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Gjenoppta forrige synkronisering?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Tillat fjernkontroll via HTTP i innstillingene for Kodi for å tillate " -"mellomlagring av omslagsbilder." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "Finn mer informasjon i GitHub-wikien/Create-and-restore-from-backup." @@ -631,12 +625,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Komprimer omslagsbilder (reduserer kvaliteten)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Aktiver mellomlagring av omslagsbilder? Hvis ikke vil Kodi fortsatt " -"mellomlagre omslagsbilder saktere." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.nl_nl/strings.po b/resources/language/resource.language.nl_nl/strings.po index 924d09e0..bd4a8f25 100644 --- a/resources/language/resource.language.nl_nl/strings.po +++ b/resources/language/resource.language.nl_nl/strings.po @@ -590,13 +590,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "De vorige synchronisatoe hervatten?" -msgctxt "#33103" -msgid "" -"Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Schakel de webserver service in in de Kodi instellingen om artwork caching " -"toe te staan." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -656,13 +649,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Artwork comprimeren (vermindert kwaliteit)" -msgctxt "#33117" -msgid "" -"Enable artwork caching? If not, Kodi will still cache your artwork at a " -"slower pace." -msgstr "" -"Artwork caching inschakelen? Uitgeschakeld cached Kodi uw artwork langzamer." - msgctxt "#33118" msgid "" "You've change the playback mode. Kodi needs to be reset to apply the change," diff --git a/resources/language/resource.language.pl_pl/strings.po b/resources/language/resource.language.pl_pl/strings.po index 229939cf..37e23218 100644 --- a/resources/language/resource.language.pl_pl/strings.po +++ b/resources/language/resource.language.pl_pl/strings.po @@ -589,12 +589,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Wznowić poprzednią synchronizację?" -msgctxt "#33103" -msgid "" -"Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Włącz usługę serwera w ustawieniach Kodi by pozwolić na pobieranie grafik." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "Dowiedz się więcej na github: wiki/Create-and-restore-from-backup" @@ -651,14 +645,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Kompresuj grafiki (zmniejsza jakość)" -msgctxt "#33117" -msgid "" -"Enable artwork caching? If not, Kodi will still cache your artwork at a " -"slower pace." -msgstr "" -"Włączyć pobieranie grafiki? W innym przypadku Kodi będzie również je " -"pobierać, tylko wolniej." - msgctxt "#33118" msgid "" "You've change the playback mode. Kodi needs to be reset to apply the change," diff --git a/resources/language/resource.language.pt_BR/strings.po b/resources/language/resource.language.pt_BR/strings.po index 89f0d3d7..86fe83ac 100644 --- a/resources/language/resource.language.pt_BR/strings.po +++ b/resources/language/resource.language.pt_BR/strings.po @@ -573,12 +573,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Retomar a sincronização previa?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Habilitar o serviço webserver nas configurações Kodi para permitir o cache " -"de imagens." - #, fuzzy msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." @@ -639,12 +633,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Comprimir imagens (reduz a qualidade)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Habilitar o cache de imagens? Se não, Kodi ainda vai fazer o cache das suas " -"imagens em um ritmo mais lento." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.pt_PT/strings.po b/resources/language/resource.language.pt_PT/strings.po index f5bd6197..581c7f67 100644 --- a/resources/language/resource.language.pt_PT/strings.po +++ b/resources/language/resource.language.pt_PT/strings.po @@ -553,10 +553,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -609,10 +605,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.ru/strings.po b/resources/language/resource.language.ru/strings.po index 9b9983ab..a7a0d2e3 100644 --- a/resources/language/resource.language.ru/strings.po +++ b/resources/language/resource.language.ru/strings.po @@ -567,12 +567,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Возобновить предыдущую синхронизацию?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Включите службу веб-сервера в параметрах Kodi, чтобы разрешить кэширование " -"иллюстраций." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -632,12 +626,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Сжать иллюстрации (качество снижается)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Включить кэширование иллюстраций? Если нет, Kodi все еще будет кэшировать " -"ваши иллюстрации в более низком темпе." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.sk/strings.po b/resources/language/resource.language.sk/strings.po index dee6828b..2af9abb3 100644 --- a/resources/language/resource.language.sk/strings.po +++ b/resources/language/resource.language.sk/strings.po @@ -570,12 +570,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "Pokračovať v predchádzajúcej synchronizácii?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "" -"Povoľte službu webového servera v nastaveniach Kodi, aby ste povolili " -"ukladanie obrázkov do vyrovnávacej pamäte." - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "" @@ -632,12 +626,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "Komprimovať artworky (redukuje kvalitu)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "" -"Povoliť cachovanie artworkov? Pokial nie, Kodi bude síce stále cachovat vaše " -"artworky, ale oveľa pomalšie." - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "" diff --git a/resources/language/resource.language.zh_Hans/strings.po b/resources/language/resource.language.zh_Hans/strings.po index 992c3f6d..05c144d3 100644 --- a/resources/language/resource.language.zh_Hans/strings.po +++ b/resources/language/resource.language.zh_Hans/strings.po @@ -553,10 +553,6 @@ msgctxt "#33102" msgid "Resume the previous sync?" msgstr "是否继续上一次同步?" -msgctxt "#33103" -msgid "Enable the webserver service in the Kodi settings to allow artwork caching." -msgstr "在 Kodi 设置中启用 Web 服务器服务以允许图稿缓存。" - msgctxt "#33104" msgid "Find more info in the github wiki/Create-and-restore-from-backup." msgstr "在 github wiki/创建和从备份恢复中查找更多信息。" @@ -609,10 +605,6 @@ msgctxt "#33116" msgid "Compress artwork (reduces quality)" msgstr "压缩图稿(降低质量)" -msgctxt "#33117" -msgid "Enable artwork caching? If not, Kodi will still cache your artwork at a slower pace." -msgstr "启用图稿缓存?如果不是,Kodi 仍将以较慢的速度缓存您的图稿。" - msgctxt "#33118" msgid "You've change the playback mode. Kodi needs to be reset to apply the change, would you like to do this now?" msgstr "您已更改播放模式。Kodi 需要重置以应用更改,是否要立即执行此操作?" diff --git a/resources/settings.xml b/resources/settings.xml index 661da59b..65a9f3f1 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -28,7 +28,6 @@ -