stop showing the spinner a little earlier on audioplayer
This commit is contained in:
parent
f5d34ea9ec
commit
4e81dda7ad
|
@ -14,7 +14,6 @@ sub audioStateChanged()
|
|||
m.top.disableScreenSaver = (currentState = "playing")
|
||||
|
||||
if currentState = "playing" and not m.playReported
|
||||
stopLoadingSpinner()
|
||||
reportedPlaybackState = "start"
|
||||
m.playReported = true
|
||||
else if currentState = "stopped" or currentState = "finished"
|
||||
|
|
|
@ -447,6 +447,7 @@ sub loadButtons()
|
|||
end sub
|
||||
|
||||
sub onAudioStreamLoaded()
|
||||
stopLoadingSpinner()
|
||||
data = m.LoadAudioStreamTask.content[0]
|
||||
m.LoadAudioStreamTask.unobserveField("content")
|
||||
if data <> invalid and data.count() > 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user