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

268 Commits

Author SHA1 Message Date
dc86de752d
Create status class and reorganise MPDClient 2019-02-08 13:47:48 -05:00
21c77cd243
Add Queue heading 2019-02-08 13:47:47 -05:00
e6b3aff3bb
Split title and artist into their own columns 2019-02-08 13:47:47 -05:00
e0a9290684
Show the queue and update it when it changes 2019-02-08 13:47:47 -05:00
22926d343f
Update state of transport controls on state change 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
641a450279
Add modulemap for libmpdclient 2019-01-25 12:02:54 -05:00
5a7e8dcebb
Add libmpdclient bridge header 2019-01-25 11:26:11 -05:00
328e4cf602
Setup window and add toolbar buttons 2019-01-11 17:24:53 -05:00
6c38b7435e
Initial Commit 2018-07-31 13:05:54 -04:00