Commit Graph

79 Commits

Author SHA1 Message Date
craig.p.drummond
2657bcf14a Cleanup 2013-02-26 20:03:41 +00:00
craig.p.drummond
cb4dde4a52 If MTP track number is 0, then attempt to ascertin this from the filename. 2013-02-26 20:03:28 +00:00
craig.p.drummond
5b68a2088b MPT cover file support 2013-02-26 20:03:06 +00:00
craig.p.drummond
fedadeb674 Fix dir deletion - need to scan all files, and store which files are in which dir, so that we know when its empty 2013-02-26 20:02:25 +00:00
craig.p.drummond
d4d75cbb0d Dont show MTP IDs in tooltips 2013-02-26 20:01:41 +00:00
craig.p.drummond
323a7c70ff Show track number in debug. 2013-02-25 20:28:30 +00:00
craig.p.drummond
75aea96d90 Check space on storage. If insufficient space, then try to find another with more space. 2013-02-25 20:04:30 +00:00
craig.p.drummond
4c4897cb10 Fix MTP folder deletion 2013-02-25 18:58:03 +00:00
craig.p.drummond
44281887c0 Attempt to work-around album-artist support 2013-02-25 18:55:55 +00:00
craig.p.drummond
201484c107 - Handle multiple storage locations on MTP devices.
- Fix creation of music folder on MTP devices.
2013-02-24 22:50:53 +00:00
craig.p.drummond
dd82c776c2 Add some (disabled) debug 2013-02-24 15:00:11 +00:00
craig.p.drummond
7c5c122b2d Use correct signal/slot signiatures 2013-02-24 09:54:34 +00:00
craig.p.drummond
97d7005d3a Keep track of song -> cover filename mapping 2013-02-07 18:22:10 +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
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
c86ef5e44d 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
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
dc57c13105 Use the MTP device as specified in solid properties 2012-11-09 19:59:23 +00:00
craig.p.drummond
995f2fc08c 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
2a0645edb6 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
dc13a84d33 Correct signal 2012-11-07 19:41:58 +00:00
craig.p.drummond
c0ab3f6427 Place cleanDirs into copy thread 2012-11-07 19:41:07 +00:00
craig.p.drummond
ef551186e4 Apply some cppcheck and scan-build suggestions...
BUG:129
2012-11-05 20:41:30 +00:00
craig.p.drummond@gmail.com
16bf3be03c Check solidDev is valid before accessing 2012-10-31 12:08:44 +00:00
craig.p.drummond
187636898e 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
2f6deeb2ad Initialise some vars - probably not really required, but doesn't hurt!!! 2012-08-27 19:46:05 +00:00
craig.p.drummond@gmail.com
ef4c4a2b68 Store flag to indicate if device support album-artist tag. 2012-08-24 12:01:27 +00:00
craig.p.drummond
17a2efc29f Add Track Organizer dialog to Qt-only build. 2012-05-31 19:48:31 +00:00
craig.p.drummond
f9f1edcb6f 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
05ee81da0e Fix copying track from MTP devices. 2012-05-04 11:06:46 +00:00
craig.p.drummond@gmail.com
4cb460f41b 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
5551198c70 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
d95b7170f2 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
3b07a1897b OK, need musiclibrayitem to inherit of QObject, just having Device inherit seems to produce crashes :-( 2012-04-02 18:03:00 +00:00
craig
2d657b4007 Reduce memory usage - VERY slightly!!!! 2012-04-02 17:56:13 +00:00
craig
56d74261c7 Fix crash when quiting Cantata whilst devices are being scanned. 2012-03-21 19:20:48 +00:00
craig
1621faf8d6 Add option to group albums with multiple artists under Various Artists. 2012-03-20 21:11:02 +00:00
craig
4c7af103af Apply 'group single track albums' to devices. 2012-03-20 21:10:45 +00:00
craig
ae18d651b9 Confirm device is valid 2012-03-04 16:33:02 +00:00
craig
802dce94d4 Sleep 2012-02-29 18:11:06 +00:00
craig
3483711598 Show number of tracks read so far. 2012-02-22 20:21:24 +00:00
craig
afa552e51f Initial work on remote (sshfs) devices. 2012-02-21 17:01:43 +00:00
craig
2ba40221fc Set fileperms on cover files as well - so that these are owned by audio group 2012-02-19 12:20:41 +00:00
craig
afc3d89ea5 chwon all dirs 2012-02-15 19:08:17 +00:00
craig
87d86cf256 Set permissions on destination, not source! 2012-02-15 19:07:49 +00:00
craig
985288e484 Update dir model when add/remove songs 2012-02-10 20:33:54 +00:00