From bdfa47f947590a900dd940923c49e935302ca39b Mon Sep 17 00:00:00 2001
From: MoojMidge <56883549+MoojMidge@users.noreply.github.com>
Date: Wed, 4 Sep 2024 21:50:46 +1000
Subject: [PATCH] Change default live stream type to reflect older ISA
compatibility and current Youtube stream qualities
---
.../lib/youtube_plugin/youtube/helper/yt_setup_wizard.py | 4 ++--
resources/settings.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
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 d50d80ff4..0758b3230 100644
--- a/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py
+++ b/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py
@@ -321,9 +321,9 @@ def process_default_settings(context, step, steps, **_kwargs):
settings.stream_select(4 if settings.ask_for_video_quality() else 3)
settings.set_subtitle_download(False)
if current_system_version.compatible(21, 0):
- settings.live_stream_type(3)
- else:
settings.live_stream_type(2)
+ else:
+ settings.live_stream_type(1)
if not xbmcvfs.exists('special://profile/playercorefactory.xml'):
settings.default_player_web_urls(False)
if settings.cache_size() < 20:
diff --git a/resources/settings.xml b/resources/settings.xml
index d01bd58dc..d9c846891 100644
--- a/resources/settings.xml
+++ b/resources/settings.xml
@@ -688,7 +688,7 @@
0
- 3
+ 2
@@ -706,7 +706,7 @@
0
- 0
+ 1