Commit Graph

198 Commits

Author SHA1 Message Date
craig.p.drummond
c7e5a83d9d Store musicbrainz-album-id in extra map 2014-06-16 19:12:17 +00:00
craig.p.drummond
152ceec2d6 Match Q_OS_WIN and Q_OS_MAC more 2014-06-10 19:46:18 +00:00
craig.p.drummond
afbca1000e Read tag-fixes.xml and scrobblers.xml from user config folder as well. 2014-05-23 21:42:16 +00:00
craig.p.drummond
eb3265f379 - install XML files to config folder
- unify usage of these folders
2014-05-20 18:18:00 +00:00
craig.p.drummond
984cfe5eb2 Last.fm scrobbling support.
BUG: 352
2014-05-17 09:45:10 +00:00
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
0986033e16 Use musicbrainz album id for album key whenever possible. 2014-05-06 19:17:46 +00:00
craig.p.drummond
b6fd0973ce No need for settings class in touch builds 2014-04-16 17:48:51 +00:00
craig.p.drummond
69431c99f4 If a jpg has a png extension, or vice versa, then do not use the file for touch builds. As for these we pass the file to QImage, and this fails on these. 2014-04-15 19:23:03 +00:00
craig.p.drummond
7ceead0289 replace ?, :, and % with _ for touch builds 2014-04-11 18:00:23 +00:00
craig.p.drummond
f7181b534c Need to use albumArtist to load scaled cover! 2014-04-02 17:33:27 +00:00
craig.p.drummond
2f0b923b40 Remove unecessary include 2014-03-31 18:01:11 +00:00
craig.p.drummond
5edd006d74 Dont hard code artist name fixes 2014-03-31 17:57:01 +00:00
craig.p.drummond
001315c2df No real need for getting amarok/clementine covers. 2014-03-31 17:56:32 +00:00
craig.p.drummond
99692c0cb2 Dont look for "$trackFile.png/jpg" as a cover 2014-03-28 21:10:08 +00:00
craig.p.drummond
80c7d9e0fc Only add cover.png/jpg once to seach list, and add other standard ones too 2014-03-28 21:09:30 +00:00
craig.p.drummond
db0738fb0c Add more debug to locateImage, to detail each file being checked 2014-03-27 20:08:57 +00:00
craig.p.drummond
afdf3e00e3 Only look for other app cover in locate 2014-03-27 20:00:02 +00:00
craig.p.drummond
b5eaf59ccb Read file header to determine type 2014-03-27 07:40:14 +00:00
craig.p.drummond
41502ee86a When loading covers, if load fails, check to see if this is because of an incorrect extension. e.g. load a .jpg file with PNG type, and vice versa. 2014-03-26 19:41:36 +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
cc53edfb2b When emitting loaded signal, pass whole song not just artist+album 2014-03-19 19:50:46 +00:00
craig.p.drummond
1539339954 Only create QPixmaps in GUI thread - creating in non GUI thread can lead to crashes. 2014-03-19 19:50:14 +00:00
craig.p.drummond
fe2bbf8935 Fix display of online service logo in playqueue 2014-03-19 19:49:38 +00:00
craig.p.drummond
e93b61543a Load all covers from album, and playqueue, views in non UI thread 2014-03-19 19:49:10 +00:00
craig.p.drummond
c95c19c3c5 Dont insert dummy entry twice 2014-03-19 19:48:20 +00:00
craig.p.drummond
e214122b7c Locate and load all non cached covers in non GUI thread. 2014-03-18 19:49:28 +00:00
craig.p.drummond
bf7bd1d52a Load cached covers in non GUI thread 2014-03-18 19:47:18 +00:00
craig.p.drummond
f48c6272d1 Only need to start count reset timer if we have a max value set 2014-03-17 19:53:32 +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
5daab1b304 Saved scaled covers as PNG 2014-03-17 19:50:04 +00:00
craig.p.drummond
370d049cce Fix recursion... 2014-03-17 19:47:44 +00:00
craig.p.drummond
d3bfc491f2 Only add std cover name once to list of cover names 2014-03-14 19:13:26 +00:00
craig.p.drummond
6cf6548f8d Make in memory cache size configurable 2014-03-14 19:07:31 +00:00
craig.p.drummond
18a1382b53 Dont save to cache, or read from, if size<4 2014-03-12 17:22:32 +00:00
craig.p.drummond
7716ed9962 Reduce memory usage, by storing album covers in a cache - and using this for display. 2014-03-12 17:20:29 +00:00
craig.p.drummond
374e055ed2 Also cache covers from playqueue into covers-scaled 2014-03-12 17:19:09 +00:00
craig.p.drummond
76b247cf7f Start locator and downloader only when needed too... 2014-03-03 19:31:42 +00:00
craig.p.drummond
38ec88541d Create NetworkAccessManager only when needed 2014-03-03 19:30:09 +00:00
craig.p.drummond
41643d2d1d Create cache dir if it does not exist 2014-03-02 15:40:53 +00:00
craig.p.drummond
51b828498a Check sizes of temporary files after write, to ensure data is written. This fixes an issue where sometimes 0 byte files were written from CoverDialog. 2014-02-12 22:43:47 +00:00
craig.p.drummond
970b02def5 Attempt to locate covers for non-MPD tracks in MPD folders 2014-02-04 19:15:07 +00:00
craig.p.drummond
8b045d36b9 Add option to NOT download covers from last.fm 2014-01-25 09:56:54 +00:00
craig.p.drummond
d64545d696 Covers cache key cant use song key 2014-01-23 19:47:28 +00:00
craig.p.drummond
6daf18d942 Decode Mopidy local:track:file paths 2014-01-21 18:57:47 +00:00
craig.p.drummond
72930d8b5a Check for more image files... 2014-01-16 19:31:49 +00:00
craig.p.drummond
4201e936b5 If file path starts with /, then its not an MPD file 2014-01-16 19:31:12 +00:00
craig.p.drummond
5eccda8a33 Use Podcasts and SoundCloud icons in cover widget, and song notification, for relevant tracks. 2014-01-15 19:31:32 +00:00
craig.p.drummond
d91f8807d2 Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
13a07f1468 When downloading images, dont use extension to determine file format, instead look JFIF and PNG in first few data bytes.
BUG: 378
2014-01-07 20:02:40 +00:00