Commit Graph

40 Commits

Author SHA1 Message Date
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
craig.p.drummond
6c2e0ffdc8 Place copycover into copy thread 2012-11-07 19:41:27 +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
456ad135fc - 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
cf04dd7cd4 Max 2 seconds, or 5 songs, between updates 2012-11-05 19:42:27 +00:00
craig.p.drummond
e8ff4df665 Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond
82062a8be6 Reduce update steps if it takes too long 2012-11-01 19:01:28 +00:00
craig.p.drummond
4789058fc4 Set 'Free Space Info' dirty when we rescan 2012-11-01 18:48:27 +00:00
craig.p.drummond
c844635293 - 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
70b6f5d550 Move most of Utils into support lib 2012-10-08 11:22:54 +00:00
craig.p.drummond
0c5b38ea09 Fix retrieval of covers from file-system based devices. 2012-10-02 20:44:39 +00:00
craig.p.drummond@gmail.com
495d9b5e15 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
87cbced2f2 Fix file path of songs on devices 2012-10-01 18:24:29 +00:00
craig.p.drummond
34af873fd5 Stop processing if fail to create dir 2012-09-28 16:20:58 +00:00
craig.p.drummond
86ebcb4a02 Allow deletion of songs from device! 2012-09-25 19:45:38 +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
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
fd588b7170 Ensure song filenames do not contain audio-folder path. 2012-05-07 12:26:28 +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
08813a7ec2 No need to store full path in each song file. 2012-05-02 18:37:45 +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.p.drummond@gmail.com
534e580482 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
1edc3782eb Also disconnect from songCount signal 2012-04-02 18:03:22 +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
802dce94d4 Sleep 2012-02-29 18:11:06 +00:00
craig
102c178e7f Wait for scanner thread to end 2012-02-28 19:29:48 +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