1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
f77141faa0
Add handler delegate for MPD client notifications 2019-02-08 13:47:46 -05:00
5d1230f2cc
Move MPD connection to AppDelegate 2019-02-08 13:47:46 -05:00
693ce17c4d
Refactor mpdclient to fetch status 2019-02-07 21:28:51 -05:00
49f2acd9ed
MPDClient correctly sequences commands
In order to avoid getting disconnected from the server, it is necessary
to send an "idle" command once you are connected. This tells the server
that the client is going to wait for a status change message from the
server. In the meantime if the client needs to send another command, it
must first send "noidle", then send the command, then send "idle" once
more. If the command results in a status change, the "idle" will return
immediately, which must be dealt with and then the "idle" command must
be sent once more.

Phew!
2019-02-07 21:28:50 -05:00
0bed74b7d3
You can press a button and a thing happens! 2019-02-07 21:28:50 -05:00
328e4cf602
Setup window and add toolbar buttons 2019-01-11 17:24:53 -05:00