Commit Graph

68 Commits

Author SHA1 Message Date
craig.p.drummond
1e781a9a37 Use "play" command if play button is pressed and there is no current song. 2013-09-24 18:41:35 +00:00
craig.p.drummond
0c99596bd5 HTTP stream URL is per collection 2013-08-23 16:34:03 +00:00
craig.p.drummond
90e1ae4937 For MPD versions 0.17 and above, if Cantata can read a .cue file then it will list each track as a separate entry in the artists and albums views.
BUG: 249
2013-07-02 19:20:40 +00:00
craig.p.drummond
80c441a12f Fix MPDConnectionDetails::operator== 2013-06-24 18:42:29 +00:00
craig.p.drummond
93db55160e Add support for a simple profile where MPD is started by cantata, and the only settings are the music folder and cover names. 2013-06-23 08:51:19 +00:00
craig.p.drummond
58507f551b Add debug logging 2013-06-10 16:34:22 +00:00
craig.p.drummond
6115ba30ca Remove lyrics and info pages, and place within a new context view. 2013-05-18 10:13:53 +00:00
craig.p.drummond
ab3c63410f - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +00:00
craig.p.drummond
b75ce3205d Attempt to fix stop-after-current when there is only 1 track in the playqueue, and this is set to repeat 2013-04-19 18:32:37 +00:00
craig.p.drummond
46c7b6fe8b - Ignore mouse-wheel move on volume button if muted
- Add mouse-wheel filter to volume popup menu
2013-04-14 12:28:50 +00:00
craig.p.drummond
b78b318dc2 track ID is a signed in 2013-04-06 07:45:11 +00:00
craig.p.drummond
20c0ca438d Better control over stopAfterCurrentId 2013-04-06 07:44:47 +00:00
craig.p.drummond
55911ebc93 Add 'Stop after track' to playqueue context menu. 2013-04-04 19:57:52 +00:00
craig.p.drummond
18bccfa5f9 Indicate stop-after track 2013-04-04 19:01:12 +00:00
craig.p.drummond
b4d2ac68b0 Mute/unmute 2013-04-04 19:00:51 +00:00
craig.p.drummond
3d1629ab35 Implement 'Stop after current track' 2013-03-29 20:58:28 +00:00
craig.p.drummond
804344f9e8 Formatting 2013-03-22 21:17:54 +00:00
craig.p.drummond
3444e84012 If replacing playqueue with a stream, then start playing when added. 2013-02-13 19:42:27 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
f87d7b063b Move server info into a dialog. 2013-01-12 08:30:57 +00:00
craig.p.drummond
9bffe212dd Move MPD thread into MPDConnection class 2012-12-08 11:25:32 +00:00
craig.p.drummond
563335bc16 When refresh button is pressed send an update and stats request to MPD. 2012-11-26 21:28:05 +00:00
craig.p.drummond
2521a1efd5 - Remove cover fetching from dyanmizer
- Only add config item for dynamizer port, as remote dynamizer should really be on the same machine as MPD.
2012-10-10 19:00:28 +00:00
craig.p.drummond
43ef241b02 Add setting to control name of downloaded cover files.
BUG: 104
2012-10-07 19:27:29 +00:00
craig.p.drummond
9654ce15a9 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
4e92b257d8 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
a0aab6879b Fix track order when adding newly added album, via folders page, to playqueue. 2012-08-20 11:36:51 +00:00
craig.p.drummond
832aaa6a08 Save MPD filename scheme settings with MPD server settings. 2012-08-13 18:56:01 +00:00
craig.p.drummond
279eae51a0 If socket.write() fails, to do a waitFroWritten!!! 2012-08-09 20:46:12 +00:00
craig.p.drummond
76ac26c2b7 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
a9db7a35d6 Attempt to reconnect every .5s (for 15s) when resuming 2012-08-08 11:16:26 +00:00
craig.p.drummond
e208f2bde5 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
169f8a97d9 - 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
09527996b1 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
614ad21b64 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
632bc04c9b Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig
5e5a10fe35 If connection fails due to password, then state this in error message. 2012-04-18 18:32:08 +00:00
craig
4181654bdf 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
fdc17d2542 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
97ef69b80c Translate some errors 2012-03-29 15:50:18 +00:00
craig
62bb1ee146 "listplaylist" command is not used. 2012-03-29 15:50:05 +00:00
craig
72265d2bf3 Support 'single' mode. 2012-03-29 15:49:47 +00:00
craig
5a57f336b8 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
7b7da1ef58 Fix removing, and moving, songs??? 2012-03-26 19:26:56 +00:00
craig
74e3663c5b 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
ea932bda1c Work on playlist editing 2012-03-21 19:04:10 +00:00
craig
e6182412c3 Initial import of grouped playlists - NOT FINISHED 2012-03-16 22:33:34 +00:00
craig
b450c6ad45 Reduce QMutex usage - have MPDStats/MPDStatus emitted as objects, and
stored in relevant classes.
2012-03-13 19:31:25 +00:00
craig
4e9a6496fb Disable MPD config items if not connected to MPD. 2012-02-29 20:48:39 +00:00