mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 10:04:39 +02:00
Fix typo in if statement
This commit is contained in:
parent
021d63d973
commit
c02adfa326
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class AudioPlayer: NSObject {
|
|||
|
||||
// Seek the player before initializing, so a currentTime of 0 does not appear in MediaProgress / session
|
||||
let firstReady = self.status < 0
|
||||
if firstReady || !self.playWhenReady {
|
||||
if firstReady && !self.playWhenReady {
|
||||
// Seek is async, and if we call this when also pressing play, we will get weird jumps in the scrub bar depending on timing
|
||||
// Seeking to the correct position happens during play()
|
||||
self.seek(playbackSession.currentTime, from: "queueItemStatusObserver")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue