mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Remove double slash when transcoding with a baseurl
This commit is contained in:
parent
b6cd28e39c
commit
dd81d1a3d7
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class PlayUtils(object):
|
|||
|
||||
video_type = 'live' if source['Protocol'] == 'LiveTV' else 'master'
|
||||
base = base.replace('stream' if 'stream' in base else 'master', video_type, 1)
|
||||
self.info['Path'] = "%s/%s?%s" % (self.info['ServerAddress'], base, params)
|
||||
self.info['Path'] = "%s%s?%s" % (self.info['ServerAddress'], base, params)
|
||||
self.info['Path'] += "&maxWidth=%s&maxHeight=%s" % (self.get_resolution())
|
||||
else:
|
||||
self.info['Path'] = "%s/%s" % (self.info['ServerAddress'], source['TranscodingUrl'])
|
||||
|
|
Loading…
Reference in a new issue