Commit Graph

108 Commits

Author SHA1 Message Date
craig
0687a37f86 '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
5e5a10fe35 If connection fails due to password, then state this in error message. 2012-04-18 18:32:08 +00:00
craig
14b278f583 Disable debug 2012-04-17 15:52:01 +00:00
craig
800dddc394 Request list of URL handlers immediately after connecting. 2012-04-17 15:51:40 +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
cd3831c3db Re-arrange connection logic. dyanmizer appears to (sometimes) be causing errors! 2012-04-16 21:06:09 +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
7d02e8b27a Give streams key 0 2012-04-08 11:20:37 +00:00
craig
f650fa2f90 Playlists model expects rows to be in ascending order when removing 2012-04-05 14:26:58 +00:00
craig
c3a8c16884 Cleanup 2012-04-05 14:19:26 +00:00
craig
b46329d53c Delete rows in reverse 2012-04-05 14:19:16 +00:00
craig
3b07a1897b OK, need musiclibrayitem to inherit of QObject, just having Device inherit seems to produce crashes :-( 2012-04-02 18:03:00 +00:00
craig
0e9c009fd7 'modified title' is not really required 2012-04-02 18:01:36 +00:00
craig
2d6e035b3c debug 2012-04-02 18:01:14 +00:00
craig
197ea42c14 Fix single-tracks / multiple-artists when list is refreshed 2012-04-02 18:00:15 +00:00
craig
2d657b4007 Reduce memory usage - VERY slightly!!!! 2012-04-02 17:56:13 +00:00
craig
c4d60bc6c3 Need more work to translate errors :-( 2012-03-29 16:47:08 +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
d69febfb38 Remove unused 2012-03-29 15:48:42 +00:00
craig
7b7da1ef58 Fix removing, and moving, songs??? 2012-03-26 19:26:56 +00:00
craig
5ad1a144b2 No need for explicit update 2012-03-26 18:33:24 +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
c82cf8ed21 Update playlists if modified by another client. 2012-03-20 21:11:34 +00:00
craig
1621faf8d6 Add option to group albums with multiple artists under Various Artists. 2012-03-20 21:11:02 +00:00
craig
e6182412c3 Initial import of grouped playlists - NOT FINISHED 2012-03-16 22:33:34 +00:00
craig
a1676f5815 Include QStringList 2012-03-14 17:27:56 +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
6e8e8f1ace Much better playlist tree style 2012-03-06 19:03:40 +00:00
craig
2e2c1f34e4 Playlist string format 2012-03-06 19:02:54 +00:00
craig
82eb726af3 Cleanup 2012-03-06 19:01:35 +00:00
craig
2e58ef7a72 Cleanup MPDStats 2012-03-06 19:01:14 +00:00
craig
2a41a319f1 Do album grouping in mpd thread 2012-03-06 18:58:48 +00:00
craig
d8627fa867 Update playlist list-style text 2012-03-05 19:50:40 +00:00
craig
7b6a518a98 Unknown song/cover 2012-03-04 21:03:12 +00:00
craig
8ca83cdc0c empty file == stream??? 2012-03-04 20:58:19 +00:00
craig
c4eb377dfd File needs to contain :// to be a stream 2012-03-04 18:10:33 +00:00
craig
18e334a30e Standardise stream detection 2012-03-02 20:27:23 +00:00
craig
374bba3d71 Sort songs when drag 2012-03-02 20:26:36 +00:00
craig
9455709b5c Remove " - " from track listing - more consistent with playqueue 2012-03-01 20:55:06 +00:00
craig
b38f6740e5 Fix path 2012-03-01 18:30:18 +00:00
craig
4e9a6496fb Disable MPD config items if not connected to MPD. 2012-02-29 20:48:39 +00:00
craig
58d06d3a09 Track & title consistency 2012-02-29 18:09:48 +00:00
craig
973963c179 init vars 2012-02-28 19:32:24 +00:00
craig
c92e6629f3 Key is 16-bit 2012-02-28 19:28:46 +00:00
craig
2198dd6637 Initial import of collapsable play queue listview
TODO: Removing collapsed item only removes 1 track; reloading play queue needs to preserve exapanded albums
2012-02-27 22:03:07 +00:00
craig
a5324ca799 No quotes around MPD 2012-02-26 15:00:55 +00:00