+1
-1
@@ -11,7 +11,7 @@ from core.item import Item
|
|||||||
from platformcode import logger, config
|
from platformcode import logger, config
|
||||||
from channelselector import thumb
|
from channelselector import thumb
|
||||||
|
|
||||||
host = "https://seriehd.casa/"
|
host = "https://seriehd.casa"
|
||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
|
|||||||
+3
-3
@@ -19,16 +19,16 @@ def hdpass_get_servers(item):
|
|||||||
if 'https' not in url:
|
if 'https' not in url:
|
||||||
url = 'https:' + url
|
url = 'https:' + url
|
||||||
|
|
||||||
if 'hdpass' in url:
|
if 'hdpass' or 'hdplayer' in url:
|
||||||
data = httptools.downloadpage(url).data
|
data = httptools.downloadpage(url).data
|
||||||
|
|
||||||
start = data.find('<div class="row mobileRes">')
|
start = data.find('<div class="row mobileRes">')
|
||||||
end = data.find('<div id="playerFront">', start)
|
end = data.find('<div id="playerFront">', start)
|
||||||
data = data[start:end]
|
data = data[start:end]
|
||||||
|
|
||||||
patron_res = '<div class="row mobileRes">(.*?)</div>'
|
patron_res = '<div class="row mobileRes">(.*?)</div>'
|
||||||
patron_mir = '<div class="row mobileMirrs">(.*?)</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)
|
res = scrapertoolsV2.find_single_match(data, patron_res)
|
||||||
|
|
||||||
|
|||||||
@@ -273,7 +273,7 @@
|
|||||||
{
|
{
|
||||||
"id": "lowerize_title",
|
"id": "lowerize_title",
|
||||||
"type": "list",
|
"type": "list",
|
||||||
"label": "Crear directorios con letras en minúsculas",
|
"label": "@70703",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"lvalues": [
|
"lvalues": [
|
||||||
"Si",
|
"Si",
|
||||||
|
|||||||
@@ -415,7 +415,7 @@ def play_from_library(item):
|
|||||||
path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4")))
|
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
|
# 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()
|
xbmc.Player().stop()
|
||||||
|
|
||||||
# modificamos el action (actualmente la videoteca necesita "findvideos" ya que es donde se buscan las fuentes
|
# modificamos el action (actualmente la videoteca necesita "findvideos" ya que es donde se buscan las fuentes
|
||||||
|
|||||||
@@ -10498,4 +10498,8 @@ msgstr ""
|
|||||||
|
|
||||||
msgctxt "#70702"
|
msgctxt "#70702"
|
||||||
msgid "Restart Kodi to apply the changes"
|
msgid "Restart Kodi to apply the changes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70703"
|
||||||
|
msgid "Create directories with lowercase letters"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -5484,4 +5484,8 @@ msgstr "Il tasto è stato cancellato"
|
|||||||
|
|
||||||
msgctxt "#70702"
|
msgctxt "#70702"
|
||||||
msgid "Restart Kodi to apply the changes"
|
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"
|
||||||
Reference in New Issue
Block a user