From 1dc74269f3cbf0becb05aafcf9389a49833b3573 Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Wed, 20 Nov 2019 12:08:48 +0100 Subject: [PATCH] Fix Channelselector --- channelselector.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/channelselector.py b/channelselector.py index 679ead09..e79b3e0b 100644 --- a/channelselector.py +++ b/channelselector.py @@ -274,7 +274,10 @@ def get_thumb(thumb_name, view="thumb_", auto=False): if config.get_setting('enable_custom_theme') and config.get_setting('custom_theme') and os.path.isfile(config.get_setting('custom_theme') + view + thumb_name): media_path = config.get_setting('custom_theme') - return os.path.join(media_path, view + thumb_name) + thumbnail = os.path.join(media_path, view + thumb_name) + if 'http' in thumbnail: + thumbnail = thumbnail.replace('\\','/') + return thumbnail def set_channel_info(parameters):