Merge remote-tracking branch 'origin/master' into master

This commit is contained in:
marco
2020-09-29 22:19:39 +02:00
4 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.kod" name="Kodi on Demand BETA" version="1.3.1" provider-name="KoD Team">
<addon id="plugin.video.kod" name="Kodi on Demand BETA" version="1.4" provider-name="KoD Team">
<requires>
<!-- <import addon="script.module.libtorrent" optional="true"/> -->
<import addon="metadata.themoviedb.org"/>
@@ -27,11 +27,9 @@
<screenshot>resources/media/themes/ss/2.png</screenshot>
<screenshot>resources/media/themes/ss/3.png</screenshot>
</assets>
<news>- aggiunti nuovi canali: film4k, animealtadefinizione, streamingcommunity, animeuniverse , guardaserieICU
- HDmario ora supporta l'utilizzo di account
- Miglioramenti sezione news, è ora possibile raggruppare per canale o per contenuto, e settare l'ordinamento
- risolto il fastidioso problema per cui poteva capitare che la ricerca ripartisse dopo un refresh di kodi (tipicamente quando l'aggiornamento della videoteca finiva)
- alcuni fix ai canali</news>
<news>- completato il supporto al futuro Kodi 19
- ridisegnato infoplus
- fix vari ed eventuali</news>
<description lang="it">Naviga velocemente sul web e guarda i contenuti presenti</description>
<disclaimer>[COLOR red]The owners and submitters to this addon do not host or distribute any of the content displayed by these addons nor do they have any affiliation with the content providers.[/COLOR]
[COLOR yellow]Kodi © is a registered trademark of the XBMC Foundation. We are not connected to or in any other way affiliated with Kodi, Team Kodi, or the XBMC Foundation. Furthermore, any software, addons, or products offered by us will receive no support in official Kodi channels, including the Kodi forums and various social networks.[/COLOR]</disclaimer>

View File

@@ -4,7 +4,8 @@
# ------------------------------------------------------------
import requests, json, copy
from core import support, autorenumber
from core import support
from platformcode import autorenumber
try: from lib import cloudscraper
except: from lib import cloudscraper

View File

@@ -3,13 +3,8 @@
# Canale per vvvvid
# ----------------------------------------------------------
import requests, sys
from core import support, tmdb, autorenumber
if sys.version_info[0] >= 3:
pass
else:
pass
from core import support, tmdb
from platformcode import autorenumber
host = support.config.get_channel_url()

View File

@@ -6,6 +6,10 @@
# Used to obtain series data for the video library
# ------------------------------------------------------------
import sys
if sys.version_info[0] >= 3: PY3 = True
else: PY3 = False
from future import standard_library
standard_library.install_aliases()
from future.builtins import object
@@ -390,9 +394,11 @@ class Tvdb(object):
url = HOST + "/login"
params = {"apikey": apikey}
if PY3: params = jsontools.dump(params).encode()
else: params = jsontools.dump(params)
try:
req = urllib.request.Request(url, data=jsontools.dump(params), headers=DEFAULT_HEADERS)
req = urllib.request.Request(url, data=params, headers=DEFAULT_HEADERS)
response = urllib.request.urlopen(req)
html = response.read()
response.close()