Commit Graph

85 Commits

Author SHA1 Message Date
craig.p.drummond
3ef7e1a35d Remove unused var 2013-02-27 19:38:38 +00:00
craig.p.drummond
988db1d11f Hopefully folder deletion is now fixed!!!! 2013-02-26 21:22:22 +00:00
craig.p.drummond
f8f48ec315 Only copy cover once! 2013-02-26 21:06:38 +00:00
craig.p.drummond
9aa5198009 libMPT is resetting folder ID after file is sent, so store value before its sent 2013-02-26 20:05:39 +00:00
craig.p.drummond
a976de857d song.id not needed - as we encode ids in path 2013-02-26 20:04:44 +00:00
craig.p.drummond
a9740a78e1 Delete .pamp files too (PowerAmp covers?) 2013-02-26 20:04:13 +00:00
craig.p.drummond
2b27ad1bf0 Cleanup 2013-02-26 20:03:41 +00:00
craig.p.drummond
42597e61df 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
9562b5138c MPT cover file support 2013-02-26 20:03:06 +00:00
craig.p.drummond
a6a5e5b8e1 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
4f9c1a4305 Dont show MTP IDs in tooltips 2013-02-26 20:01:41 +00:00
craig.p.drummond
46cb7ca123 Show track number in debug. 2013-02-25 20:28:30 +00:00
craig.p.drummond
e7ae24ab43 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
714d73c39e Fix MTP folder deletion 2013-02-25 18:58:03 +00:00
craig.p.drummond
5bb4363962 Attempt to work-around album-artist support 2013-02-25 18:55:55 +00:00
craig.p.drummond
d2684adf6d - 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
0a4c9f88dc Add some (disabled) debug 2013-02-24 15:00:11 +00:00
craig.p.drummond
a2ab0854b6 Use correct signal/slot signiatures 2013-02-24 09:54:34 +00:00
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