mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 07:34:32 +00:00
Merge branch 'pr-159' into feature/media
MERGE TRIAL FOR THE LYRICS THINGY
This commit is contained in:
commit
9910f2fb65
3 changed files with 7 additions and 9 deletions
|
|
@ -370,8 +370,7 @@ class MusicManager: ObservableObject {
|
|||
}
|
||||
} else {
|
||||
let shouldClearForKnownDuration =
|
||||
!isPlaying
|
||||
|| (duration > 10 && remaining > 5)
|
||||
(duration > 10 && remaining > 5)
|
||||
|| (liveStreamCompletionObservationCount == 0
|
||||
&& liveStreamEdgeObservationCount == 0
|
||||
&& liveStreamCompletionReleaseCount >= 4)
|
||||
|
|
@ -394,9 +393,6 @@ class MusicManager: ObservableObject {
|
|||
liveStreamEdgeObservationCount = 0
|
||||
liveStreamCompletionObservationCount = 0
|
||||
liveStreamCompletionReleaseCount = 0
|
||||
if !hasKnownDuration && isLiveStream {
|
||||
isLiveStream = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue