Traduzioni Videolibrary
This commit is contained in:
@@ -217,6 +217,14 @@ msgctxt "#30131"
|
|||||||
msgid "Videolibrary"
|
msgid "Videolibrary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#30132"
|
||||||
|
msgid "It seems that the Channel %s no longer exists."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#30133"
|
||||||
|
msgid "Do you want to remove links from this channel?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#30135"
|
msgctxt "#30135"
|
||||||
msgid "added to the videolibrary"
|
msgid "added to the videolibrary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
@@ -217,6 +217,14 @@ msgctxt "#30131"
|
|||||||
msgid "Videolibrary"
|
msgid "Videolibrary"
|
||||||
msgstr "Videoteca"
|
msgstr "Videoteca"
|
||||||
|
|
||||||
|
msgctxt "#30132"
|
||||||
|
msgid "It seems that the Channel %s no longer exists."
|
||||||
|
msgstr "Sembra che il canale %s non esista più."
|
||||||
|
|
||||||
|
msgctxt "#30133"
|
||||||
|
msgid "Do you want to remove links from this channel?"
|
||||||
|
msgstr "Vuoi rimuovere i collegamenti da questo canale?"
|
||||||
|
|
||||||
msgctxt "#30135"
|
msgctxt "#30135"
|
||||||
msgid "added to the videolibrary"
|
msgid "added to the videolibrary"
|
||||||
msgstr "aggiunto alla libreria"
|
msgstr "aggiunto alla libreria"
|
||||||
|
|||||||
+13
-13
@@ -68,7 +68,7 @@ def list_movies(item, silent=False):
|
|||||||
canal = generictools.verify_channel(canal_org)
|
canal = generictools.verify_channel(canal_org)
|
||||||
try:
|
try:
|
||||||
channel_verify = __import__('channels.%s' % canal, fromlist=["channels.%s" % canal])
|
channel_verify = __import__('channels.%s' % canal, fromlist=["channels.%s" % canal])
|
||||||
logger.debug('El canal %s parece correcto' % channel_verify)
|
logger.debug('Channel %s seems correct' % channel_verify)
|
||||||
except:
|
except:
|
||||||
dead_item = Item(multicanal=multicanal,
|
dead_item = Item(multicanal=multicanal,
|
||||||
contentType='movie',
|
contentType='movie',
|
||||||
@@ -78,9 +78,9 @@ def list_movies(item, silent=False):
|
|||||||
library_urls=new_item.library_urls,
|
library_urls=new_item.library_urls,
|
||||||
infoLabels={'title': new_item.contentTitle})
|
infoLabels={'title': new_item.contentTitle})
|
||||||
if canal not in dead_list and canal not in zombie_list:
|
if canal not in dead_list and canal not in zombie_list:
|
||||||
confirm = platformtools.dialog_yesno('Videoteca',
|
confirm = platformtools.dialog_yesno(config.get_localized_string(30131),
|
||||||
'Parece que el canal [COLOR red]%s[/COLOR] ya no existe.' % canal.upper(),
|
config.get_localized_string(30132) % canal.upper(),
|
||||||
'Deseas eliminar los enlaces de este canal?')
|
config.get_localized_string(30133))
|
||||||
|
|
||||||
elif canal in zombie_list:
|
elif canal in zombie_list:
|
||||||
confirm = False
|
confirm = False
|
||||||
@@ -198,9 +198,9 @@ def list_tvshows(item):
|
|||||||
library_urls=item_tvshow.library_urls,
|
library_urls=item_tvshow.library_urls,
|
||||||
infoLabels={'title': item_tvshow.contentTitle})
|
infoLabels={'title': item_tvshow.contentTitle})
|
||||||
if canal not in dead_list and canal not in zombie_list:
|
if canal not in dead_list and canal not in zombie_list:
|
||||||
confirm = platformtools.dialog_yesno('Videoteca',
|
confirm = platformtools.dialog_yesno(config.get_localized_string(30131),
|
||||||
'Parece que el canal [COLOR red]%s[/COLOR] ya no existe.' % canal.upper(),
|
config.get_localized_string(30132) % canal.upper(),
|
||||||
'Deseas eliminar los enlaces de este canal?')
|
config.get_localized_string(30133))
|
||||||
|
|
||||||
elif canal in zombie_list:
|
elif canal in zombie_list:
|
||||||
confirm = False
|
confirm = False
|
||||||
@@ -238,7 +238,7 @@ def list_tvshows(item):
|
|||||||
contador = 1
|
contador = 1
|
||||||
|
|
||||||
except:
|
except:
|
||||||
logger.error('No encuentra: ' + str(tvshow_path))
|
logger.error('Not find: ' + str(tvshow_path))
|
||||||
logger.error(traceback.format_exc())
|
logger.error(traceback.format_exc())
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@@ -435,7 +435,7 @@ def findvideos(item):
|
|||||||
autoplay.set_status(False)
|
autoplay.set_status(False)
|
||||||
|
|
||||||
if not item.contentTitle or not item.strm_path:
|
if not item.contentTitle or not item.strm_path:
|
||||||
logger.debug("No se pueden buscar videos por falta de parametros")
|
logger.debug("Unable to search for videos due to lack of parameters")
|
||||||
return []
|
return []
|
||||||
|
|
||||||
content_title = filter(lambda c: c not in ":*?<>|\/", item.contentTitle.strip().lower())
|
content_title = filter(lambda c: c not in ":*?<>|\/", item.contentTitle.strip().lower())
|
||||||
@@ -533,7 +533,7 @@ def findvideos(item):
|
|||||||
from core import servertools
|
from core import servertools
|
||||||
list_servers = servertools.find_video_items(item_json)
|
list_servers = servertools.find_video_items(item_json)
|
||||||
except Exception, ex:
|
except Exception, ex:
|
||||||
logger.error("Ha fallado la funcion findvideos para el canal %s" % nom_canal)
|
logger.error("The findvideos function for the channel %s failed" % nom_canal)
|
||||||
template = "An exception of type %s occured. Arguments:\n%r"
|
template = "An exception of type %s occured. Arguments:\n%r"
|
||||||
message = template % (type(ex).__name__, ex.args)
|
message = template % (type(ex).__name__, ex.args)
|
||||||
logger.error(message)
|
logger.error(message)
|
||||||
@@ -623,7 +623,7 @@ def update_videolibrary(item):
|
|||||||
break
|
break
|
||||||
|
|
||||||
if ficheros and not strm:
|
if ficheros and not strm:
|
||||||
logger.debug("Borrando carpeta de pelicula eliminada: %s" % raiz)
|
logger.debug("Deleting deleted movie folder: %s" % raiz)
|
||||||
filetools.rmdirtree(raiz)
|
filetools.rmdirtree(raiz)
|
||||||
|
|
||||||
|
|
||||||
@@ -668,7 +668,7 @@ def verify_playcount_series(item, path):
|
|||||||
nfo_path = filetools.join(path, "tvshow.nfo")
|
nfo_path = filetools.join(path, "tvshow.nfo")
|
||||||
head_nfo, it = videolibrarytools.read_nfo(nfo_path) #Obtenemos el .nfo de la Serie
|
head_nfo, it = videolibrarytools.read_nfo(nfo_path) #Obtenemos el .nfo de la Serie
|
||||||
if not hasattr(it, 'library_playcounts') or not it.library_playcounts: #Si el .nfo no tiene library_playcounts se lo creamos
|
if not hasattr(it, 'library_playcounts') or not it.library_playcounts: #Si el .nfo no tiene library_playcounts se lo creamos
|
||||||
logger.error('** No tiene PlayCount')
|
logger.error('** It does not have PlayCount')
|
||||||
it.library_playcounts = {}
|
it.library_playcounts = {}
|
||||||
|
|
||||||
# Obtenemos los archivos de los episodios
|
# Obtenemos los archivos de los episodios
|
||||||
@@ -879,7 +879,7 @@ def delete(item):
|
|||||||
from platformcode import xbmc_videolibrary
|
from platformcode import xbmc_videolibrary
|
||||||
xbmc_videolibrary.clean()
|
xbmc_videolibrary.clean()
|
||||||
|
|
||||||
logger.info("Eliminados todos los enlaces")
|
logger.info("All links removed")
|
||||||
platformtools.itemlist_refresh()
|
platformtools.itemlist_refresh()
|
||||||
|
|
||||||
# logger.info(item.contentTitle)
|
# logger.info(item.contentTitle)
|
||||||
|
|||||||
Reference in New Issue
Block a user