various fixes
This commit is contained in:
@@ -121,7 +121,7 @@ def peliculas(item):
|
|||||||
|
|
||||||
|
|
||||||
def episodios(item):
|
def episodios(item):
|
||||||
support.log()
|
item.contentType = 'episode'
|
||||||
return support.scrape(item, patron_block=[r'<article class="sequex-post-content">(.*?)<\/article>',
|
return support.scrape(item, patron_block=[r'<article class="sequex-post-content">(.*?)<\/article>',
|
||||||
r'<div class="sp-head[a-z ]*?" title="Espandi">[^<>]*?</div>(.*?)<div class="spdiv">\[riduci\]</div>'],
|
r'<div class="sp-head[a-z ]*?" title="Espandi">[^<>]*?</div>(.*?)<div class="spdiv">\[riduci\]</div>'],
|
||||||
patron='(?:<p>)?([0-9]+×[0-9]+)(.*?)(?:</p>|<br)', listGroups=['title', 'url'])
|
patron='(?:<p>)?([0-9]+×[0-9]+)(.*?)(?:</p>|<br)', listGroups=['title', 'url'])
|
||||||
|
|||||||
@@ -46,8 +46,8 @@ def check_user_home(item):
|
|||||||
else:
|
else:
|
||||||
item = Item(channel="channelselector", action="getmainlist", viewmode="movie")
|
item = Item(channel="channelselector", action="getmainlist", viewmode="movie")
|
||||||
from platformcode import platformtools
|
from platformcode import platformtools
|
||||||
undefined_start = platformtools.dialog_ok('Inicio Personalizado', 'No has definido ninguna seccion para mostrar '
|
undefined_start = platformtools.dialog_ok(config.get_localized_string(70664), config.get_localized_string(70665),
|
||||||
'en tu inicio', 'Utiliza el menu contextual para definir una')
|
config.get_localized_string(70666))
|
||||||
return item
|
return item
|
||||||
|
|
||||||
def set_custom_start(item):
|
def set_custom_start(item):
|
||||||
|
|||||||
@@ -372,15 +372,19 @@ def videolibrary(itemlist, item, typography=''):
|
|||||||
if item.contentType != 'episode':
|
if item.contentType != 'episode':
|
||||||
action = 'add_pelicula_to_library'
|
action = 'add_pelicula_to_library'
|
||||||
extra = 'findvideos'
|
extra = 'findvideos'
|
||||||
|
contentType = 'movie'
|
||||||
else:
|
else:
|
||||||
action = 'add_serie_to_library'
|
action = 'add_serie_to_library'
|
||||||
extra = 'episodios'
|
extra = 'episodios'
|
||||||
|
contentType = 'tvshow'
|
||||||
|
|
||||||
title = typo(config.get_localized_string(30161) + ' ' + typography)
|
title = typo(config.get_localized_string(30161) + ' ' + typography)
|
||||||
if config.get_videolibrary_support() and len(itemlist) > 0:
|
if config.get_videolibrary_support() and len(itemlist) > 0:
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
title=title,
|
title=title,
|
||||||
|
contentType=contentType,
|
||||||
|
contentSerieName=item.fulltitle if contentType == 'tvshow' else '',
|
||||||
url=item.url,
|
url=item.url,
|
||||||
action=action,
|
action=action,
|
||||||
extra=extra,
|
extra=extra,
|
||||||
|
|||||||
@@ -6242,6 +6242,10 @@ msgctxt "#60297"
|
|||||||
msgid "Find %s possible matches"
|
msgid "Find %s possible matches"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#60298"
|
||||||
|
msgid "[%s]: Select the correct TV series"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#60299"
|
msgctxt "#60299"
|
||||||
msgid "Not found in the language '%s'"
|
msgid "Not found in the language '%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -10336,4 +10340,16 @@ msgstr ""
|
|||||||
|
|
||||||
msgctxt "#70663"
|
msgctxt "#70663"
|
||||||
msgid "Home page"
|
msgid "Home page"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70664"
|
||||||
|
msgid "Custom Start"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70665"
|
||||||
|
msgid "You have not defined any section to show in home page"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70666"
|
||||||
|
msgid "Use the context menu to define one"
|
||||||
|
msgstr ""
|
||||||
|
|||||||
@@ -1237,6 +1237,10 @@ msgctxt "#60297"
|
|||||||
msgid "Find %s possible matches"
|
msgid "Find %s possible matches"
|
||||||
msgstr "Trovate %s possibili corrispondenze"
|
msgstr "Trovate %s possibili corrispondenze"
|
||||||
|
|
||||||
|
msgctxt "#60298"
|
||||||
|
msgid "[%s]: Select the correct TV series"
|
||||||
|
msgstr "[%s]: Seleziona la serie TV corretta"
|
||||||
|
|
||||||
msgctxt "#60299"
|
msgctxt "#60299"
|
||||||
msgid "Not found in the language '%s'"
|
msgid "Not found in the language '%s'"
|
||||||
msgstr "Non trovato nella lingua '%s'"
|
msgstr "Non trovato nella lingua '%s'"
|
||||||
@@ -5324,4 +5328,16 @@ msgstr "Usa il menu contestuale e aggiungine almeno uno"
|
|||||||
|
|
||||||
msgctxt "#70663"
|
msgctxt "#70663"
|
||||||
msgid "Home page"
|
msgid "Home page"
|
||||||
msgstr "Pagina iniziale"
|
msgstr "Pagina iniziale"
|
||||||
|
|
||||||
|
msgctxt "#70664"
|
||||||
|
msgid "Custom Start"
|
||||||
|
msgstr "Inizio personalizzato"
|
||||||
|
|
||||||
|
msgctxt "#70665"
|
||||||
|
msgid "You have not defined any section to show in home page"
|
||||||
|
msgstr "Non hai selezionato nessuna sezione da mostrare nella pagina iniziale"
|
||||||
|
|
||||||
|
msgctxt "#70666"
|
||||||
|
msgid "Use the context menu to define one"
|
||||||
|
msgstr "Usa il menù contestuale per aggiungerne una"
|
||||||
|
|||||||
@@ -1249,6 +1249,10 @@ msgctxt "#60297"
|
|||||||
msgid "Find %s possible matches"
|
msgid "Find %s possible matches"
|
||||||
msgstr "Encontrados %s posibles coincidencias"
|
msgstr "Encontrados %s posibles coincidencias"
|
||||||
|
|
||||||
|
msgctxt "#60298"
|
||||||
|
msgid "[%s]: Select the correct TV series"
|
||||||
|
msgstr "[%s]: Seleccioneu la sèrie de televisió correcta"
|
||||||
|
|
||||||
msgctxt "#60299"
|
msgctxt "#60299"
|
||||||
msgid "Not found in the language '%s'"
|
msgid "Not found in the language '%s'"
|
||||||
msgstr "No se ha encontrado en idioma '%s'"
|
msgstr "No se ha encontrado en idioma '%s'"
|
||||||
@@ -5345,4 +5349,16 @@ msgstr "Utilice el menu contextual para agregar al menos uno"
|
|||||||
|
|
||||||
msgctxt "#70663"
|
msgctxt "#70663"
|
||||||
msgid "Home page"
|
msgid "Home page"
|
||||||
msgstr "Inicio"
|
msgstr "Inicio"
|
||||||
|
|
||||||
|
msgctxt "#70664"
|
||||||
|
msgid "Custom Start"
|
||||||
|
msgstr "Inicio Personalizado"
|
||||||
|
|
||||||
|
msgctxt "#70665"
|
||||||
|
msgid "You have not defined any section to show in home page"
|
||||||
|
msgstr "No has definido ninguna seccion para mostrar en tu inicio"
|
||||||
|
|
||||||
|
msgctxt "#70666"
|
||||||
|
msgid "Use the context menu to define one"
|
||||||
|
msgstr "Utiliza el menu contextual para definir una"
|
||||||
|
|||||||
@@ -1249,6 +1249,10 @@ msgctxt "#60297"
|
|||||||
msgid "Find %s possible matches"
|
msgid "Find %s possible matches"
|
||||||
msgstr "Encontrados %s posibles coincidencias"
|
msgstr "Encontrados %s posibles coincidencias"
|
||||||
|
|
||||||
|
msgctxt "#60298"
|
||||||
|
msgid "[%s]: Select the correct TV series"
|
||||||
|
msgstr "[%s]: Seleccioneu la sèrie de televisió correcta"
|
||||||
|
|
||||||
msgctxt "#60299"
|
msgctxt "#60299"
|
||||||
msgid "Not found in the language '%s'"
|
msgid "Not found in the language '%s'"
|
||||||
msgstr "No se ha encontrado en idioma '%s'"
|
msgstr "No se ha encontrado en idioma '%s'"
|
||||||
@@ -5346,3 +5350,15 @@ msgstr "Utilice el menu contextual para agregar al menos uno"
|
|||||||
msgctxt "#70663"
|
msgctxt "#70663"
|
||||||
msgid "Home page"
|
msgid "Home page"
|
||||||
msgstr "Inicio"
|
msgstr "Inicio"
|
||||||
|
|
||||||
|
msgctxt "#70664"
|
||||||
|
msgid "Custom Start"
|
||||||
|
msgstr "Inicio Personalizado"
|
||||||
|
|
||||||
|
msgctxt "#70665"
|
||||||
|
msgid "You have not defined any section to show in home page"
|
||||||
|
msgstr "No has definido ninguna seccion para mostrar en tu inicio"
|
||||||
|
|
||||||
|
msgctxt "#70666"
|
||||||
|
msgid "Use the context menu to define one"
|
||||||
|
msgstr "Utiliza el menu contextual para definir una"
|
||||||
|
|||||||
@@ -1249,6 +1249,10 @@ msgctxt "#60297"
|
|||||||
msgid "Find %s possible matches"
|
msgid "Find %s possible matches"
|
||||||
msgstr "Encontrados %s posibles coincidencias"
|
msgstr "Encontrados %s posibles coincidencias"
|
||||||
|
|
||||||
|
msgctxt "#60298"
|
||||||
|
msgid "[%s]: Select the correct TV series"
|
||||||
|
msgstr "[%s]: Seleccioneu la sèrie de televisió correcta"
|
||||||
|
|
||||||
msgctxt "#60299"
|
msgctxt "#60299"
|
||||||
msgid "Not found in the language '%s'"
|
msgid "Not found in the language '%s'"
|
||||||
msgstr "No se ha encontrado en idioma '%s'"
|
msgstr "No se ha encontrado en idioma '%s'"
|
||||||
@@ -5348,9 +5352,13 @@ msgid "Home page"
|
|||||||
msgstr "Inicio"
|
msgstr "Inicio"
|
||||||
|
|
||||||
msgctxt "#70664"
|
msgctxt "#70664"
|
||||||
msgid ""
|
msgid "Custom Start"
|
||||||
msgstr ""
|
msgstr "Inicio Personalizado"
|
||||||
|
|
||||||
msgctxt "#70665"
|
msgctxt "#70665"
|
||||||
msgid ""
|
msgid "You have not defined any section to show in home page"
|
||||||
msgstr ""
|
msgstr "No has definido ninguna seccion para mostrar en tu inicio"
|
||||||
|
|
||||||
|
msgctxt "#70666"
|
||||||
|
msgid "Use the context menu to define one"
|
||||||
|
msgstr "Utiliza el menu contextual para definir una"
|
||||||
|
|||||||
Reference in New Issue
Block a user