Commit Graph

83 Commits

Author SHA1 Message Date
Craig Drummond
e73af45d87 Re-implement songExists 2015-06-08 20:36:20 +01:00
Craig Drummond
4a713c7ec9 Initial work on using SQL for MPD cache. Not 100% functional. Eventually
will also use SQL for Jamendo and Magantune...
2015-06-07 22:18:19 +01:00
Craig Drummond
b2ce9ff016 Various devel changes
- Use time_t to store MPD DB version, as that is what MPD sends anyway
- Initial changes for an (experimental) webapp
2015-06-01 21:53:55 +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
80fac37647 Fix copying of covers to UMS, etc, devices if song is transcoded.
BUG: 603
2014-12-08 14:30:32 +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
f0055696a0 Scanner object is required to save cache! 2014-07-15 18:59:39 +00:00
craig.p.drummond
0c46925adf Use QElapsedTimer to control frequency of updates 2014-06-17 16:54:22 +00:00
craig.p.drummond
5d39a638f0 Fix progress display when saving XML 2014-06-17 16:53:40 +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
2a28a7d3f8 Multiple genre support. 2014-05-01 19:26:57 +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
5038bd4fb0 Try to detect if we are connected to Mopidy, and act accordingly 2014-01-22 19:23:26 +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
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
cb8d717630 Rename Utils::createDir to Utils::createWorldReadableDir - to make its use more obvious 2013-10-15 17:16:32 +00:00
craig.p.drummond
9a53a1f44a Initial support for Composer tag 2013-08-22 18:18:59 +00:00
craig.p.drummond
1726b4155d Fix Genre refresh when change grouping 2013-08-22 18:18:23 +00:00
craig.p.drummond
f0bad94c9c Use i18n is a more KDE-like manner, other wise debug builds of kdelibs produce (I18N_ARGUMENT_MISSING)
BUG: 254
2013-07-18 14:52:45 +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
813ee2f784 - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +00:00
craig.p.drummond
9454436072 Cleanup 2013-03-19 19:27:45 +00:00
craig.p.drummond
de3055a6b9 Thread consistency 2013-03-06 16:36:38 +00:00
craig.p.drummond
8452de7d97 Recreate scanner each time 2013-02-18 20:03:30 +00:00
craig.p.drummond
677be2be66 After updatnig device, need to wait for 'cacheSaved' signal from device 2013-02-17 19:44:26 +00:00
craig.p.drummond
3b8a63a713 Some valgrind fixes 2013-02-15 17:21:44 +00:00
craig.p.drummond
bae5482715 Cache is saved in MusicScanner, no need to resave in gui thread!!! 2013-02-02 20:12:43 +00:00
craig.p.drummond
21401a39ad Only store relative dir in song.file 2013-02-02 20:06:47 +00:00
craig.p.drummond
d545b18fdd Fix crash when forgetting a device 2013-02-02 19:28:25 +00:00
craig.p.drummond
be172b44d6 - Show progress when reading/writing cache
- Fix detection of existing songs
2013-02-02 19:25:41 +00:00
craig.p.drummond
6d1a6bddd9 - Read/write cache files in non-gui thread
- Show progress when reading/writing cache
2013-02-01 18:29:57 +00:00
craig.p.drummond
a1ecc70dd8 More error messages 2013-02-01 18:05:56 +00:00
craig.p.drummond
ac3345c65c Better thread termination 2013-01-30 19:16:03 +00:00
craig.p.drummond
c60604502f Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
22a2225d96 Fix(?) sending of covers from devices to mpd 2013-01-17 17:01:33 +00:00
craig.p.drummond
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
e5c62df58b Move object into thread! 2013-01-14 19:51:57 +00:00
craig.p.drummond
c5558506e3 Use GZIP compression for cache files - easier to uncompress for users, etc. 2013-01-10 20:36:27 +00:00
craig.p.drummond
6992f88027 - Store properties on remote device
- If no music items, delete cache
- If properties are all default, remove file
2012-12-18 19:38:28 +00:00
craig.p.drummond
045ca17302 Compress cache files 2012-12-18 19:36:43 +00:00
craig.p.drummond
de823fa17c Add option to specify max cover size when transfering to device. 2012-12-07 19:44:45 +00:00
craig.p.drummond
dde0f8ccbe When copying covers to device, only try this once - not for each song... 2012-12-03 20:39:32 +00:00
craig.p.drummond
c57477376b - Fix memleak when copying items to/from devices.
- When creating temp files, ensure these are in /tmp!
- If applying various artist workaround for a remote device, apply the workaround to a local temp file, and send this.
2012-12-03 20:02:02 +00:00
craig.p.drummond
a0511adf25 - Also need to copy covers if we are transcoding tracks!
- Initial work to support cover-scaling to devices
2012-11-20 21:34:44 +00:00
craig.p.drummond
beb45fa3ee Clear existing items if we are doing a full update 2012-11-09 20:13:30 +00:00
craig.p.drummond
4e8a5d3d9c 'step' is not used! 2012-11-08 21:35:43 +00:00
craig.p.drummond
7060f69bbb Better progress update 2012-11-08 19:26:58 +00:00
craig.p.drummond
427467de96 Get covers from devices 2012-11-08 19:26:07 +00:00