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

11 Commits

Author SHA1 Message Date
dc86de752d
Create status class and reorganise MPDClient 2019-02-08 13:47:48 -05:00
e0a9290684
Show the queue and update it when it changes 2019-02-08 13:47:47 -05:00
6bd29cdf00
Remove debugging 2019-02-08 13:47:47 -05:00
774312dee0
Initialize status
This also fixes an occasional crash seen on quitting the app.
2019-02-08 13:47:47 -05:00
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
909f8f68fb
Should be able to skip tracks while paused 2019-02-07 21:28:51 -05:00
9ec70e76b0
Check playing state before sending next/previous 2019-02-07 21:28:51 -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