From d04456ee36e7e1815c9a553abd0ba1c0836e4e3c Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Mon, 20 Mar 2023 20:21:47 -0400 Subject: [PATCH] Fix music album loop function --- components/manager/ViewCreator.brs | 1 + components/mediaPlayers/AudioPlayer.xml | 3 +++ components/music/AudioPlayerView.brs | 34 ++++++++++++++++--------- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/components/manager/ViewCreator.brs b/components/manager/ViewCreator.brs index 1b722311..fa23c26f 100644 --- a/components/manager/ViewCreator.brs +++ b/components/manager/ViewCreator.brs @@ -106,5 +106,6 @@ sub onStateChange() ' Playback completed, return user to previous screen m.global.sceneManager.callFunc("popScene") + m.global.audioPlayer.loopMode = "" end if end sub diff --git a/components/mediaPlayers/AudioPlayer.xml b/components/mediaPlayers/AudioPlayer.xml index 69a8b143..ec105757 100644 --- a/components/mediaPlayers/AudioPlayer.xml +++ b/components/mediaPlayers/AudioPlayer.xml @@ -1,5 +1,8 @@ + + +