Commit Graph

82 Commits

Author SHA1 Message Date
Craig Drummond
087bffb08c 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
c83eb3fc27 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
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
1f6329258f 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
c3d288fd8e Use Covers::self()->get() to retrieve all covers 2014-07-16 19:05:36 +00:00
craig.p.drummond
52b5dd5019 Scanner object is required to save cache! 2014-07-15 18:59:39 +00:00
craig.p.drummond
4d4240ac49 Use QElapsedTimer to control frequency of updates 2014-06-17 16:54:22 +00:00
craig.p.drummond
83fafbd648 Fix progress display when saving XML 2014-06-17 16:53:40 +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
f83da3d5fe Multiple genre support. 2014-05-01 19:26:57 +00:00
craig.p.drummond
fbc5582a9d Need to store if date is unreliable (i.e. 0) in cache 2014-02-05 19:22:07 +00:00
craig.p.drummond
238019a2f3 Try to detect if we are connected to Mopidy, and act accordingly 2014-01-22 19:23:26 +00:00
craig.p.drummond
2f24b3fd9b Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
b609fe77fd 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
99bccf6281 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
34f6e7c79e Rename Utils::createDir to Utils::createWorldReadableDir - to make its use more obvious 2013-10-15 17:16:32 +00:00
craig.p.drummond
e872124e3b Initial support for Composer tag 2013-08-22 18:18:59 +00:00
craig.p.drummond
1f1e87f509 Fix Genre refresh when change grouping 2013-08-22 18:18:23 +00:00
craig.p.drummond
72cd22161c 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
2ab48f4b37 Reduce code duplication slightly - by placing common code in MusicModel and MultiMusicModel 2013-07-17 18:16:50 +00:00
craig.p.drummond
ab3c63410f - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +00:00
craig.p.drummond
b58d6316a9 Cleanup 2013-03-19 19:27:45 +00:00
craig.p.drummond
d2367e187a Thread consistency 2013-03-06 16:36:38 +00:00
craig.p.drummond
83d152f1d6 Recreate scanner each time 2013-02-18 20:03:30 +00:00
craig.p.drummond
2f119c390d After updatnig device, need to wait for 'cacheSaved' signal from device 2013-02-17 19:44:26 +00:00
craig.p.drummond
948c2b3ba9 Some valgrind fixes 2013-02-15 17:21:44 +00:00
craig.p.drummond
ac27b88396 Cache is saved in MusicScanner, no need to resave in gui thread!!! 2013-02-02 20:12:43 +00:00
craig.p.drummond
d7bf21e072 Only store relative dir in song.file 2013-02-02 20:06:47 +00:00
craig.p.drummond
f60324a6bc Fix crash when forgetting a device 2013-02-02 19:28:25 +00:00
craig.p.drummond
5fe4595f63 - Show progress when reading/writing cache
- Fix detection of existing songs
2013-02-02 19:25:41 +00:00
craig.p.drummond
2fce393d66 - 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
fe42cf9399 More error messages 2013-02-01 18:05:56 +00:00
craig.p.drummond
a2cad3d269 Better thread termination 2013-01-30 19:16:03 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
0f19fbee60 Fix(?) sending of covers from devices to mpd 2013-01-17 17:01:33 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
a98f626a18 Move object into thread! 2013-01-14 19:51:57 +00:00
craig.p.drummond
feaf1b96be Use GZIP compression for cache files - easier to uncompress for users, etc. 2013-01-10 20:36:27 +00:00
craig.p.drummond
1c68ec39c8 - 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
5df6740412 Compress cache files 2012-12-18 19:36:43 +00:00
craig.p.drummond
d174384739 Add option to specify max cover size when transfering to device. 2012-12-07 19:44:45 +00:00
craig.p.drummond
32d79b5867 When copying covers to device, only try this once - not for each song... 2012-12-03 20:39:32 +00:00
craig.p.drummond
ca96ddc8c9 - 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
e61ebd6f8f - 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
0764c683c5 Clear existing items if we are doing a full update 2012-11-09 20:13:30 +00:00
craig.p.drummond
4ed8442c3d 'step' is not used! 2012-11-08 21:35:43 +00:00
craig.p.drummond
1cb7f019f3 Better progress update 2012-11-08 19:26:58 +00:00
craig.p.drummond
f687a702d6 Get covers from devices 2012-11-08 19:26:07 +00:00
craig.p.drummond
9c362bc4d4 Fix device paths 2012-11-08 19:24:55 +00:00