Commit Graph

61 Commits

Author SHA1 Message Date
craig.p.drummond
ab3c63410f - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +00:00
craig.p.drummond
b58d6316a9 Cleanup 2013-03-19 19:27:45 +00:00
craig.p.drummond
d2367e187a Thread consistency 2013-03-06 16:36:38 +00:00
craig.p.drummond
83d152f1d6 Recreate scanner each time 2013-02-18 20:03:30 +00:00
craig.p.drummond
2f119c390d After updatnig device, need to wait for 'cacheSaved' signal from device 2013-02-17 19:44:26 +00:00
craig.p.drummond
948c2b3ba9 Some valgrind fixes 2013-02-15 17:21:44 +00:00
craig.p.drummond
ac27b88396 Cache is saved in MusicScanner, no need to resave in gui thread!!! 2013-02-02 20:12:43 +00:00
craig.p.drummond
d7bf21e072 Only store relative dir in song.file 2013-02-02 20:06:47 +00:00
craig.p.drummond
f60324a6bc Fix crash when forgetting a device 2013-02-02 19:28:25 +00:00
craig.p.drummond
5fe4595f63 - Show progress when reading/writing cache
- Fix detection of existing songs
2013-02-02 19:25:41 +00:00
craig.p.drummond
2fce393d66 - Read/write cache files in non-gui thread
- Show progress when reading/writing cache
2013-02-01 18:29:57 +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
0f19fbee60 Fix(?) sending of covers from devices to mpd 2013-01-17 17:01:33 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
a98f626a18 Move object into thread! 2013-01-14 19:51:57 +00:00
craig.p.drummond
feaf1b96be Use GZIP compression for cache files - easier to uncompress for users, etc. 2013-01-10 20:36:27 +00:00
craig.p.drummond
1c68ec39c8 - Store properties on remote device
- If no music items, delete cache
- If properties are all default, remove file
2012-12-18 19:38:28 +00:00
craig.p.drummond
5df6740412 Compress cache files 2012-12-18 19:36:43 +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
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