Merge branch 'master' of https://github.com/kodiondemand/addon
This commit is contained in:
@@ -2,3 +2,6 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.idea/
|
.idea/
|
||||||
|
.dev
|
||||||
|
.directory
|
||||||
|
__pycache__/
|
||||||
|
|||||||
@@ -2,16 +2,23 @@
|
|||||||
### Un fork italiano di [Alfa](https://github.com/alfa-addon)
|
### Un fork italiano di [Alfa](https://github.com/alfa-addon)
|
||||||
Ognuno è libero (anzi, invitato!) a collaborare, per farlo è possibile utilizzare i pull request.
|
Ognuno è libero (anzi, invitato!) a collaborare, per farlo è possibile utilizzare i pull request.
|
||||||
|
|
||||||
KOD come Alfa è sotto licenza GPL v3, pertanto, siete liberi di utilizzare parte del codice, a patto di rispettare i termini di suddetta licenza, che si possono riassumere in:
|
KOD, come Alfa, è sotto licenza GPL v3, pertanto siete liberi di utilizzare parte del codice, a patto di rispettare i termini di suddetta licenza, che si possono riassumere in:
|
||||||
|
|
||||||
- Il tuo addon deve essere rilasciando secondo la stessa licenza, ovvero essere open source (il fatto che lo zip sia visibile da chiunque non ha importanza, è necessario avere un repository git come questo)
|
- Il tuo addon deve essere rilasciando secondo la stessa licenza, ovvero essere open source (il fatto che lo zip sia visibile da chiunque non ha importanza, è necessario avere un repository git come questo)
|
||||||
- Aggiungere i crediti a tutto ciò che copiate/modificate, ad esempio aggiungendo un commento nel file in questione o meglio facendo un cherry-pick (in modo da preservare lo storico)
|
- Aggiungere i crediti a tutto ciò che copiate/modificate, ad esempio aggiungendo un commento nel file in questione o, meglio, facendo un cherry-pick (in modo da preservarnee lo storico)
|
||||||
|
|
||||||
### Come contribuire?
|
### Come contribuire?
|
||||||
- Forka il repository.
|
- Fai un Fork del repository.
|
||||||
- Effettua tutte le modifiche e pusha nel tuo repository remoto.
|
- Effettua tutte le modifiche e fai un push nel tuo repository remoto.
|
||||||
- Testa tutte le funzioni principali (videoteca, autoplay, scraper web) o eventuali aggiunte extra.
|
- Testa tutte le funzioni principali (videoteca, autoplay, scraper web) o eventuali aggiunte extra.
|
||||||
- Apri una pull request.
|
- Apri una pull request.
|
||||||
|
|
||||||
### Qualcosa non funziona
|
Regole per le collaborazioni:
|
||||||
Sentiti pure libero di segnalarlo al team [qui](https://github.com/kodiondemand/addon/issues)
|
- Se si riutilizza codice proveniente da altri addon è necessario citarne la fonte, per rispetto di chi ci ha lavorato, in caso contrario il pull request verrà respinto.
|
||||||
|
- Ogni modifica o novità inviata dev'essere testata, può capitare che vi sia sfuggito qualche bug (è normale), ma l'invio di materiale senza preventivi controlli non è gradito.
|
||||||
|
- I nuovi canali devono essere funzionanti e completi di tutte le feature, comprese videoteca ed autoplay, non verranno accettati finchè non lo saranno.
|
||||||
|
|
||||||
|
Se parte del codice di un tuo addon è stato incluso in questo progetto e ne desideri l'eliminazione, crea una issue portando le prove di essere veramente uno dei dev e lo elimineremo.
|
||||||
|
|
||||||
|
### Qualcosa non funziona?
|
||||||
|
Sentiti libero di segnalarlo al team [qui](https://github.com/kodiondemand/addon/issues)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ host = "https://altadefinizione.center" ### <- cambio Host da .fm a .center
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango', "vidoza", "thevideo", "okru", 'youtube']
|
list_servers = ['verystream', 'openload', 'streamango', "vidoza", "thevideo", "okru", 'youtube']
|
||||||
list_quality = ['1080p']
|
list_quality = ['1080p']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'altadefinizioneclick')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'altadefinizioneclick')
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ host = "https://animepertutti.com"
|
|||||||
# Richiesto per Autoplay
|
# Richiesto per Autoplay
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango']
|
list_servers = ['verystream', 'openload', 'streamango']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'animeleggendari')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'animeleggendari')
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ def start(itemlist, item):
|
|||||||
if len(quality_list) == 0:
|
if len(quality_list) == 0:
|
||||||
quality_list =['default']
|
quality_list =['default']
|
||||||
|
|
||||||
# Se guardan los textos de cada servidor y calidad en listas p.e. favorite_servers = ['openload',
|
# Se guardan los textos de cada servidor y calidad en listas p.e. favorite_servers = ['verystream', 'openload',
|
||||||
# 'streamcloud']
|
# 'streamcloud']
|
||||||
for num in range(1, 4):
|
for num in range(1, 4):
|
||||||
favorite_servers.append(channel_node['servers'][settings_node['server_%s' % num]].lower())
|
favorite_servers.append(channel_node['servers'][settings_node['server_%s' % num]].lower())
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ host = 'https://www.casacinema.site'
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'wstream', 'speedvideo']
|
list_servers = ['verystream', 'openload', 'wstream', 'speedvideo']
|
||||||
list_quality = ['HD', 'SD']
|
list_quality = ['HD', 'SD']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'casacinema')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'casacinema')
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ host = 'https://casacinema.info'
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'wstream', 'speedvideo']
|
list_servers = ['verystream', 'openload', 'wstream', 'speedvideo']
|
||||||
list_quality = ['1080p', '720', '480p', '360p']
|
list_quality = ['1080p', '720', '480p', '360p']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'casacinema')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'casacinema')
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ def findhost():
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango', 'wstream']
|
list_servers = ['verystream', 'openload', 'streamango', 'wstream']
|
||||||
list_quality = ['HD', 'default']
|
list_quality = ['HD', 'default']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'cineblog01')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'cineblog01')
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ from platformcode import config, logger
|
|||||||
IDIOMAS = {'Hindi': 'Hindi'}
|
IDIOMAS = {'Hindi': 'Hindi'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_quality = []
|
list_quality = []
|
||||||
list_servers = ['openload', 'netutv']
|
list_servers = ['verystream', 'openload', 'netutv']
|
||||||
|
|
||||||
host = "http://www.cinehindi.com/"
|
host = "http://www.cinehindi.com/"
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ host = 'https://www4.doramasmp4.com/'
|
|||||||
IDIOMAS = {'sub': 'VOSE', 'VO': 'VO'}
|
IDIOMAS = {'sub': 'VOSE', 'VO': 'VO'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_quality = []
|
list_quality = []
|
||||||
list_servers = ['openload', 'streamango', 'netutv', 'okru', 'directo', 'mp4upload']
|
list_servers = ['verystream', 'openload', 'streamango', 'netutv', 'okru', 'directo', 'mp4upload']
|
||||||
|
|
||||||
def get_source(url, referer=None):
|
def get_source(url, referer=None):
|
||||||
logger.info()
|
logger.info()
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ IDIOMAS = {'Latino': 'LAT', 'Vo':'VO', 'Vose': 'VOSE'}
|
|||||||
IDIOMA = "no filtrar"
|
IDIOMA = "no filtrar"
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_quality = []
|
list_quality = []
|
||||||
list_servers = ['openload', 'streamango', 'netutv', 'okru', 'mp4upload']
|
list_servers = ['verystream', 'openload', 'streamango', 'netutv', 'okru', 'mp4upload']
|
||||||
|
|
||||||
def get_source(url, referer=None):
|
def get_source(url, referer=None):
|
||||||
logger.info()
|
logger.info()
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ from platformcode import logger, config
|
|||||||
from channelselector import thumb
|
from channelselector import thumb
|
||||||
|
|
||||||
host = "https://eurostreaming.cafe"
|
host = "https://eurostreaming.cafe"
|
||||||
list_servers = ['openload', 'speedvideo', 'wstream', 'streamango' 'flashx', 'nowvideo']
|
list_servers = ['verystream', 'openload', 'speedvideo', 'wstream', 'streamango' 'flashx', 'nowvideo']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ host = "http://fastsubita.com"
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'speedvideo', 'wstream', 'flashx', 'vidoza', 'vidtome']
|
list_servers = ['verystream', 'openload', 'speedvideo', 'wstream', 'flashx', 'vidoza', 'vidtome']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'fastsubita')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'fastsubita')
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ from channelselector import thumb
|
|||||||
|
|
||||||
host = "https://www.filmpertutti.club"
|
host = "https://www.filmpertutti.club"
|
||||||
headers = [['Referer', host]]
|
headers = [['Referer', host]]
|
||||||
list_servers = ['openload', 'streamango', 'wstream', 'akvideo']
|
list_servers = ['verystream', 'openload', 'streamango', 'wstream', 'akvideo']
|
||||||
list_quality = ['HD', 'SD']
|
list_quality = ['HD', 'SD']
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ host = 'https://filmsenzalimiti.space'
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango', 'vidoza', 'okru']
|
list_servers = ['verystream', 'openload', 'streamango', 'vidoza', 'okru']
|
||||||
list_quality = ['1080p', '720p', '480p', '360']
|
list_quality = ['1080p', '720p', '480p', '360']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'filmsenzalimiti')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'filmsenzalimiti')
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ __channel__ = 'filmsenzalimiticc'
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'vidlox', 'youtube']
|
list_servers = ['verystream', 'openload', 'vidlox', 'youtube']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
# Necessario per Verifica Link
|
# Necessario per Verifica Link
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ host = "https://ilgeniodellostreaming.pw"
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango', 'youtube']
|
list_servers = ['verystream', 'openload', 'streamango', 'youtube']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ from core.scrapertools import decodeHtmlentities as dhe
|
|||||||
from platformcode import config, logger
|
from platformcode import config, logger
|
||||||
from platformcode import platformtools
|
from platformcode import platformtools
|
||||||
|
|
||||||
|
import xbmcaddon
|
||||||
|
addon = xbmcaddon.Addon('metadata.themoviedb.org')
|
||||||
|
def_lang = addon.getSetting('language')
|
||||||
|
|
||||||
global mainWindow
|
global mainWindow
|
||||||
mainWindow = list()
|
mainWindow = list()
|
||||||
ActoresWindow = None
|
ActoresWindow = None
|
||||||
@@ -1509,10 +1513,10 @@ class ActorInfo(xbmcgui.WindowDialog):
|
|||||||
self.dialog = kwargs.get('dialog')
|
self.dialog = kwargs.get('dialog')
|
||||||
if self.item.contentType == "movie":
|
if self.item.contentType == "movie":
|
||||||
tipo = "movie"
|
tipo = "movie"
|
||||||
search = {'url': 'person/%s' % self.id, 'language': 'es', 'append_to_response': 'movie_credits,images'}
|
search = {'url': 'person/%s' % self.id, 'language': def_lang, 'append_to_response': 'movie_credits,images'}
|
||||||
else:
|
else:
|
||||||
tipo = "tv"
|
tipo = "tv"
|
||||||
search = {'url': 'person/%s' % self.id, 'language': 'es', 'append_to_response': 'tv_credits,images'}
|
search = {'url': 'person/%s' % self.id, 'language': def_lang, 'append_to_response': 'tv_credits,images'}
|
||||||
|
|
||||||
actor_tmdb = tmdb.Tmdb(discover=search)
|
actor_tmdb = tmdb.Tmdb(discover=search)
|
||||||
if not actor_tmdb.result.get("biography") and actor_tmdb.result.get("imdb_id"):
|
if not actor_tmdb.result.get("biography") and actor_tmdb.result.get("imdb_id"):
|
||||||
@@ -2249,7 +2253,7 @@ def get_recomendations(item, infoLabels, recomendaciones):
|
|||||||
tipo = item.contentType
|
tipo = item.contentType
|
||||||
if tipo != "movie":
|
if tipo != "movie":
|
||||||
tipo = "tv"
|
tipo = "tv"
|
||||||
search = {'url': '%s/%s/recommendations' % (tipo, infoLabels['tmdb_id']), 'language': 'es', 'page': 1}
|
search = {'url': '%s/%s/recommendations' % (tipo, infoLabels['tmdb_id']), 'language': def_lang, 'page': 1}
|
||||||
reco_tmdb = tmdb.Tmdb(discover=search, tipo=tipo, idioma_busqueda="es")
|
reco_tmdb = tmdb.Tmdb(discover=search, tipo=tipo, idioma_busqueda="es")
|
||||||
|
|
||||||
for i in range(0, len(reco_tmdb.results)):
|
for i in range(0, len(reco_tmdb.results)):
|
||||||
@@ -2307,8 +2311,8 @@ def fanartv(item, infoLabels, images={}):
|
|||||||
headers = [['Content-Type', 'application/json']]
|
headers = [['Content-Type', 'application/json']]
|
||||||
id_search = infoLabels.get('tvdb_id')
|
id_search = infoLabels.get('tvdb_id')
|
||||||
if item.contentType != "movie" and not id_search:
|
if item.contentType != "movie" and not id_search:
|
||||||
search = {'url': 'tv/%s/external_ids' % infoLabels['tmdb_id'], 'language': 'es'}
|
search = {'url': 'tv/%s/external_ids' % infoLabels['tmdb_id'], 'language': def_lang}
|
||||||
ob_tmdb = tmdb.Tmdb(discover=search, idioma_busqueda='es')
|
ob_tmdb = tmdb.Tmdb(discover=search, idioma_busqueda=def_lang)
|
||||||
id_search = ob_tmdb.result.get("tvdb_id")
|
id_search = ob_tmdb.result.get("tvdb_id")
|
||||||
elif item.contentType == "movie":
|
elif item.contentType == "movie":
|
||||||
id_search = infoLabels.get('tmdb_id')
|
id_search = infoLabels.get('tmdb_id')
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ from platformcode import logger, config
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'youtube']
|
list_servers = ['verystream', 'openload', 'youtube']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'italiafilmhd')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'italiafilmhd')
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ from channelselector import get_thumb
|
|||||||
IDIOMAS = {'Latino':'Lat', 'Español':'Cast', 'Subtitulado':'VOSE'}
|
IDIOMAS = {'Latino':'Lat', 'Español':'Cast', 'Subtitulado':'VOSE'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_quality = ['HD 1080p', 'HD 720p', 'DVDRIP', 'CAM']
|
list_quality = ['HD 1080p', 'HD 720p', 'DVDRIP', 'CAM']
|
||||||
list_servers = ['openload', 'vidoza', 'clipwatching', 'fastplay', 'flashx', 'gamovideo', 'powvideo', 'streamango',
|
list_servers = ['verystream', 'openload', 'vidoza', 'clipwatching', 'fastplay', 'flashx', 'gamovideo', 'powvideo', 'streamango',
|
||||||
'streamcherry', 'rapidvideo']
|
'streamcherry', 'rapidvideo']
|
||||||
|
|
||||||
host = 'https://playview.io/'
|
host = 'https://playview.io/'
|
||||||
|
|||||||
+9
-5
@@ -14,6 +14,10 @@ from platformcode import config, logger
|
|||||||
from platformcode import platformtools
|
from platformcode import platformtools
|
||||||
from core import tmdb
|
from core import tmdb
|
||||||
|
|
||||||
|
import xbmc, xbmcaddon
|
||||||
|
addon = xbmcaddon.Addon('metadata.themoviedb.org')
|
||||||
|
def_lang = addon.getSetting('language')
|
||||||
|
|
||||||
link_list = []
|
link_list = []
|
||||||
max_links = 30
|
max_links = 30
|
||||||
|
|
||||||
@@ -92,7 +96,7 @@ def sub_menu(item):
|
|||||||
thumbnail = get_thumb("search_star.png")
|
thumbnail = get_thumb("search_star.png")
|
||||||
|
|
||||||
itemlist.append(Item(channel='tvmoviedb', title=config.get_localized_string(70036), action="search_",
|
itemlist.append(Item(channel='tvmoviedb', title=config.get_localized_string(70036), action="search_",
|
||||||
search={'url': 'search/person', 'language': 'es', 'page': 1}, star=True,
|
search={'url': 'search/person', 'language': def_lang, 'page': 1}, star=True,
|
||||||
thumbnail=thumbnail))
|
thumbnail=thumbnail))
|
||||||
|
|
||||||
itemlist.append(Item(channel=item.channel, action="search",
|
itemlist.append(Item(channel=item.channel, action="search",
|
||||||
@@ -180,8 +184,8 @@ def setting_channel_new(item):
|
|||||||
config.get_localized_string(70571),
|
config.get_localized_string(70571),
|
||||||
config.get_localized_string(70572),
|
config.get_localized_string(70572),
|
||||||
config.get_localized_string(70573),
|
config.get_localized_string(70573),
|
||||||
config.get_localized_string(70574),
|
# config.get_localized_string(70574),
|
||||||
config.get_localized_string(70575),
|
# config.get_localized_string(70575),
|
||||||
config.get_localized_string(70576)
|
config.get_localized_string(70576)
|
||||||
]
|
]
|
||||||
presel_values = ['skip', 'actual', 'all', 'none', 'cast', 'lat', 'ita']
|
presel_values = ['skip', 'actual', 'all', 'none', 'cast', 'lat', 'ita']
|
||||||
@@ -623,7 +627,7 @@ def do_search(item, categories=None):
|
|||||||
from_action="search", from_channel=element["item"].channel, tecleado=tecleado))
|
from_action="search", from_channel=element["item"].channel, tecleado=tecleado))
|
||||||
# todos los resultados juntos, en la misma lista
|
# todos los resultados juntos, en la misma lista
|
||||||
else:
|
else:
|
||||||
title = " [ Resultados del canal %s ] " % channel
|
title = config.get_localized_string(70697) % channel
|
||||||
itemlist.append(Item(title=title, channel="search", action="",
|
itemlist.append(Item(title=title, channel="search", action="",
|
||||||
folder=False, text_bold=True, from_channel=channel))
|
folder=False, text_bold=True, from_channel=channel))
|
||||||
for i in element["itemlist"]:
|
for i in element["itemlist"]:
|
||||||
@@ -710,7 +714,7 @@ def discover_list(item):
|
|||||||
tvshow = True
|
tvshow = True
|
||||||
|
|
||||||
new_item = Item(channel='search', title=title, infoLabels=elem, action='search_tmdb', extra=title,
|
new_item = Item(channel='search', title=title, infoLabels=elem, action='search_tmdb', extra=title,
|
||||||
category='Resultados', context ='')
|
category=config.get_localized_string(70695), context ='')
|
||||||
|
|
||||||
if tvshow:
|
if tvshow:
|
||||||
new_item.contentSerieName = title
|
new_item.contentSerieName = title
|
||||||
|
|||||||
@@ -283,7 +283,7 @@ def discover_list(item):
|
|||||||
tvshow = True
|
tvshow = True
|
||||||
|
|
||||||
new_item = Item(channel='searchall', title=title, infoLabels=elem, action='search_tmdb', extra=title,
|
new_item = Item(channel='searchall', title=title, infoLabels=elem, action='search_tmdb', extra=title,
|
||||||
category='Resultados', context='')
|
category=config.get_localized_string(70695), context='')
|
||||||
|
|
||||||
if tvshow:
|
if tvshow:
|
||||||
new_item.contentSerieName = title
|
new_item.contentSerieName = title
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ host = "https://seriehd.casa/"
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango', 'thevideome']
|
list_servers = ['verystream', 'openload', 'streamango', 'thevideome']
|
||||||
list_quality = ['1080p', '720p', '480p', '360']
|
list_quality = ['1080p', '720p', '480p', '360']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'seriehd')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'seriehd')
|
||||||
|
|||||||
@@ -8,6 +8,10 @@ from platformcode import config, logger
|
|||||||
from platformcode import launcher
|
from platformcode import launcher
|
||||||
import xbmc, xbmcgui, xbmcplugin, xbmcaddon, channelselector
|
import xbmc, xbmcgui, xbmcplugin, xbmcaddon, channelselector
|
||||||
|
|
||||||
|
import xbmc, xbmcaddon
|
||||||
|
addon = xbmcaddon.Addon('metadata.themoviedb.org')
|
||||||
|
def_lang = addon.getSetting('language')
|
||||||
|
|
||||||
media_path = os.path.join(config.get_runtime_path(), "resources/skins/Default/media/side_menu/")
|
media_path = os.path.join(config.get_runtime_path(), "resources/skins/Default/media/side_menu/")
|
||||||
menu_settings_path = os.path.join(config.get_data_path(), "settings_channels", 'menu_settings_data.json')
|
menu_settings_path = os.path.join(config.get_data_path(), "settings_channels", 'menu_settings_data.json')
|
||||||
|
|
||||||
@@ -309,7 +313,7 @@ class Main(xbmcgui.WindowXMLDialog):
|
|||||||
new_item = Item(channel='search', action="search")
|
new_item = Item(channel='search', action="search")
|
||||||
elif control == config.get_localized_string(70036):
|
elif control == config.get_localized_string(70036):
|
||||||
new_item = Item(channel='tvmoviedb', title="Buscar actor/actriz", action="search_",
|
new_item = Item(channel='tvmoviedb', title="Buscar actor/actriz", action="search_",
|
||||||
search={'url': 'search/person', 'language': 'es', 'page': 1}, star=True)
|
search={'url': 'search/person', 'language': def_lang, 'page': 1}, star=True)
|
||||||
elif control == config.get_localized_string(70010):
|
elif control == config.get_localized_string(70010):
|
||||||
new_item = Item(channel='search', action="setting_channel")
|
new_item = Item(channel='search', action="setting_channel")
|
||||||
elif control == '':
|
elif control == '':
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ from core.item import Item
|
|||||||
|
|
||||||
host = 'https://www.streamingaltadefinizione.world/'
|
host = 'https://www.streamingaltadefinizione.world/'
|
||||||
|
|
||||||
list_servers = ['openload', 'wstream']
|
list_servers = ['verystream', 'openload', 'wstream']
|
||||||
list_quality = ['1080p', 'HD', 'DVDRIP', 'SD', 'CAM']
|
list_quality = ['1080p', 'HD', 'DVDRIP', 'SD', 'CAM']
|
||||||
|
|
||||||
def mainlist(item):
|
def mainlist(item):
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ from platformcode import logger
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango', 'vidlox', 'youtube']
|
list_servers = ['verystream', 'openload', 'streamango', 'vidlox', 'youtube']
|
||||||
list_quality = ['default']
|
list_quality = ['default']
|
||||||
|
|
||||||
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'tantifilm')
|
__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', 'tantifilm')
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ from core.item import Item
|
|||||||
from platformcode import config, logger
|
from platformcode import config, logger
|
||||||
from platformcode import platformtools
|
from platformcode import platformtools
|
||||||
|
|
||||||
|
import xbmc, xbmcaddon
|
||||||
|
addon = xbmcaddon.Addon('metadata.themoviedb.org')
|
||||||
|
def_lang = addon.getSetting('language')
|
||||||
|
|
||||||
result = None
|
result = None
|
||||||
window_select = []
|
window_select = []
|
||||||
# Para habilitar o no la opción de búsqueda manual
|
# Para habilitar o no la opción de búsqueda manual
|
||||||
@@ -128,7 +132,7 @@ def tmdb_trailers(item, tipo="movie"):
|
|||||||
itemlist = []
|
itemlist = []
|
||||||
tmdb_search = None
|
tmdb_search = None
|
||||||
if item.infoLabels['tmdb_id']:
|
if item.infoLabels['tmdb_id']:
|
||||||
tmdb_search = Tmdb(id_Tmdb=item.infoLabels['tmdb_id'], tipo=tipo, idioma_busqueda='es')
|
tmdb_search = Tmdb(id_Tmdb=item.infoLabels['tmdb_id'], tipo=tipo, idioma_busqueda=def_lang)
|
||||||
elif item.infoLabels['year']:
|
elif item.infoLabels['year']:
|
||||||
tmdb_search = Tmdb(texto_buscado=item.contentTitle, tipo=tipo, year=item.infoLabels['year'])
|
tmdb_search = Tmdb(texto_buscado=item.contentTitle, tipo=tipo, year=item.infoLabels['year'])
|
||||||
|
|
||||||
|
|||||||
@@ -547,7 +547,7 @@ def detalles(item):
|
|||||||
title=config.get_localized_string(70070) % item.infoLabels['originaltitle']))
|
title=config.get_localized_string(70070) % item.infoLabels['originaltitle']))
|
||||||
|
|
||||||
if langt != "es" and langt != "en" and item.infoLabels["tmdb_id"]:
|
if langt != "es" and langt != "en" and item.infoLabels["tmdb_id"]:
|
||||||
tmdb_lang = Tmdb(id_Tmdb=item.infoLabels["tmdb_id"], tipo=item.extra, idioma_busqueda='es')
|
tmdb_lang = Tmdb(id_Tmdb=item.infoLabels["tmdb_id"], tipo=item.extra, idioma_busqueda=def_lang)
|
||||||
if tmdb_lang.result.get("title") and tmdb_lang.result["title"] != item.contentTitle \
|
if tmdb_lang.result.get("title") and tmdb_lang.result["title"] != item.contentTitle \
|
||||||
and tmdb_lang.result["title"] != item.infoLabels['originaltitle']:
|
and tmdb_lang.result["title"] != item.infoLabels['originaltitle']:
|
||||||
tmdb_lang = tmdb_lang.result["title"]
|
tmdb_lang = tmdb_lang.result["title"]
|
||||||
@@ -1499,7 +1499,7 @@ def detalles_fa(item):
|
|||||||
title=config.get_localized_string(70070) % item.infoLabels['originaltitle']))
|
title=config.get_localized_string(70070) % item.infoLabels['originaltitle']))
|
||||||
|
|
||||||
if langt != "es" and langt != "en" and item.infoLabels["tmdb_id"]:
|
if langt != "es" and langt != "en" and item.infoLabels["tmdb_id"]:
|
||||||
tmdb_lang = Tmdb(id_Tmdb=item.infoLabels["tmdb_id"], tipo=item.extra, idioma_busqueda='es')
|
tmdb_lang = Tmdb(id_Tmdb=item.infoLabels["tmdb_id"], tipo=item.extra, idioma_busqueda=def_lang)
|
||||||
if tmdb_lang.result.get("title") and tmdb_lang.result["title"] != item.contentTitle:
|
if tmdb_lang.result.get("title") and tmdb_lang.result["title"] != item.contentTitle:
|
||||||
tmdb_lang = tmdb_lang.result["title"]
|
tmdb_lang = tmdb_lang.result["title"]
|
||||||
itemlist.append(item.clone(action="busqueda", title=config.get_localized_string(70066) % tmdb_lang,
|
itemlist.append(item.clone(action="busqueda", title=config.get_localized_string(70066) % tmdb_lang,
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ def findhost():
|
|||||||
|
|
||||||
IDIOMAS = {'Italiano': 'IT'}
|
IDIOMAS = {'Italiano': 'IT'}
|
||||||
list_language = IDIOMAS.values()
|
list_language = IDIOMAS.values()
|
||||||
list_servers = ['openload', 'streamango', 'wstream']
|
list_servers = ['verystream', 'openload', 'streamango', 'wstream']
|
||||||
list_quality = ['HD', 'SD']
|
list_quality = ['HD', 'SD']
|
||||||
|
|
||||||
#esclusione degli articoli 'di servizio'
|
#esclusione degli articoli 'di servizio'
|
||||||
|
|||||||
+8
-5
@@ -7,6 +7,9 @@ from core import channeltools
|
|||||||
from core.item import Item
|
from core.item import Item
|
||||||
from platformcode.unify import thumb_dict
|
from platformcode.unify import thumb_dict
|
||||||
from platformcode import config, logger, unify
|
from platformcode import config, logger, unify
|
||||||
|
import xbmcaddon
|
||||||
|
addon = xbmcaddon.Addon('plugin.video.kod')
|
||||||
|
downloadenabled = addon.getSetting('downloadenabled')
|
||||||
|
|
||||||
|
|
||||||
def getmainlist(view="thumb_"):
|
def getmainlist(view="thumb_"):
|
||||||
@@ -44,11 +47,11 @@ def getmainlist(view="thumb_"):
|
|||||||
category=config.get_localized_string(30119), viewmode="thumbnails",
|
category=config.get_localized_string(30119), viewmode="thumbnails",
|
||||||
context=[{"title": config.get_localized_string(70287), "channel": "videolibrary",
|
context=[{"title": config.get_localized_string(70287), "channel": "videolibrary",
|
||||||
"action": "channel_config"}]))
|
"action": "channel_config"}]))
|
||||||
|
if downloadenabled != "false":
|
||||||
itemlist.append(Item(title=config.get_localized_string(30101), channel="downloads", action="mainlist",
|
itemlist.append(Item(title=config.get_localized_string(30101), channel="downloads", action="mainlist",
|
||||||
thumbnail=get_thumb("downloads.png", view), viewmode="list",
|
thumbnail=get_thumb("downloads.png", view), viewmode="list",
|
||||||
context=[{"title": config.get_localized_string(70288), "channel": "setting", "config": "downloads",
|
context=[{"title": config.get_localized_string(70288), "channel": "setting", "config": "downloads",
|
||||||
"action": "channel_config"}]))
|
"action": "channel_config"}]))
|
||||||
|
|
||||||
thumb_setting = "setting_%s.png" % 0 # config.get_setting("plugin_updates_available")
|
thumb_setting = "setting_%s.png" % 0 # config.get_setting("plugin_updates_available")
|
||||||
|
|
||||||
|
|||||||
@@ -278,11 +278,11 @@ def render_items(itemlist, parent_item):
|
|||||||
else:
|
else:
|
||||||
if 'similar' in parent_item.list_type:
|
if 'similar' in parent_item.list_type:
|
||||||
if parent_item.contentTitle != '':
|
if parent_item.contentTitle != '':
|
||||||
breadcrumb = 'Similares (%s)' % parent_item.contentTitle
|
breadcrumb = config.get_localized_string(70693) + parent_item.contentTitle
|
||||||
else:
|
else:
|
||||||
breadcrumb = 'Similares (%s)' % parent_item.contentSerieName
|
breadcrumb = config.get_localized_string(70693) + parent_item.contentSerieName
|
||||||
else:
|
else:
|
||||||
breadcrumb = 'Busqueda'
|
breadcrumb = config.get_localized_string(70693)
|
||||||
|
|
||||||
xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category=breadcrumb)
|
xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category=breadcrumb)
|
||||||
|
|
||||||
@@ -894,8 +894,12 @@ def get_dialogo_opciones(item, default_action, strm, autoplay):
|
|||||||
opciones.append(config.get_localized_string(30164))
|
opciones.append(config.get_localized_string(30164))
|
||||||
else:
|
else:
|
||||||
# "Descargar"
|
# "Descargar"
|
||||||
opcion = config.get_localized_string(30153)
|
import xbmcaddon
|
||||||
opciones.append(opcion)
|
addon = xbmcaddon.Addon('plugin.video.kod')
|
||||||
|
downloadenabled = addon.getSetting('downloadenabled')
|
||||||
|
if downloadenabled != "false":
|
||||||
|
opcion = config.get_localized_string(30153)
|
||||||
|
opciones.append(opcion)
|
||||||
|
|
||||||
if item.isFavourite:
|
if item.isFavourite:
|
||||||
# "Quitar de favoritos"
|
# "Quitar de favoritos"
|
||||||
@@ -960,6 +964,15 @@ def set_opcion(item, seleccion, opciones, video_urls):
|
|||||||
# "Descargar"
|
# "Descargar"
|
||||||
elif opciones[seleccion] == config.get_localized_string(30153):
|
elif opciones[seleccion] == config.get_localized_string(30153):
|
||||||
from channels import downloads
|
from channels import downloads
|
||||||
|
import xbmcaddon
|
||||||
|
import xbmcgui
|
||||||
|
__addon__ = xbmcaddon.Addon()
|
||||||
|
__addonname__ = __addon__.getAddonInfo('name')
|
||||||
|
line1 = config.get_localized_string(70690)
|
||||||
|
line2 = config.get_localized_string(70691)
|
||||||
|
line3 = config.get_localized_string(70692)
|
||||||
|
xbmcgui.Dialog().ok(__addonname__, line1, line2, line3)
|
||||||
|
|
||||||
if item.contentType == "list" or item.contentType == "tvshow":
|
if item.contentType == "list" or item.contentType == "tvshow":
|
||||||
item.contentType = "video"
|
item.contentType = "video"
|
||||||
item.play_menu = True
|
item.play_menu = True
|
||||||
|
|||||||
@@ -10439,4 +10439,35 @@ msgstr ""
|
|||||||
|
|
||||||
msgctxt "#70688"
|
msgctxt "#70688"
|
||||||
msgid "Episode 0 is a special episode, enter the number of this episode"
|
msgid "Episode 0 is a special episode, enter the number of this episode"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70689"
|
||||||
|
msgid "Enable Download"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70690"
|
||||||
|
msgid "Disclaimer"
|
||||||
|
msgstr "Disclaimer"
|
||||||
|
|
||||||
|
msgctxt "#70691"
|
||||||
|
msgid "Using the download function you declare that you have a physical copy and use this function as a backup of the same."
|
||||||
|
msgstr ""
|
||||||
|
msgctxt "#70692"
|
||||||
|
msgid "The KOD team assumes no responsibility for the use that is made of this proposed function"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70693"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70694"
|
||||||
|
msgid "Similar to "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70695"
|
||||||
|
msgid "Results"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70697"
|
||||||
|
msgid " [Results of the %s channel] "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -5428,4 +5428,36 @@ msgstr "Inserisci il numero dell'episodio di partenza"
|
|||||||
|
|
||||||
msgctxt "#70688"
|
msgctxt "#70688"
|
||||||
msgid "Episode 0 is a special episode, enter the number of this episode"
|
msgid "Episode 0 is a special episode, enter the number of this episode"
|
||||||
msgstr "L'episodio 0 è un episodio speciale, inserisci il numero di questo episodio"
|
msgstr "L'episodio 0 è un episodio speciale, inserisci il numero di questo episodio"
|
||||||
|
|
||||||
|
msgctxt "#70689"
|
||||||
|
msgid "Enable Download"
|
||||||
|
msgstr "Abilita Download"
|
||||||
|
|
||||||
|
msgctxt "#70690"
|
||||||
|
msgid "Disclaimer"
|
||||||
|
msgstr "Disclaimer"
|
||||||
|
|
||||||
|
msgctxt "#70691"
|
||||||
|
msgid "Utilizzando la funzione di download dichiari di essere in possesso di una copia fisica e di utilizzare questa funzione come backup dello stesso."
|
||||||
|
msgstr "Utilizzando la funzione di download dichiari di essere in possesso di una copia fisica e di utilizzare questa funzione come backup dello stesso."
|
||||||
|
|
||||||
|
msgctxt "#70692"
|
||||||
|
msgid "Il team di KOD non si assume alcuna responsabilità dell'uso che viene fatto di questa funzione proposta"
|
||||||
|
msgstr "Il team di KOD non si assume alcuna responsabilità dell'uso che viene fatto di questa funzione proposta"
|
||||||
|
|
||||||
|
msgctxt "#70693"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Ricerca"
|
||||||
|
|
||||||
|
msgctxt "#70694"
|
||||||
|
msgid "Similar to "
|
||||||
|
msgstr "Simile a "
|
||||||
|
|
||||||
|
msgctxt "#70695"
|
||||||
|
msgid "Results"
|
||||||
|
msgstr "Risultati"
|
||||||
|
|
||||||
|
msgctxt "#70697"
|
||||||
|
msgid " [Results of the %s channel] "
|
||||||
|
msgstr " [Risultati del canale %s] "
|
||||||
@@ -24,12 +24,16 @@
|
|||||||
</category>
|
</category>
|
||||||
|
|
||||||
<!-- Path downloads -->
|
<!-- Path downloads -->
|
||||||
|
<category label="30153">
|
||||||
|
<setting id="downloadenabled" type="bool" label="70689" default="false"/>
|
||||||
|
<setting id="downloadpath" type="folder" label="30017" default=""/>
|
||||||
|
<setting id="downloadlistpath" type="folder" label="30018" default=""/>
|
||||||
|
</category>
|
||||||
|
|
||||||
<category label="30501">
|
<category label="30501">
|
||||||
<setting id="downloadpath" type="folder" label="30017" default=""/>
|
<setting id="downloadpath" type="folder" label="30017" default=""/>
|
||||||
<setting id="downloadlistpath" type="folder" label="30018" default=""/>
|
<setting id="downloadlistpath" type="folder" label="30018" default=""/>
|
||||||
<setting id="videolibrarypath" type="folder" label="30067" default=""/>
|
<setting id="videolibrarypath" type="folder" label="30067" default=""/>
|
||||||
|
|
||||||
<setting type="sep"/>
|
|
||||||
<setting label="30131" type="lsep"/>
|
<setting label="30131" type="lsep"/>
|
||||||
<setting id="folder_tvshows" type="text" label="70118" default="SERIES"/>
|
<setting id="folder_tvshows" type="text" label="70118" default="SERIES"/>
|
||||||
<setting id="folder_movies" type="text" label="70119" default="CINE"/>
|
<setting id="folder_movies" type="text" label="70119" default="CINE"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user