Lucas Lazare
e8dd1e2d2c
Adding missing ; and _
...
I'll admit I don't have libmpd on my computer
2019-05-18 20:10:42 -04:00
Lucas Lazare
51be97f9aa
Adding spdlog
2019-05-18 19:44:45 -04:00
Alex
0c3c548bc0
fix(Window): avoid concurrency
2019-05-13 14:35:45 +02:00
Alex
cccf60c30e
fix(Workspaces): fix concurrence and move json parser to ipc client
2019-04-23 11:42:08 +02:00
Minijackson
b50650f63f
fix(mpd): regularly timeout the event listener to prevent timeout
...
The MPD server has a connection_timeout that defaults to 60. If no data
is transferred in this timespan, the connection is closed. If the
connection is closed while the event listener is listening for events,
it will block forever. By timing out the event listening and
re-connecting regularly, we prevent this issue. An option "timeout" has
been added for users that have a lower server connection_timeout than
default. Fixes #277
2019-04-21 10:58:40 +02:00
Cole Helbling
12e1233d38
Fix compile-time warning of catch by value
2019-04-20 09:16:11 -07:00
Cole Helbling
160837b900
Ensure no NULL tags are set
...
Because `mpd_song_get_tag` from libmpdclient can return NULL, verify the
value of tag is valid. Otherwise, set a default string of "N/A". Also
adds configuration to specify what this default string should be.
2019-04-20 09:12:30 -07:00
Minijackson
66b0420391
fix(mpd): Escape MPD values in the label
2019-04-19 11:11:44 +02:00
Minijackson
3656035c89
fix(mpd): slightly better and safer error handling
2019-04-18 15:57:57 +02:00
Minijackson
0ce8821aec
feat(mpd): Add playing / paused classes
2019-04-18 15:57:57 +02:00
Minijackson
ab43d34a1e
refactor(mpd): Add module name to log messages
2019-04-18 15:57:57 +02:00
Minijackson
22eccc2ac2
feat(mpd): reset player state when connection drops
2019-04-18 15:57:57 +02:00
Minijackson
cd92b475ad
chore: Add clang-format configuration and format MPD module
2019-04-18 15:57:57 +02:00
Minijackson
235997fa73
feat(mpd): Add support for elapsed and total time
2019-04-18 15:55:46 +02:00
Minijackson
80a12d0238
feat(mpd): play/pause on click & stop on right-click
2019-04-18 15:55:46 +02:00
Minijackson
07dab2baec
feat(mpd): Add support for options (random, repeat, etc.)
2019-04-18 15:55:45 +02:00
Minijackson
cbfcec4867
feat(mpd): Add support for play/pause icons
2019-04-18 15:55:45 +02:00
Minijackson
557b786ce0
feat(mpd): Allow for specifying the reconnect interval
2019-04-18 15:55:45 +02:00
Minijackson
8c9dd94670
feat(mpd): Add support for setting tooltip label when disconnected
2019-04-18 15:55:45 +02:00
Minijackson
06aff70e2e
feat: Add basic support for MPD
2019-04-18 15:55:45 +02:00