From 4d6e7ee03f926d88cca07f0511ce22652b827c0b Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Fri, 4 Oct 2024 06:30:12 +1000 Subject: [PATCH] Fix regression with not using content type when routing after f239764 #922 --- resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py b/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py index 50d58fc0d..7e54f32d3 100644 --- a/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py +++ b/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py @@ -261,8 +261,9 @@ def run(self, provider, context, focused=None): cache_to_disc = options.get(provider.RESULT_CACHE_TO_DISC, True) update_listing = options.get(provider.RESULT_UPDATE_LISTING, False) else: - ui.clear_property(CONTENT_TYPE) succeeded = bool(result) + if not succeeded: + ui.clear_property(CONTENT_TYPE) cache_to_disc = False update_listing = True