TMDb Python default su Kodi 20
This commit is contained in:
@@ -617,7 +617,10 @@ def set_content(content_type, silent=False, custom=False):
|
|||||||
values.append(r['addonid'])
|
values.append(r['addonid'])
|
||||||
if not custom:
|
if not custom:
|
||||||
if content_type == 'movie':
|
if content_type == 'movie':
|
||||||
seleccion = values.index('metadata.themoviedb.org')
|
if PY3:
|
||||||
|
seleccion = values.index('metadata.themoviedb.org.python')
|
||||||
|
else:
|
||||||
|
seleccion = values.index('metadata.themoviedb.org')
|
||||||
else:
|
else:
|
||||||
seleccion = values.index('metadata.tvshows.themoviedb.org.python')
|
seleccion = values.index('metadata.tvshows.themoviedb.org.python')
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
|||||||
video_urls = []
|
video_urls = []
|
||||||
host = 'https://' + servertools.get_server_host('doodstream')[0]
|
host = 'https://' + servertools.get_server_host('doodstream')[0]
|
||||||
headers = {'User-Agent': httptools.get_user_agent(), 'Referer': page_url}
|
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
|
match = support.match(data, patron=r'''dsplayer\.hotkeys[^']+'([^']+).+?function\s*makePlay.+?return[^?]+([^"]+)''').match
|
||||||
if match:
|
if match:
|
||||||
|
|||||||
Reference in New Issue
Block a user