mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-01-23 16:36:12 +00:00
Merge pull request #231 from TrueTechy/remove-webservice
Removed web server for image caching
This commit is contained in:
commit
d7364afbf5
22 changed files with 1 additions and 400 deletions
|
@ -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],))
|
|
@ -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))
|
||||
|
|
|
@ -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)"
|
||||
|
|
|
@ -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,"
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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,"
|
||||
|
|
|
@ -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?"
|
||||
|
|
|
@ -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,"
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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,"
|
||||
|
|
|
@ -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,"
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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 需要重置以应用更改,是否要立即执行此操作?"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
<setting label="30515" id="limitIndex" type="slider" default="15" range="1, 1, 100" option="int" />
|
||||
<setting label="33174" id="limitThreads" type="slider" default="3" range="1, 1, 50" option="int" />
|
||||
<setting label="33176" type="lsep" />
|
||||
<setting label="30512" id="enableTextureCache" type="bool" default="true" />
|
||||
<setting label="30157" id="enableCoverArt" type="bool" default="true" />
|
||||
<setting label="33116" id="compressArt" type="bool" default="false" />
|
||||
<setting id="enableMusic" visible="false" default="false" />
|
||||
|
|
Loading…
Reference in a new issue