Commit Graph

94 Commits

Author SHA1 Message Date
Craig Drummond
8f7f4c8c9f Allow .jpeg as extension from cover dialog.
Closes #1368
2018-09-12 19:48:41 +01:00
Craig Drummond
74fb297167 Make 'Icon' a namespace not class 2018-05-24 19:05:54 +01:00
Craig Drummond
ed3fc33f91 Fix QTemporaryFile usage 2018-05-24 18:03:48 +01:00
Craig Drummond
62316d3f46 Add settings page to configure API keys.
Issue #1234
2018-03-14 20:32:11 +00:00
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
9b5ca00680 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
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
padertux
c2ee7e5ad8 Refactor code to use C++11 overriding 2018-01-08 22:51:48 +01:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
948026d73b Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
rezodlub
cc0fb45123 Fix idents of #ifdefs 2017-06-12 08:54:57 +02:00
rezodlub
7cc1c378aa 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
41096e9adc Always Qt5 now, so use QStyleOptionFrame 2017-04-21 18:39:10 +01:00
Craig Drummond
e67d6e3a23 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
18e2fb6dcf Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
e60bdafa11 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
f20a38aa05 When setting artist images - use AlbumArtist tag if set, Artist tag otherwise.
Issue #897
2016-10-16 14:47:15 +01:00
Craig Drummond
957249f4f4 Add a note explaining that embedded covers are not changed 2016-06-16 21:57:30 +01:00
Craig Drummond
026fb258d9 Use folderListIcon for folder button 2016-01-16 14:38:26 +00:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
8b44fa96b5 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
4421979221 No longer using discogs - API has changed. 2015-11-05 21:02:39 +00:00
Craig Drummond
73e9a2b7c6 Fix last.fm response parsing
#744
2015-10-07 18:05:32 +01:00
Craig Drummond
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
1bb58fdbda 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
12b7bf0e83 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
99c91114bb Fix setting of cover when existing cover is embedded in music file. 2014-11-02 15:37:10 +00:00
craig.p.drummond
db1f9e9cec - 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
d5ce7de372 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
1bbe86e776 Reduce size, and restore when shown again 2014-08-11 19:33:25 +00:00
craig.p.drummond
5bbb67099b 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
c3d288fd8e Use Covers::self()->get() to retrieve all covers 2014-07-16 19:05:36 +00:00
craig.p.drummond
3bdd92fa5f Fix AudioCD covers 2014-07-16 19:01:35 +00:00
craig.p.drummond
df494f9445 Use Qt5's own json parser fopr Qt5 builds. 2014-07-10 19:46:40 +00:00
craig.p.drummond
38df88841a Use QSslSocket to determine if https is available 2014-07-07 19:07:19 +00:00
craig.p.drummond
138fc439fd Better error message - clickable link 2014-06-17 16:55:01 +00:00
craig.p.drummond
d29d9a8781 Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
fcc161861a Dont access member until constructed... 2014-05-12 18:52:11 +00:00
craig.p.drummond
b7268e16ab Use a class to hide KConfig/QSettings differences - as opposed to using #defines 2014-03-25 19:47:36 +00:00
craig.p.drummond
1c99ba468b 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
bdf187ac41 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
04a12656bd 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
ee1ba3bb6e 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
1993247946 Closing files should be enough - so no need for size check 2014-02-13 19:10:57 +00:00
craig.p.drummond
5ec0a66cd5 Close temporary files, to ensure data is written 2014-02-13 19:05:51 +00:00
craig.p.drummond
164a0096cb 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
2397ccfa2f KDE fixes 2014-01-25 10:00:29 +00:00
craig.p.drummond
4ed4c76e1d Add menu to cover dialog, so that user can control which services are queried.
BUG: 385
2014-01-25 09:58:25 +00:00
craig.p.drummond
92d91c6a4a Handle mopidy paths 2014-01-22 19:25:51 +00:00