Commit Graph

114 Commits

Author SHA1 Message Date
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.p.drummond@gmail.com
bb86526990 For a song to be classified as a stream, its file *must* contain :// 2012-05-02 18:36:34 +00:00
craig.p.drummond@gmail.com
56557014b7 When updating a non-MTP device, prompt the user as to whether to perform a parial scan (only new songs are scanned), or a full scan (where all songs are rescanned). 2012-05-02 11:22:14 +00:00
craig.p.drummond@gmail.com
425e7d29db Make albums view (if set to sort artist before album) more consistent with library view. i.e. Place 'Various Artists' albums first, and place 'Single Tracks' as first 'Various Artists' album. 2012-04-30 11:41:49 +00:00
craig.p.drummond@gmail.com
8b24d760a4 When grouping songs into albums, take into account song year. Its possible for an artist to release two albums with the same name in different years!
BUG:6
2012-04-30 11:07:58 +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
677bb33361 Give streams key 0 2012-04-08 11:20:37 +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
4a7225a249 OK, need musiclibrayitem to inherit of QObject, just having Device inherit seems to produce crashes :-( 2012-04-02 18:03:00 +00:00
craig
566a2aec00 'modified title' is not really required 2012-04-02 18:01:36 +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
8e3e403263 Reduce memory usage - VERY slightly!!!! 2012-04-02 17:56:13 +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
40c7edd215 Remove unused 2012-03-29 15:48:42 +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
aeb05c50ed Update playlists if modified by another client. 2012-03-20 21:11:34 +00:00
craig
7db4b15c70 Add option to group albums with multiple artists under Various Artists. 2012-03-20 21:11:02 +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
5b2afef3f3 Much better playlist tree style 2012-03-06 19:03:40 +00:00
craig
6c2610fbcf Playlist string format 2012-03-06 19:02:54 +00:00
craig
6b9619d3e7 Cleanup 2012-03-06 19:01:35 +00:00
craig
63f5ee8c44 Cleanup MPDStats 2012-03-06 19:01:14 +00:00
craig
d0a275acfb Do album grouping in mpd thread 2012-03-06 18:58:48 +00:00
craig
e73973fd3a Update playlist list-style text 2012-03-05 19:50:40 +00:00
craig
5ee588303c Unknown song/cover 2012-03-04 21:03:12 +00:00
craig
ed4449d4af empty file == stream??? 2012-03-04 20:58:19 +00:00
craig
c3693f9414 File needs to contain :// to be a stream 2012-03-04 18:10:33 +00:00
craig
413035541c Standardise stream detection 2012-03-02 20:27:23 +00:00
craig
e35bdaa74c Sort songs when drag 2012-03-02 20:26:36 +00:00
craig
cb664fe57b Remove " - " from track listing - more consistent with playqueue 2012-03-01 20:55:06 +00:00
craig
f5ae3c14b4 Fix path 2012-03-01 18:30:18 +00:00