Commit Graph

149 Commits

Author SHA1 Message Date
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
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
00f9a2ff64 Add CMake option to disable online services 2014-01-03 19:04:14 +00:00
craig.p.drummond
331bd15e65 Simplify 2013-12-19 20:07:54 +00:00
craig.p.drummond
aa003dcc6b Typo 2013-12-19 20:07:38 +00:00
craig.p.drummond
5acfd68792 Fix potential memory leak with cover images. 2013-12-19 20:07:12 +00:00
craig.p.drummond
135d988de0 Optionally save scaled covers (used in artist and albums views) to disk. 2013-12-19 20:06:06 +00:00
craig.p.drummond
c049af0cc8 Revert reading/writing of tags in external helper - its not working correctly
BUG: 319
2013-10-25 20:01:33 +00:00
craig.p.drummond
5343b1273a Read/write tags in an external app - as per Clementine and Amarok. Isolates Cantata from TagLib crashes. 2013-10-22 18:22:41 +00:00
craig.p.drummond
65be0c33ca Always use unix dir separator internally 2013-10-14 18:16:32 +00:00
craig.p.drummond
5f84f50967 Dir separator... 2013-10-14 18:14:12 +00:00
craig.p.drummond
99eadf6f0a Fix covers of online services (Jamendo/Magnatune) 2013-10-10 20:25:37 +00:00
craig.p.drummond
a5212bab69 More online service image retrival reverts... 2013-10-09 19:43:42 +00:00
craig.p.drummond
422bf10627 USe standard covers routine to get album covers for online services, as we might be using URL from MPD 2013-10-09 19:13:48 +00:00
craig.p.drummond
aac26903a6 - Show action short-cuts in tooltips
- Move https->http conversion into NetworkAccessManager, so that it is consistent
- Place clear playqueue button back to its previous position
2013-10-09 17:07:14 +00:00
craig.p.drummond
f2fa313ee4 - Allow some cover requests to be 'urgent' - these will be loaded in UI thread, if cover exists.
- Keep track of current cover queries, so that we dont attempt to acces the same one twice
2013-09-30 18:20:26 +00:00
craig.p.drummond
8d1f7e911e Add config items to control max-per-iteration cover fetching 2013-09-26 18:00:50 +00:00
craig.p.drummond
b33851c46d Use HTTPS URLs for Last.fm, Wikipedia, SoundCloud, etc, for non-windows builds. 2013-09-24 18:42:52 +00:00
craig.p.drummond
8da3f149a4 Improve responsiveness when loading covers. Only attempt to locate and load 2 covers in the GUI event loop per iteration. More than this is handled in a separate thread. 2013-09-24 18:40:59 +00:00
craig.p.drummond
a017b4ad8c - Show sound-cloud icon in playqueue and corner widget
- Show podcasts icon in playqueue, and if possible podcast image in cover widget/notifications.
2013-09-18 18:16:58 +00:00
craig.p.drummond
556071c2a7 Use NetworkJob to automatically, and consistently, handle re-directs 2013-09-18 18:11:49 +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
a39211908e Reset the covers-requested-per-iteration counter after each event loop iteration. This should fix the case where sometimes the system tray notifications would not have a cover image. 2013-09-02 18:39:51 +00:00
craig.p.drummond
a037777ea5 Add config page to control which stream categories are enabled, to import new categories, and to remove imported categories. See README for import file format. 2013-08-28 18:50:04 +00:00
craig.p.drummond
98c9720df5 Dont use KIO - its not thread safe, and leads to segfault on exit if its used in a non-gui thread!!! 2013-07-16 18:31:55 +00:00
craig.p.drummond
16ea812937 Fix embedded covers sometimes not shwowing - filename needs to be kept internal to covers class.
BUG: 241
2013-06-17 18:34:57 +00:00
craig.p.drummond
7c2666e011 Fix Qt5 crash on exit due to destructnig static QStringList 2013-06-13 18:55:00 +00:00
craig.p.drummond@gmail.com
36321ef521 Fix build with no taglib
BUG: 236
2013-06-11 11:24:13 +00:00
craig.p.drummond@gmail.com
6653b11c82 - If cover is within song tag, then use this the next time it is requested
- Add some more debug...
2013-06-11 11:05:37 +00:00
craig.p.drummond
b374aba431 Add debug logging 2013-06-10 16:34:22 +00:00
craig.p.drummond
e263b069c2 Simplify last.fm code 2013-05-18 12:32:53 +00:00
craig.p.drummond
67f7058633 Remove lyrics and info pages, and place within a new context view. 2013-05-18 10:13:53 +00:00
craig.p.drummond
813ee2f784 - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +00:00
craig.p.drummond
2b05751572 Fix cover downloading. 2013-05-03 23:22:32 +00:00
craig.p.drummond
211428d0e5 Fix usage of timers in threads 2013-05-03 19:07:12 +00:00
craig.p.drummond
5c5d99364f Fix Qt5 URLs 2013-05-01 07:00:28 +00:00
craig.p.drummond
49151e19c4 Need to lock mutext when adding to filename map! 2013-04-29 19:41:29 +00:00
craig.p.drummond
973d52bab9 Need to do cover locating/loading in a separate thread - otehrwise UI becomes jerky 2013-04-29 19:37:15 +00:00
craig.p.drummond
9a68198c00 Upate filename map 2013-04-29 18:35:10 +00:00
craig.p.drummond
7ca2162928 Only empty cache if downloaded an image 2013-04-29 18:34:55 +00:00
craig.p.drummond
d4e5592ca6 Initial attempt to improve item view responsiveness, as well as preserving cover load speed. Needs more work though :-( 2013-04-29 18:33:48 +00:00
craig.p.drummond
b6051593fd Fix decode of last.fm API call response.
BUG: 208
2013-04-28 11:36:56 +00:00
craig.p.drummond
e27b2a8bea Simplify last.fm parsnig code - its now inline with coverdialog 2013-04-25 13:10:10 +00:00
craig.p.drummond
722e68003d KIO is not thread safe, so we cannot use KIO's NetworkAccessManager in another thread. 2013-04-24 22:15:18 +00:00
craig.p.drummond
57e5b80ffc Remove unused var 2013-04-24 21:29:41 +00:00
craig.p.drummond
cd8019dcab Always use album artist 2013-04-24 21:23:30 +00:00
craig.p.drummond
61b9bbfb55 Allow to specify cover name as (e.g.) "%artist%-%title%"
BUG:202
2013-04-24 21:20:11 +00:00
craig.p.drummond
5b05ea1d12 - Download covers in a sepeare thread.
- Remove download queue, as this dealys drawing of album covers, so that we see the CD icon then the cover. However, now scrolling the view 'stalls' as covers are loaded :-( Hmm....
2013-04-24 18:42:49 +00:00
craig.p.drummond
2708f14001 Allow setting of artist image in cover dialog 2013-04-24 18:28:05 +00:00
craig.p.drummond
6adce20e17 Qt5 compile fix 2013-04-08 17:08:52 +00:00