Commit Graph

72 Commits

Author SHA1 Message Date
craig.p.drummond
26b3bdc59c Fix saving/reading/updating connection details. 2012-06-15 22:36:55 +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@gmail.com
692bbf6590 Show playlist files in library and album views.
BUG:27
2012-06-12 11:16:37 +00:00
craig.p.drummond
2224e3e7f7 Call 'status' *before* 'plchangesposid'. then ensure that the list of tracks we emit is filled with the amout status has returned. This fixes the case when we are playnig with streams, and mpd just updates the first track. Before we were only getting an update with 1 row, and thinking there was only 1 item in the play queue...
BUG:22
2012-06-10 20:03:28 +00:00
craig.p.drummond
3d4c516184 Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond
153c04ba69 Fix adding of playlists via d'n'd.
NOTE: cannot respect position when d'n'd as dont know size of playlist
2012-06-10 14:12:49 +00:00
craig.p.drummond
21d3167bbf Disable volume control if MPD returns a volume of -1 - as it does when the mixer is disabled.
BUG:23
2012-06-10 13:45:12 +00:00
craig.p.drummond
605a469703 Fix update when chaning connection 2012-06-09 12:27:15 +00:00
craig.p.drummond
b99ec2b073 Multiple server support fixes 2012-06-08 17:54:59 +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.p.drummond@gmail.com
7a489e74d2 Add support for listing playlist files in folder view.
BUG: 19
2012-06-06 11:14:29 +00:00
craig.p.drummond
f5f3114145 Reduce KDE/Qt code duplication - by creating dummy Dialog, MessageBox, and InputDialog classes/namespaces for Qt. 2012-05-31 17:45:57 +00:00
craig.p.drummond@gmail.com
da2b114c80 Only automatically start playing songs if we are replacing the playqueue, or the song is the first song added via the commandline.
BUG:13
2012-05-12 19:39:36 +00:00
craig
0e27e4fece 'plchangesposid' sends all remaing IDs, so no need to check at end. Was causing a phatom, empty, song to appear in playqueue model. 2012-04-18 21:41:58 +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
a76d3af50b Disable debug 2012-04-17 15:52:01 +00:00
craig
62d29a402f Request list of URL handlers immediately after connecting. 2012-04-17 15:51:40 +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
e58ccd1cf7 Re-arrange connection logic. dyanmizer appears to (sometimes) be causing errors! 2012-04-16 21:06:09 +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
4d0be442d6 Playlists model expects rows to be in ascending order when removing 2012-04-05 14:26:58 +00:00
craig
231da46a7c Cleanup 2012-04-05 14:19:26 +00:00
craig
72a0ca84c5 Delete rows in reverse 2012-04-05 14:19:16 +00:00
craig
a67d3a703d debug 2012-04-02 18:01:14 +00:00
craig
9608e469ad Fix single-tracks / multiple-artists when list is refreshed 2012-04-02 18:00:15 +00:00
craig
2d954d192d Need more work to translate errors :-( 2012-03-29 16:47:08 +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
a3b473585d No need for explicit update 2012-03-26 18:33:24 +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
acf9ed1c37 Include QStringList 2012-03-14 17:27:56 +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
6b9619d3e7 Cleanup 2012-03-06 19:01:35 +00:00
craig
86b92ccf49 No quotes around MPD 2012-02-26 15:00:55 +00:00
craig
24dd1f7060 When loose MPD connection, indicate via message widget. 2012-02-16 21:05:46 +00:00
craig
921d584f58 Fx Qt only 2012-02-14 21:23:18 +00:00
craig
8edd046e02 Show when lose connection 2012-02-13 21:03:27 +00:00
craig
4ce0df037c Add 'copy to device', etc, actions to folders page. 2012-02-10 20:32:56 +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
66b7f95969 Slightly better error messages 2012-02-06 19:51:54 +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
d6e899a062 - Don't allow to change Music folder for UMS devices when properties dialog is shown from copy dialog.
- Reduce MPD connect/disconnect state changes
- Clean up when abort is requested
2012-01-28 11:28:43 +00:00
craig
6806bf6669 Improve playqueue handling when we have 1000s of entries. 2012-01-24 21:59:37 +00:00