From dd81d1a3d70476415e66b5bc9ea1e7b222a2f9a8 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 16 May 2021 21:26:30 -0400 Subject: [PATCH] Remove double slash when transcoding with a baseurl --- jellyfin_kodi/helper/playutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin_kodi/helper/playutils.py b/jellyfin_kodi/helper/playutils.py index a674e183..ead0d4c0 100644 --- a/jellyfin_kodi/helper/playutils.py +++ b/jellyfin_kodi/helper/playutils.py @@ -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'])