Fix Alexa not doing anything

This commit is contained in:
tomkat83 2017-03-10 06:51:19 +01:00
parent 325365fa20
commit 18d525ae90

View file

@ -106,7 +106,7 @@ def Plex_Node(url, viewOffset, playdirectly=False, node=True):
log.info('Plex_Node called with url: %s, viewOffset: %s'
% (url, viewOffset))
# 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)
else:
xml = downloadutils.DownloadUtils().downloadUrl('{server}%s' % url)