mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Remove extra slash from URLs in get_subtitles
This commit is contained in:
parent
1982d32ab3
commit
38ea9ba77c
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ class PlayUtils(object):
|
|||
def get_subtitles(self, source, stream, index):
|
||||
|
||||
if stream['IsTextSubtitleStream'] and 'DeliveryUrl' in stream and stream['DeliveryUrl'].lower().startswith('/videos'):
|
||||
url = "%s/%s" % (self.info['ServerAddress'], stream['DeliveryUrl'])
|
||||
url = "%s%s" % (self.info['ServerAddress'], stream['DeliveryUrl'])
|
||||
else:
|
||||
url = "%s/Videos/%s/%s/Subtitles/%s/Stream.%s?api_key=%s" % (
|
||||
self.info['ServerAddress'],
|
||||
|
|
Loading…
Reference in a new issue