Commit Graph

67 Commits

Author SHA1 Message Date
craig.p.drummond
aed8d03e9a Keep track of song -> cover filename mapping 2013-02-07 18:22:10 +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
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
1990f54926 Add option to embed covers when copying songs to devices. (ID3v2, mp4, vorbis comment tag types only) 2012-12-10 19:56:16 +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
c9d48a05b0 Use the MTP device as specified in solid properties 2012-11-09 19:59:23 +00:00
craig.p.drummond
efb39e12f3 More MTP work. For now, uploading of covers is disabled - this is not working 100% reliably. Cantata can see teh covers, bu the device not? 2012-11-09 19:58:26 +00:00
craig.p.drummond
3785c692e5 Improve MTP support
- Fetch covers from device
- Create albums on device, and set covers
- Attempt to remove folders when albums removed

(NOTE: This all needs to be tested...)
2012-11-08 22:44:59 +00:00
craig.p.drummond
92db5b55fe Correct signal 2012-11-07 19:41:58 +00:00
craig.p.drummond
7ae0550aa3 Place cleanDirs into copy thread 2012-11-07 19:41:07 +00:00
craig.p.drummond
dc190b16ca Apply some cppcheck and scan-build suggestions...
BUG:129
2012-11-05 20:41:30 +00:00
craig.p.drummond@gmail.com
e44064a576 Check solidDev is valid before accessing 2012-10-31 12:08:44 +00:00
craig.p.drummond
173712493c Device sync support for Qt-only builds. To support this, a cut-down version of Solid is included. 2012-09-17 18:39:01 +00:00
craig.p.drummond
a117e8e385 Initialise some vars - probably not really required, but doesn't hurt!!! 2012-08-27 19:46:05 +00:00
craig.p.drummond@gmail.com
26e216a6e3 Store flag to indicate if device support album-artist tag. 2012-08-24 12:01:27 +00:00
craig.p.drummond
4aecafef4c Add Track Organizer dialog to Qt-only build. 2012-05-31 19:48:31 +00:00
craig.p.drummond
f5f3114145 Reduce KDE/Qt code duplication - by creating dummy Dialog, MessageBox, and InputDialog classes/namespaces for Qt. 2012-05-31 17:45:57 +00:00
craig.p.drummond@gmail.com
3b6a820bb8 Fix copying track from MTP devices. 2012-05-04 11:06:46 +00:00
craig.p.drummond@gmail.com
f7ae678282 Add support for using KIO to access music collections. This is currently disabled as it is VERY slow. For example, accessing my android phone (via wifi) with 17 albums took ~60 seconds with webdav, and only ~10 when using sshfs!!!! 2012-05-03 20:07:28 +00:00
craig.p.drummond@gmail.com
397ecb56c7 Fix crashes when deivce is removed - we need to check if the Solid device is valid before looking at the particular device type. 2012-05-02 11:24:39 +00:00
craig.p.drummond@gmail.com
56557014b7 When updating a non-MTP device, prompt the user as to whether to perform a parial scan (only new songs are scanned), or a full scan (where all songs are rescanned). 2012-05-02 11:22:14 +00:00
craig
4a7225a249 OK, need musiclibrayitem to inherit of QObject, just having Device inherit seems to produce crashes :-( 2012-04-02 18:03:00 +00:00
craig
8e3e403263 Reduce memory usage - VERY slightly!!!! 2012-04-02 17:56:13 +00:00
craig
583a1f582e Fix crash when quiting Cantata whilst devices are being scanned. 2012-03-21 19:20:48 +00:00
craig
7db4b15c70 Add option to group albums with multiple artists under Various Artists. 2012-03-20 21:11:02 +00:00
craig
c889820c9c Apply 'group single track albums' to devices. 2012-03-20 21:10:45 +00:00
craig
a1116bd227 Confirm device is valid 2012-03-04 16:33:02 +00:00
craig
6a11f80f72 Sleep 2012-02-29 18:11:06 +00:00
craig
68f3db0bf5 Show number of tracks read so far. 2012-02-22 20:21:24 +00:00
craig
5b68bd2e2b Initial work on remote (sshfs) devices. 2012-02-21 17:01:43 +00:00
craig
f013a39fa7 Set fileperms on cover files as well - so that these are owned by audio group 2012-02-19 12:20:41 +00:00
craig
ee0207e673 chwon all dirs 2012-02-15 19:08:17 +00:00
craig
02b6f9556d Set permissions on destination, not source! 2012-02-15 19:07:49 +00:00
craig
ae4658b322 Update dir model when add/remove songs 2012-02-10 20:33:54 +00:00
craig
f1aa6be9e8 Fix transcoding - although this does nto work very well for libMTP. Looks as if MTP devices have problems with ogg :-( 2012-02-09 21:22:04 +00:00
craig
d3dbf43377 SAve settings 2012-02-03 21:25:16 +00:00
craig
36d8f91049 Fix UMS and MTP song durations. 2012-02-01 21:39:04 +00:00
craig
b9bef9a78a Read MTP serial number. 2012-01-28 22:00:19 +00:00
craig
135ab049bb Add option to only transcode if source is a different format. 2012-01-28 21:37:23 +00:00
craig
d6e899a062 - Don't allow to change Music folder for UMS devices when properties dialog is shown from copy dialog.
- Reduce MPD connect/disconnect state changes
- Clean up when abort is requested
2012-01-28 11:28:43 +00:00
craig
3d7346c7ff Don't allow editing of device properties when device is busy. 2012-01-28 11:27:08 +00:00
craig
8534e5f4a3 Initial transcode support 2012-01-28 11:26:49 +00:00
craig
62d948d348 Fix empty genres 2012-01-26 20:01:36 +00:00
craig
f51d438fe6 Speedup? 2012-01-24 19:31:17 +00:00
craig
a172998fc4 Use storageId 0 for music transfer - as opposed to determining via musicFolderId. This matches what amarok does. 2012-01-22 19:10:46 +00:00
craig
b5c7e43041 Allow to configure source and destination devices.
Add a label if device has not been configured before.
2012-01-21 22:51:02 +00:00