mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-06 02:30:50 -08:00
Fix regression in handling audio only setting after d154325c5b
This commit is contained in:
parent
23282aa51d
commit
8924a95cce
1 changed files with 1 additions and 2 deletions
|
|
@ -74,10 +74,9 @@ def _play_stream(provider, context):
|
|||
ask_for_quality = settings.ask_for_video_quality()
|
||||
if ui.pop_property(PLAY_PROMPT_QUALITY) and not screensaver:
|
||||
ask_for_quality = True
|
||||
audio_only = not ask_for_quality and settings.audio_only()
|
||||
if ui.pop_property(PLAY_FORCE_AUDIO):
|
||||
audio_only = True
|
||||
else:
|
||||
audio_only = settings.audio_only()
|
||||
use_mpd = ((not is_external or settings.alternative_player_mpd())
|
||||
and settings.use_mpd_videos()
|
||||
and context.ipc_exec(SERVER_WAKEUP, timeout=5))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue