Commit Graph

61 Commits

Author SHA1 Message Date
craig.p.drummond
813ee2f784 - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +00:00
craig.p.drummond
9454436072 Cleanup 2013-03-19 19:27:45 +00:00
craig.p.drummond
de3055a6b9 Thread consistency 2013-03-06 16:36:38 +00:00
craig.p.drummond
8452de7d97 Recreate scanner each time 2013-02-18 20:03:30 +00:00
craig.p.drummond
677be2be66 After updatnig device, need to wait for 'cacheSaved' signal from device 2013-02-17 19:44:26 +00:00
craig.p.drummond
3b8a63a713 Some valgrind fixes 2013-02-15 17:21:44 +00:00
craig.p.drummond
bae5482715 Cache is saved in MusicScanner, no need to resave in gui thread!!! 2013-02-02 20:12:43 +00:00
craig.p.drummond
21401a39ad Only store relative dir in song.file 2013-02-02 20:06:47 +00:00
craig.p.drummond
d545b18fdd Fix crash when forgetting a device 2013-02-02 19:28:25 +00:00
craig.p.drummond
be172b44d6 - Show progress when reading/writing cache
- Fix detection of existing songs
2013-02-02 19:25:41 +00:00
craig.p.drummond
6d1a6bddd9 - 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
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
22a2225d96 Fix(?) sending of covers from devices to mpd 2013-01-17 17:01:33 +00:00
craig.p.drummond
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
e5c62df58b Move object into thread! 2013-01-14 19:51:57 +00:00
craig.p.drummond
c5558506e3 Use GZIP compression for cache files - easier to uncompress for users, etc. 2013-01-10 20:36:27 +00:00
craig.p.drummond
6992f88027 - 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
045ca17302 Compress cache files 2012-12-18 19:36:43 +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
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