Commit Graph

97 Commits

Author SHA1 Message Date
Craig Drummond
9c5fcf0cbd Fix image requests when using composers.
Closes #1477
2019-04-26 18:33:29 +01:00
Craig Drummond
d1ffba1dc9 When checking for http:/ also check for https:/
Issue #1444
2019-01-30 17:52:59 +00:00
Pavel Shlyak
ad2229a7b8 Update coverdialog.cpp
This seems to be safier
2019-01-05 17:27:32 +04:00
Craig Drummond
6390b4c6e8 Allow .jpeg as extension from cover dialog.
Closes #1368
2018-09-12 19:48:41 +01:00
Craig Drummond
0aadefef3c Make 'Icon' a namespace not class 2018-05-24 19:05:54 +01:00
Craig Drummond
70c4bb35ae Fix QTemporaryFile usage 2018-05-24 18:03:48 +01:00
Craig Drummond
d9a42808b3 Add settings page to configure API keys.
Issue #1234
2018-03-14 20:32:11 +00:00
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
ff48cfa0c0 Cleanup some settings. No longer offer to save lyrics, artist images,
and backdrops in MPD folder, just save in cache dir. Move cover setting
into interface settings - in a new 'Covers' tab.
2018-02-15 20:18:08 +00:00
padertux
4f26eb686e Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
padertux
dc8cbed1eb Refactor code to use C++11 overriding 2018-01-08 22:51:48 +01:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
6e100a5ef5 Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
rezodlub
29a1937407 Fix idents of #ifdefs 2017-06-12 08:54:57 +02:00
rezodlub
e8cc1ab8ef Fixes:
empty folders on MPD side (crash inserting/removing to/from model)
usage of sys/time.h changed to QTime
no unistd.h in Visual Studio
if QT was build without SSL support, there is no QSslSocket class (at least in 5.6 and 5.8)
missing strncasecmp in Visual Studio
utime.sys is actually sys/utime.h in Visual Studio
2017-06-11 15:31:35 +02:00
Craig Drummond
91c131558e Always Qt5 now, so use QStyleOptionFrame 2017-04-21 18:39:10 +01:00
Craig Drummond
b63c6fbe26 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
b0b0140d98 Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
08676765b2 When setting artist images - use AlbumArtist tag if set, Artist tag otherwise.
Issue #897
2016-10-16 14:47:15 +01:00
Craig Drummond
4528ed7406 Add a note explaining that embedded covers are not changed 2016-06-16 21:57:30 +01:00
Craig Drummond
259b800782 Use folderListIcon for folder button 2016-01-16 14:38:26 +00:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
947aac0a10 When saving covers in the conver dialog, if dest folder does not exist then save in the cache folder. 2015-12-04 22:52:15 +00:00
Craig Drummond
7eb9085257 No longer using discogs - API has changed. 2015-11-05 21:02:39 +00:00
Craig Drummond
67a7a49dad Fix last.fm response parsing
#744
2015-10-07 18:05:32 +01:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
210decc872 Show other images from song folder in album cover chooser dialog.
Commented out for now, as I'm not sure its useful with the way the cover
dialog works.
#716
2015-08-02 16:33:49 +01:00
craig.p.drummond
93b70ec240 Rename mpd source folder to mpd-interface to help build errors when libmpdclient(?) is also installed.
BUG: 650
2015-03-16 19:18:52 +00:00
craig.p.drummond
c4e37534b1 Fix setting of cover when existing cover is embedded in music file. 2014-11-02 15:37:10 +00:00
craig.p.drummond
c0d3ac81db - Add control buttons for windows thumbnail toolbutton.
- Add prev/play/pause/etc to OSX dock menu
- As part of this connect to correct triggered signal!
2014-10-01 15:50:29 +00:00
craig.p.drummond
40766dd4bd Re-format mode MessageBox messages - so that they can be split into main/sub text for MacOS dialogs. 2014-09-16 21:21:43 +00:00
craig.p.drummond
eab13baf8f Reduce size, and restore when shown again 2014-08-11 19:33:25 +00:00
craig.p.drummond
cb3c450324 In cover dialog, when checking if a cover exists, ignore the internal '{nocover}' and '{tag}' strings.
BUG: 515
2014-08-10 09:01:40 +00:00
craig.p.drummond
840999e7d3 Use Covers::self()->get() to retrieve all covers 2014-07-16 19:05:36 +00:00
craig.p.drummond
a97ca2b5c5 Fix AudioCD covers 2014-07-16 19:01:35 +00:00
craig.p.drummond
4bebf916ed Use Qt5's own json parser fopr Qt5 builds. 2014-07-10 19:46:40 +00:00
craig.p.drummond
293113e5ff Use QSslSocket to determine if https is available 2014-07-07 19:07:19 +00:00
craig.p.drummond
c79f789248 Better error message - clickable link 2014-06-17 16:55:01 +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
aa379f91a7 Dont access member until constructed... 2014-05-12 18:52:11 +00:00
craig.p.drummond
d4fdb05ea0 Use a class to hide KConfig/QSettings differences - as opposed to using #defines 2014-03-25 19:47: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
d66042fe8c When song is updated in context view, abort any current network jobs.
BUG: 442
2014-03-17 19:48:11 +00:00
craig.p.drummond
b747e15bbe When saving artist image from cover dialog, if set to save in MPD folder and song's path does not have 2 folder elements then save in cache folder.
Cantata will only save artist images, and backdrops, in MPD folder if the folder structure is (e.g.) Artist/Album/Track.mp3
BUG: 429
2014-03-01 18:03:38 +00:00
craig.p.drummond
e89bf82c55 In cover/artist dialog, when attempting to save an image into Cantata's cache folder - ensure the 'covers' sub-folder is created. 2014-03-01 17:53:26 +00:00
craig.p.drummond
2bdfd72963 Closing files should be enough - so no need for size check 2014-02-13 19:10:57 +00:00
craig.p.drummond
3a20ff2ada Close temporary files, to ensure data is written 2014-02-13 19:05:51 +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