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
be98d0ffd6
Move MPD connection to AppDelegate 2019-02-02 13:27:02 -05:00
66543f9596
Should be able to skip tracks while paused 2019-02-02 13:26:00 -05:00
66e41aca04
Check playing state before sending next/previous 2019-02-02 13:26:00 -05:00
637711edc1
Refactor mpdclient to fetch status 2019-02-02 13:26:00 -05:00
c4cfd57d3d
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-02 13:26:00 -05:00
ca55177c81
You can press a button and a thing happens! 2019-02-02 13:26:00 -05:00