TMDb Python default su Kodi 20
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user