Commit Graph

189 Commits

Author SHA1 Message Date
craig.p.drummond
786f2b39f6 Move model roles into separate roles.h file. 2014-04-23 20:36:38 +00:00
craig.p.drummond
16cc495b95 Fix 'No artists found' / 'No playlists found' messages 2014-04-13 07:04:22 +00:00
craig.p.drummond
eb34a2bcd5 Remove Actions and Icons from Ubuntu build 2014-04-11 17:45:59 +00:00
craig.p.drummond
35ffb8d2ea Album covers!!!! 2014-04-11 17:43:39 +00:00
craig.p.drummond
09fe4daa54 Dont save XML if we have just read it from file!!! 2014-04-11 17:42:03 +00:00
craig.p.drummond
68c7183067 Create validCacheDate Fn and use this 2014-04-02 17:41:29 +00:00
craig.p.drummond
6cc3f52f41 Simpify cache save logic 2014-04-02 17:40:14 +00:00
craig.p.drummond
9db18d95a8 Add action to reset 'new' status 2014-03-26 19:38:43 +00:00
craig.p.drummond
cde6c0e40b If Cantata detects that an album, or artist, has new songs after updating MPD's DB, then the artist and album are drawn with bold text. 2014-03-26 19:37:26 +00:00
craig.p.drummond
bf363ec0d9 Load artist iamges in non-UI thread too. Should only be album images in artists view that are loaded in UI thread. Tried loading these in non_UI thread, but didnt like delay in showing covers. 2014-03-20 19:58:40 +00:00
craig.p.drummond
7bcb40d159 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +00:00
craig.p.drummond
15b91d0273 Speedup song list 2014-03-14 19:15:57 +00:00
craig.p.drummond
b9722e3428 Enable 'Refresh DB' for Mopidy - does not actually refresh db, as mopidy does not support this, but Cantata's cache will be deleted and library reloaded. 2014-02-06 19:48:43 +00:00
craig.p.drummond
7cda7b29d5 Need to store if date is unreliable (i.e. 0) in cache 2014-02-05 19:22:07 +00:00
craig.p.drummond
5f64cf2803 Simplify MPD update 2014-01-31 19:51:29 +00:00
craig.p.drummond
a9d7461de0 Fix saving of MPD datetime to folder cache 2014-01-28 19:12:35 +00:00
craig.p.drummond
92ed4d6b5b Mopidy sets DB time to 0, so need to handle this :-( 2014-01-22 19:21:16 +00:00
craig.p.drummond
570faef57c Artists and Albums models dont need to use covers from AudioCDs... 2014-01-20 21:12:52 +00:00
craig.p.drummond
d91f8807d2 Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
bb2f217304 Add model test code 2013-11-21 18:15:36 +00:00
craig.p.drummond
65662b6a5b Also replace ~ with _ for cache file name - as MPD 0.18 allows usage of ~ in local socket name. 2013-11-18 21:25:01 +00:00
craig.p.drummond
21a5302020 If no db time from MPD, use current time. Proxy DB setups dont sent DB time!! 2013-11-15 19:38:03 +00:00
craig.p.drummond
d013c66ec7 Better parent checking 2013-11-12 20:20:56 +00:00
craig.p.drummond
56f99bac16 Fix crash when an album link is clicked on in context-view when current song is from a Various Artists album and the album link is to another album by the artist.
BUG: 327
2013-11-12 20:20:08 +00:00
craig.p.drummond
c6ab93deb0 Only save cache if we have a valid date 2013-11-10 17:52:19 +00:00
craig.p.drummond
4ea883616f If MPD's database time is invalid, and the cache's database time is invalid, then accept a database listing. This works-around an issue with using MPD's proxy DB - where no database time is sent.
BUG: 326
2013-11-10 17:47:55 +00:00
craig.p.drummond
cd3efc8b0d When gettnig albums, need to check all tracks if artist!=albumartist 2013-10-28 19:46:30 +00:00
craig.p.drummond
87384ab036 Also match on 'basicArtist' when looking for albums 2013-10-28 19:44:22 +00:00
craig.p.drummond
360e10f0bb Only need to calculate song file size in action dialog 2013-10-25 20:04:22 +00:00
craig.p.drummond
d7740e7733 Initial podcast support
NOTE: This is NOT fully implemented, or functional!!!
2013-09-17 16:25:58 +00:00
craig.p.drummond
a23c83be98 Save cache if toggle grouping 2013-08-22 18:20:53 +00:00
craig.p.drummond
b3ecd8abc0 Keep track if this is MPD model or not 2013-07-23 10:31:23 +00:00
craig.p.drummond
3539a22252 Set model on root item, so that sync dialog works!!! 2013-07-23 10:27:13 +00:00
craig.p.drummond
7b7f35aa95 Reduce code duplication slightly - by placing common code in MusicModel and MultiMusicModel 2013-07-17 18:16:50 +00:00
craig.p.drummond
e9b9e30d18 Use cached row wherever possible 2013-07-15 19:16:31 +00:00
craig.p.drummond
d6b3b5e68f Fix missing icons in artists tab. 2013-07-03 18:50:30 +00:00
craig.p.drummond
fbfc646f1a Use album time for playlist duration in artists and albums views 2013-07-03 15:42:39 +00:00
craig.p.drummond
8511f0a28b Better cue sheet support 2013-07-03 15:41:56 +00:00
craig.p.drummond
d012a818d4 Dont count playlist in stats 2013-07-03 15:38:54 +00:00
craig.p.drummond
c604d84629 Fix playlist icons 2013-07-03 15:37:52 +00:00
craig.p.drummond
0e0242896d 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
ca8189b865 Improve title for icon view 2013-07-02 19:19:32 +00:00
craig.p.drummond
a8d753d4f6 Fix selection of items in sync dialog 2013-06-17 18:36:19 +00:00
craig.p.drummond@gmail.com
a1e53e5ee9 Refresh albums view when multiple-artist grouping is changed. 2013-06-13 11:29:34 +00:00
craig.p.drummond
9de0ac4b22 Store port number in cache filename, to handle cases where more than 1 MPD is running on a host 2013-06-12 20:02:36 +00:00
craig.p.drummond
dc6e3af0d8 Fix Qt5 segfault on exit, due to static QIcons being destructed. 2013-06-12 19:56:59 +00:00
craig.p.drummond
65ebe28963 Speed up check/uncheck of artists and albums 2013-06-07 19:21:28 +00:00
craig.p.drummond
8f420c03f2 Clean compressed library caches too 2013-06-05 16:54:22 +00:00
craig.p.drummond
af09caf821 Cache list of artist for a various artists album 2013-06-05 16:52:52 +00:00