Commit Graph

43 Commits

Author SHA1 Message Date
craig.p.drummond
b877562085 Add a server mode (with HTTP API) to cantata-dynamic. Intended so that dynamizer can run on same host as mpd 2012-09-07 19:42:17 +00:00
craig.p.drummond@gmail.com
b9fd3eb225 In KDE builds, check if MPD is readable each time we get a device added or removed signal from Solid. (Requires KDE4.9 to function correctly)
BUG:53
2012-08-21 17:55:06 +00:00
craig.p.drummond@gmail.com
be707eaa3c Fix track order when adding newly added album, via folders page, to playqueue. 2012-08-20 11:36:51 +00:00
craig.p.drummond
ace2380cb1 Save MPD filename scheme settings with MPD server settings. 2012-08-13 18:56:01 +00:00
craig.p.drummond
7ffe313d54 If socket.write() fails, to do a waitFroWritten!!! 2012-08-09 20:46:12 +00:00
craig.p.drummond
6a09f94b64 More work on reconnectnig after 'resume'
- Use a QTimer, so that we can have queued connection
- Show info mesasge (if taken longer than 1 second) to indicate that we are resuming
2012-08-09 19:44:33 +00:00
craig.p.drummond@gmail.com
41b7f8184f Attempt to reconnect every .5s (for 15s) when resuming 2012-08-08 11:16:26 +00:00
craig.p.drummond
44bc6d6587 With KDE builds (4.7 or later), and Windows Qt builds, reconnect to MPD when system is resumed. 2012-08-06 19:07:58 +00:00
craig.p.drummond
ce59bd7a36 - Use better names for library/folder loading signals.
- Don't pass dbDateTime into load function, instead store dbDateTime in connection and use this.
- Don't store db time all over the place in the GUI thread, turn MPDStats into a singleton like MPDStatus and use that
2012-06-27 17:05:48 +00:00
craig.p.drummond
5bff55a584 Support MPD queue functionality. Add an 'Add With Priority' to menu of library, etc, views. Add a 'Set Priority' to play queue. Requires MPD 0.17.0 or newer. 2012-06-15 19:05:14 +00:00
craig.p.drummond
8c9eb631f4 If an MPD connection has more than 1 output, show an 'Outputs' sub menu in the settings menu. 2012-06-08 17:54:25 +00:00
craig.p.drummond
f31a7264cd Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig
b0410a4c37 If connection fails due to password, then state this in error message. 2012-04-18 18:32:08 +00:00
craig
1c0f679b18 Improve MPD connection reliability. When one socket (command or idle) is
disconnected, only reconnect that one. If a reconnect fails, then
disconnect both. If we receive an empty reply to a command and socket has
been closed - then attempt to reconnect and resend command.
2012-04-17 15:51:10 +00:00
craig
ba5111b438 Need to keep track of which ids refer to streams, as these may change artist/title/etc, so will always need full updates 2012-04-08 17:39:01 +00:00
craig
98f84cd5a9 Translate some errors 2012-03-29 15:50:18 +00:00
craig
7564f134db "listplaylist" command is not used. 2012-03-29 15:50:05 +00:00
craig
5426dc3d84 Support 'single' mode. 2012-03-29 15:49:47 +00:00
craig
b60f6ffeb3 Use 'plchangesposid' MPD command to get list of playqueue changes - means
less data needs to be read from MPD per playqueue update.
2012-03-29 15:49:19 +00:00
craig
2c1b796e96 Fix removing, and moving, songs??? 2012-03-26 19:26:56 +00:00
craig
cdf12784bb Fix logic of replacing play queue - the clear message is sent in the MPD
thread just before the add message.
2012-03-26 18:22:26 +00:00
craig
09cd31443b Work on playlist editing 2012-03-21 19:04:10 +00:00
craig
c7df4c5160 Initial import of grouped playlists - NOT FINISHED 2012-03-16 22:33:34 +00:00
craig
d4a9c94147 Reduce QMutex usage - have MPDStats/MPDStatus emitted as objects, and
stored in relevant classes.
2012-03-13 19:31:25 +00:00
craig
4010148b32 Disable MPD config items if not connected to MPD. 2012-02-29 20:48:39 +00:00
craig
8edd046e02 Show when lose connection 2012-02-13 21:03:27 +00:00
craig
45b8a20eae Query MPD for list of supported protocols - and only allow supported URLs. 2012-02-09 19:17:01 +00:00
craig
783d6a44b8 Use KMessageWidget to show errors - copy of KDE code taken for pre KDE4.7 and
Qt only builds.
2012-02-06 19:50:22 +00:00
craig
4d17e5437a When using local UNIX domain socket, allow playback of non database files. 2012-02-06 19:49:53 +00:00
craig
2e186d7642 mpdConnectionDied is not used! 2012-02-01 21:07:14 +00:00
craig
9fc2286ce3 Update copyright statements. 2012-01-04 19:15:55 +00:00
craig
8e065b3c2f Allow to connect to local domain socket. 2011-12-28 20:55:17 +00:00
craig
1236144c09 Show spinner over library/album/folder view when loading. (KDE only) 2011-12-22 20:03:54 +00:00
craig
74d9e9629e Drag and drop from/to playlists 2011-12-14 19:44:09 +00:00
craig
4f0810834d Playlists work 2011-12-14 19:41:06 +00:00
craig
61d3cf1426 Strt of editable playlists 2011-12-14 19:39:52 +00:00
craig
c3466c12ca Start of info page 2011-12-07 21:11:35 +00:00
craig
0c092c8851 Check if playlist exists in cantata - rather than talking to mpd 2011-12-07 21:09:54 +00:00
craig
0d9bc42739 Place MPDConnection in its own thread, and use signals/slots to communicate with it. 2011-12-06 17:44:06 +00:00
craig
d39eb91753 Update copyright 2011-12-05 19:32:25 +00:00
craig
fb8b984f26 Add copyright 2011-12-04 10:48:50 +00:00
craig
7bde289b76 More code re-org 2011-12-03 20:17:23 +00:00
craig
4299c667f5 Re-org 2011-12-03 20:06:45 +00:00