mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
Fix playing song not getting updated when moving a track
This commit is contained in:
parent
95323e8a6f
commit
2ff2e1c96f
@ -37,7 +37,12 @@ extension MPDClient {
|
||||
}
|
||||
if mpdIdle.contains(.queue) {
|
||||
self.fetchQueue()
|
||||
self.fetchStatus()
|
||||
|
||||
self.delegate?.didUpdateQueue(mpdClient: self, queue: self.queue)
|
||||
if let status = self.status {
|
||||
self.delegate?.didUpdateQueuePos(mpdClient: self, song: status.song)
|
||||
}
|
||||
}
|
||||
if mpdIdle.contains(.player) || mpdIdle.contains(.options) {
|
||||
self.fetchStatus()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user