mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-05-25 07:05:27 +00:00
Clarify state
This commit is contained in:
parent
b73763a9ec
commit
f4b05a3236
1 changed files with 1 additions and 2 deletions
|
|
@ -462,11 +462,10 @@ class AudioPlayer: NSObject {
|
|||
}
|
||||
|
||||
public func getPlayerState() -> PlayerState {
|
||||
// Other PlayerStates doesn't translate to player status
|
||||
switch status {
|
||||
case .uninitialized:
|
||||
return PlayerState.buffering
|
||||
default:
|
||||
case .paused, .playing:
|
||||
return PlayerState.ready
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue