Commit Graph

41 Commits

Author SHA1 Message Date
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
craig.p.drummond
249b9649e3 Fix device paths 2012-11-08 19:24:55 +00:00
craig.p.drummond
603c0ed9d7 Place copycover into copy thread 2012-11-07 19:41:27 +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
b43e563d22 - Remove MediaDeviceCache - as was not really being used as a cache.
- Move Solid device code into DevicesModel
- When list of mount-points changes, rescan devices. /Might/ help with BUG:127
2012-11-05 20:08:10 +00:00
craig.p.drummond
744139310c Max 2 seconds, or 5 songs, between updates 2012-11-05 19:42:27 +00:00
craig.p.drummond
a2ea4f3a6f Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond
7899bdbe62 Reduce update steps if it takes too long 2012-11-01 19:01:28 +00:00
craig.p.drummond
b8f3e49e33 Set 'Free Space Info' dirty when we rescan 2012-11-01 18:48:27 +00:00
craig.p.drummond
d29096854b - Move clear() into RemoteFsDevice, as only used by this class
- Set audioFolder in cacheFileName() if it is not already set
- Listen for changes to mtab, and load list of songs if connected and none already loaded. Likewise, clear list if not connected.
2012-10-09 19:46:36 +00:00
craig.p.drummond@gmail.com
67e6bac8d9 Move most of Utils into support lib 2012-10-08 11:22:54 +00:00
craig.p.drummond
8d7dcbcb35 Fix retrieval of covers from file-system based devices. 2012-10-02 20:44:39 +00:00
craig.p.drummond@gmail.com
76f3595294 Dont call QTimer::singleShot in constructor, but call job->start() after it is created. 2012-10-02 11:19:52 +00:00
craig.p.drummond
4845304c8a Fix file path of songs on devices 2012-10-01 18:24:29 +00:00
craig.p.drummond
d23c7f3db2 Stop processing if fail to create dir 2012-09-28 16:20:58 +00:00
craig.p.drummond
7650d424f4 Allow deletion of songs from device! 2012-09-25 19:45:38 +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
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
70d90290f8 Ensure song filenames do not contain audio-folder path. 2012-05-07 12:26:28 +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
c379fce0ed No need to store full path in each song file. 2012-05-02 18:37:45 +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.p.drummond@gmail.com
c042565526 Add option for UMS devices to autoscan, or not, when detected - default is
set to not autoscan.
2012-04-23 19:37:47 +00:00
craig
b4667d1318 Also disconnect from songCount signal 2012-04-02 18:03:22 +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
6a11f80f72 Sleep 2012-02-29 18:11:06 +00:00
craig
0eca77e218 Wait for scanner thread to end 2012-02-28 19:29:48 +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