Fix Alexa not doing anything
This commit is contained in:
parent
325365fa20
commit
18d525ae90
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def Plex_Node(url, viewOffset, playdirectly=False, node=True):
|
||||||
log.info('Plex_Node called with url: %s, viewOffset: %s'
|
log.info('Plex_Node called with url: %s, viewOffset: %s'
|
||||||
% (url, viewOffset))
|
% (url, viewOffset))
|
||||||
# Plex redirect, e.g. watch later. Need to get actual URLs
|
# Plex redirect, e.g. watch later. Need to get actual URLs
|
||||||
if url.startswith('http'):
|
if url.startswith('http') or url.startswith('{server}'):
|
||||||
xml = downloadutils.DownloadUtils().downloadUrl(url)
|
xml = downloadutils.DownloadUtils().downloadUrl(url)
|
||||||
else:
|
else:
|
||||||
xml = downloadutils.DownloadUtils().downloadUrl('{server}%s' % url)
|
xml = downloadutils.DownloadUtils().downloadUrl('{server}%s' % url)
|
||||||
|
|
Loading…
Reference in a new issue