From 87cc432696865779a24b6c27e08ba0056a958691 Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Sat, 11 Jan 2025 00:19:40 +1100 Subject: [PATCH] Disable http server idle shutdown on Linux systems #1056 - Work around for xbmc/xbmc#17047 --- resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py b/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py index 24caf27ee..b6b91cf61 100644 --- a/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py +++ b/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py @@ -100,6 +100,8 @@ def process_default_settings(context, step, steps, **_kwargs): settings.alternative_player_mpd(False) if settings.cache_size() < 20: settings.cache_size(20) + if context.get_infobool('System.Platform.Linux'): + settings.httpd_sleep_allowed(False) with ui.create_progress_dialog( heading=localize('httpd'), message=localize('httpd.connect.wait'),