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")
|
m.top.disableScreenSaver = (currentState = "playing")
|
||||||
|
|
||||||
if currentState = "playing" and not m.playReported
|
if currentState = "playing" and not m.playReported
|
||||||
stopLoadingSpinner()
|
|
||||||
reportedPlaybackState = "start"
|
reportedPlaybackState = "start"
|
||||||
m.playReported = true
|
m.playReported = true
|
||||||
else if currentState = "stopped" or currentState = "finished"
|
else if currentState = "stopped" or currentState = "finished"
|
||||||
|
|
|
@ -447,6 +447,7 @@ sub loadButtons()
|
||||||
end sub
|
end sub
|
||||||
|
|
||||||
sub onAudioStreamLoaded()
|
sub onAudioStreamLoaded()
|
||||||
|
stopLoadingSpinner()
|
||||||
data = m.LoadAudioStreamTask.content[0]
|
data = m.LoadAudioStreamTask.content[0]
|
||||||
m.LoadAudioStreamTask.unobserveField("content")
|
m.LoadAudioStreamTask.unobserveField("content")
|
||||||
if data <> invalid and data.count() > 0
|
if data <> invalid and data.count() > 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user