TMDb Python default su Kodi 20

This commit is contained in:
marco
2023-01-30 19:55:37 +01:00
parent fcf3f8cba3
commit b1e46658f0
2 changed files with 4 additions and 2 deletions

View File

@@ -617,6 +617,9 @@ def set_content(content_type, silent=False, custom=False):
values.append(r['addonid'])
if not custom:
if content_type == 'movie':
if PY3:
seleccion = values.index('metadata.themoviedb.org.python')
else:
seleccion = values.index('metadata.themoviedb.org')
else:
seleccion = values.index('metadata.tvshows.themoviedb.org.python')

View File

@@ -24,7 +24,6 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
video_urls = []
host = 'https://' + servertools.get_server_host('doodstream')[0]
headers = {'User-Agent': httptools.get_user_agent(), 'Referer': page_url}
support.dbg()
match = support.match(data, patron=r'''dsplayer\.hotkeys[^']+'([^']+).+?function\s*makePlay.+?return[^?]+([^"]+)''').match
if match: