From 5c225dd5737441d41d6ee4dca4bb9f841ac86efc Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Sat, 1 Apr 2023 12:18:26 -0400 Subject: [PATCH] Still show album art during audio playback. --- components/mediaPlayers/AudioPlayer.brs | 1 + components/mediaPlayers/AudioPlayer.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/mediaPlayers/AudioPlayer.brs b/components/mediaPlayers/AudioPlayer.brs index 10753058..9e612373 100644 --- a/components/mediaPlayers/AudioPlayer.brs +++ b/components/mediaPlayers/AudioPlayer.brs @@ -1,5 +1,6 @@ sub init() m.playReported = false + m.top.disableScreenSaver = true m.top.observeField("state", "audioStateChanged") end sub diff --git a/components/mediaPlayers/AudioPlayer.xml b/components/mediaPlayers/AudioPlayer.xml index ec105757..44525574 100644 --- a/components/mediaPlayers/AudioPlayer.xml +++ b/components/mediaPlayers/AudioPlayer.xml @@ -1,5 +1,5 @@ - +