mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Add initial version of music mode
This commit is contained in:
@@ -62,6 +62,10 @@ final class MPVBackend: PlayerBackend {
|
||||
private var controlsUpdates = false
|
||||
private var timeObserverThrottle = Throttle(interval: 2)
|
||||
|
||||
var tracks: Int {
|
||||
client?.tracksCount ?? -1
|
||||
}
|
||||
|
||||
init(model: PlayerModel, controls: PlayerControlsModel? = nil) {
|
||||
self.model = model
|
||||
self.controls = controls
|
||||
|
Reference in New Issue
Block a user