This commit is contained in:
greko
2019-05-16 17:02:07 +02:00
6 changed files with 15 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ from core.item import Item
from platformcode import logger, config
from channelselector import thumb
host = "https://seriehd.casa/"
host = "https://seriehd.casa"
IDIOMAS = {'Italiano': 'IT'}
list_language = IDIOMAS.values()

View File

@@ -19,16 +19,16 @@ def hdpass_get_servers(item):
if 'https' not in url:
url = 'https:' + url
if 'hdpass' in url:
if 'hdpass' or 'hdplayer' in url:
data = httptools.downloadpage(url).data
start = data.find('<div class="row mobileRes">')
end = data.find('<div id="playerFront">', start)
data = data[start:end]
patron_res = '<div class="row mobileRes">(.*?)</div>'
patron_mir = '<div class="row mobileMirrs">(.*?)</div>'
patron_media = r'<input type="hidden" name="urlEmbed" data-mirror="([^"]+)" id="urlEmbed" value="([^"]+)"\s*/>'
patron_media = r'<input type="hidden" name="urlEmbed" data-mirror="([^"]+)" id="urlEmbed"\s*value="([^"]+)"\s*/>'
res = scrapertoolsV2.find_single_match(data, patron_res)

View File

@@ -273,7 +273,7 @@
{
"id": "lowerize_title",
"type": "list",
"label": "Crear directorios con letras en minúsculas",
"label": "@70703",
"default": 0,
"lvalues": [
"Si",

View File

@@ -415,7 +415,7 @@ def play_from_library(item):
path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4")))
# Por si acaso la imagen hiciera (en futuras versiones) le damos a stop para detener la reproduccion
sleep(0.5) ### Si no se pone esto se bloquea Kodi
# sleep(0.5) ### Si no se pone esto se bloquea Kodi
xbmc.Player().stop()
# modificamos el action (actualmente la videoteca necesita "findvideos" ya que es donde se buscan las fuentes

View File

@@ -10498,4 +10498,8 @@ msgstr ""
msgctxt "#70702"
msgid "Restart Kodi to apply the changes"
msgstr ""
msgctxt "#70703"
msgid "Create directories with lowercase letters"
msgstr ""

View File

@@ -5484,4 +5484,8 @@ msgstr "Il tasto è stato cancellato"
msgctxt "#70702"
msgid "Restart Kodi to apply the changes"
msgstr "Riavvia Kodi per applicare le modifiche"
msgstr "Riavvia Kodi per applicare le modifiche"
msgctxt "#70703"
msgid "Create directories with lowercase letters"
msgstr "Crea cartelle con le lettere minuscole"