Commit Graph

221 Commits

Author SHA1 Message Date
craig.p.drummond
fbe374f5a6 Send a message (default to 'status') at least once every 30 seconds to keep command connection alive. 2014-10-12 12:07:02 +00:00
craig.p.drummond
e550e7b866 When disconnecting, and reconnecting, only reconnect command socket.
BUG: 561
2014-10-12 10:49:45 +00:00
craig.p.drummond
b2c8dc217d Ensure rating is in correct range.
BUG: 559
2014-10-09 19:17:31 +00:00
craig.p.drummond
2cc28aea09 Send 'play 0' to play first track. Looks like just 'play' can start at a random track!!! 2014-10-08 15:51:11 +00:00
craig.p.drummond
4c85d7cbaa Typo fixes: Uknown -> Unknown, ReplyGain -> ReplayGain 2014-10-07 18:47:35 +00:00
craig.p.drummond
b6b1ef135c Need to remove stop-after, and stop volume fade, if we issue a playcommand 2014-10-07 11:14:47 +00:00
craig.p.drummond
62ee2e8b9b If playlist is loaded and replaces playqueue, then start playback of first track. 2014-10-07 11:09:24 +00:00
craig.p.drummond
0228e8b5d9 - Be more consistent with eanbling/disabling idle socket signals
- Don't report on MPD errors from status - as we can get lots due to stickers.
2014-10-07 11:05:35 +00:00
craig.p.drummond
73ee40ec5b If a command fails to be sent to MPD, and the socket is in an error state, then completely disconnect and reconnect.
BUG: 550
2014-10-04 21:26:47 +00:00
craig.p.drummond
cebfe63a62 If connection fails, refresh playqueue and status 2014-10-04 19:17:23 +00:00
craig.p.drummond
1733e86103 Show notification when outputs changed.
BUG: 552
2014-10-01 11:02:19 +00:00
craig.p.drummond
4414353a8e Remove stream name, etc, from MPD errors. 2014-09-29 16:09:29 +00:00
craig.p.drummond
a188a41b39 Full refresh action. Needed to recognise changes to ArtistSort, etc. 2014-09-23 20:28:23 +00:00
craig.p.drummond
bfe2472fd1 - add inhibit suspend whilst playing for Mac
- add detection of resume from suspend for Mac
2014-09-22 19:45:48 +00:00
craig.p.drummond
2884bd3b51 Fix fade range 2014-08-18 19:05:52 +00:00
craig.p.drummond
534f86af13 Remove unused call 2014-08-18 19:05:37 +00:00
craig.p.drummond
9504a9a20e Use CANTATA_MAKE_VERSION not MPD_MAKE_VERSION 2014-08-18 19:04:31 +00:00
craig.p.drummond
cee8c7fb7d ReplayGain settings only valid for MPD v0.16 onwards. 2014-08-18 19:04:08 +00:00
craig.p.drummond
89e6f5a2f2 Add support for modified-since MPD find command (MPD>=0.19)
UNTESTED!
2014-08-17 14:58:06 +00:00
craig.p.drummond
e882e2e386 Stop volume fade if stopping after 2014-08-01 20:34:09 +00:00
craig.p.drummond
75cc63ea16 Initial support for ratings - stored in MPD's sticker DB. This is NOT complete - support in dynamic playlists is still TODO... 2014-07-21 19:01:56 +00:00
craig.p.drummond
b6d6039692 Add some debug when clear errors 2014-07-10 19:50:34 +00:00
craig.p.drummond
ce77335169 Clear MPDs error message after display - so that we dont keep on displaying it! 2014-07-10 19:48:08 +00:00
craig.p.drummond
b7a047df5f Move fade-on-stop code into MPDConnection class 2014-07-08 19:15:55 +00:00
craig.p.drummond
0e4bfcea2a Store radio station 'name' field in extra map 2014-06-16 19:14:18 +00:00
craig.p.drummond
071be39b0d Add performer and composer to table-view for playqueue, playlists, and search 2014-06-11 18:27:13 +00:00
craig.p.drummond
d2b42dc53f Disable scrobble love button when playqueue is empty. 2014-06-02 19:49:40 +00:00
craig.p.drummond
3e69bfe988 Check list sizes before at() call
BUG: 484??
2014-05-23 21:43:31 +00:00
craig.p.drummond
8656803587 Use client-to-client to talk to cantata-dynamic when run in server mode => no need for port setting! 2014-05-23 21:38:33 +00:00
craig.p.drummond
3b3a5e1d44 Re-enable 'love' button if action fails 2014-05-21 18:44:32 +00:00
craig.p.drummond
fd77d09325 Fix scrobble 'love' via mpdscribble 2014-05-21 18:44:09 +00:00
craig.p.drummond
8a2c359602 - 'Love' tracks
- 'Love' via MPDScribble
2014-05-20 18:40:21 +00:00
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
41c6462eab Store streams in '[Radio Streams]' MPD playlist - and not streams.xml.gz 2014-05-02 16:36:25 +00:00
craig.p.drummond
459b85489b If connection to MPD faiils, attempt to ascertain if its a proxy error.
BUG: 471
2014-04-29 19:03:01 +00:00
craig.p.drummond
03e599830c More debug 2014-04-29 19:01:05 +00:00
craig.p.drummond
5f70776afa Log socket error string 2014-04-29 18:59:28 +00:00
craig.p.drummond
b6fd0973ce No need for settings class in touch builds 2014-04-16 17:48:51 +00:00
craig.p.drummond
4e040db541 Disable MPDUser for touch builds 2014-04-15 19:20:42 +00:00
nikwen.developer@gmail.com
e1593b7dd0 Initial Ubuntu SDK version 2014-04-08 22:18:27 +00:00
craig.p.drummond
b082f06db8 MPDConnection itself can call playlist update 2014-04-08 18:55:01 +00:00
craig.p.drummond
3f44442242 More debug 2014-04-07 20:23:20 +00:00
craig.p.drummond
9570c952ba Fix comments 2014-04-07 20:23:02 +00:00
craig.p.drummond
1f79ac3808 Dont send update per dir 2014-04-04 19:33:03 +00:00
craig.p.drummond
72013de7b6 Fix adding songs to playqueue with priority when playqueue is not empty. 2014-03-26 19:40:22 +00:00
craig.p.drummond
0b8d731f0a Only parse items of songs as required 2014-03-26 19:36:20 +00:00
craig.p.drummond
7bcb40d159 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +00:00
craig.p.drummond
c80751e82a Fix port number format in KDE builds 2014-03-14 19:09:20 +00:00
craig.p.drummond
5af3fdcfab Fix updating-db message/spinner 2014-03-14 19:08:10 +00:00
craig.p.drummond
2301fc969e Speed-up MPD response parsing, by only converting strings to UTF-8 when required 2014-03-07 17:20:07 +00:00