Skip to content

Commit

Permalink
Change default live stream type to reflect older ISA compatibility an…
Browse files Browse the repository at this point in the history
…d current Youtube stream qualities
  • Loading branch information
MoojMidge committed Sep 4, 2024
1 parent 5c5c718 commit bdfa47f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions resources/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@
</setting>
<setting id="kodion.live_stream.selection.1" type="integer" label="30689" help="30690">
<level>0</level>
<default>3</default> <!-- isa_mpd -->
<default>2</default> <!-- isa_hls -->
<constraints>
<options>
<option label="30740">0</option> <!-- mpegts -->
Expand All @@ -706,7 +706,7 @@
</setting>
<setting id="kodion.live_stream.selection.2" type="integer" label="30689" help="">
<level>0</level>
<default>0</default> <!-- mpegts -->
<default>1</default> <!-- hls -->
<constraints>
<options>
<option label="30740">0</option> <!-- mpegts -->
Expand Down

0 comments on commit bdfa47f

Please sign in to comment.