Commit Graph

49 Commits

Author SHA1 Message Date
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
dc48139466 Fix crash when copying items to devices after a rescan has been performed. 2012-11-30 16:42:42 +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
b10ff6582a Fix windows build 2012-10-24 18:20:46 +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
09fb8a2265 When a mont point is removed, clear the music list. 2012-10-09 19:10:34 +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
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
5669f724f6 Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond@gmail.com
ef4c4a2b68 Store flag to indicate if device support album-artist tag. 2012-08-24 12:01:27 +00:00
craig.p.drummond@gmail.com
2fdbb5030c If not changing artist/albumartist/album of a track in tag editor, then just update track if possible - as opposed to removing and adding to list (which causes a complete refresh of list) 2012-08-23 17:49:32 +00:00
craig.p.drummond@gmail.com
4e92b257d8 In KDE builds, check if MPD is readable each time we get a device added or removed signal from Solid. (Requires KDE4.9 to function correctly)
BUG:53
2012-08-21 17:55:06 +00:00
craig.p.drummond@gmail.com
56927b42fc - Dont split albums based upon year - this messes up compilation albums, where each track may have a different year.
- To be consistent, use the year of the lowest track number to be an album's year.
BUG:56
2012-08-21 11:05:41 +00:00
craig.p.drummond@gmail.com
00a97e0ecb When updating, remove songs first, then add. This way if a non-key field is updated, song wont disappear! 2012-06-26 11:30:55 +00:00
craig.p.drummond
17a2efc29f Add Track Organizer dialog to Qt-only build. 2012-05-31 19:48:31 +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
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
094f4214b1 Reduce QObject usage 2012-04-02 17:58:29 +00:00
craig
0b283a904a When checking whether a song exists in device, or library, need to also check
'single tracks' and 'multiple artist' groupings - if these have been enabled.
2012-03-20 21:11:19 +00:00
craig
3483711598 Show number of tracks read so far. 2012-02-22 20:21:24 +00:00
craig
91ac0ae0f3 Reduce qDebug usage 2012-02-22 20:03:38 +00:00
craig
2ba40221fc Set fileperms on cover files as well - so that these are owned by audio group 2012-02-19 12:20:41 +00:00
craig
ad83c68528 Add ability to calculate replaygain tags. 2012-02-16 20:33:05 +00:00
craig
afc3d89ea5 chwon all dirs 2012-02-15 19:08:17 +00:00
craig
ac60233590 When copying files to library, and user is a member of "audio" group - then
set files/dirs as writeable and owned by "audio" group.
2012-02-15 19:08:05 +00:00
craig
440af1136c Add fix va / revert va / capiatlise to tag editor 2012-02-05 21:53:27 +00:00
craig
0265baad35 SAve settings 2012-02-03 21:25:16 +00:00
craig
69778b3262 Add track organizer dialog... 2012-02-03 20:59:04 +00:00
craig
4322f54103 s/TagReader/Tags/g 2012-02-01 21:08:17 +00:00
craig
751df9e68d Add option to cache contents of UMS library to an XML file on the device. 2012-01-30 19:27:46 +00:00
craig
daabe3ca84 Add option to only transcode if source is a different format. 2012-01-28 21:37:23 +00:00
craig
05e5324c3a Initial transcode support 2012-01-28 11:26:49 +00:00
craig
288c6d78a3 Replace model when refresh 2012-01-22 19:03:57 +00:00
craig
17250dccdf Save coverFileName setting. 2012-01-21 23:18:42 +00:00
craig
4b37b764f8 - 'Fix Various Artists' setting belongs with device config
- Store Cantata specific UMS settings in separate file, as Amarok will completely replace the standard one!
2012-01-21 20:26:24 +00:00
craig
c300685349 Apply variosu artists fix.unfix depending on whether copying to or from device 2012-01-20 20:19:53 +00:00
craig
ae6ad0dc89 When disaplying songs of various artists albums, show as 'track number -
artist - song'
2012-01-20 20:18:55 +00:00
craig
52441d2ea8 Set permissions 2012-01-19 20:04:51 +00:00
craig
14ee2e62a6 Settings for MTP devices 2012-01-19 19:28:35 +00:00
craig
8e08770412 Start of MTP device support. Still todo: copy-to device, remove songs, covers??? 2012-01-18 21:08:19 +00:00
craig
88c21d7ade Make cover name editable 2012-01-18 21:03:09 +00:00
craig
f3f357f8a8 Remove debug 2012-01-18 21:02:19 +00:00
craig
149afdad52 Extra filenames to remove 2012-01-18 21:01:49 +00:00
craig
74fed07cbc Start of MTP support. 2012-01-16 19:50:39 +00:00
craig
75c66249d0 Fix idex creation in addSongs/removeSongsFromList 2012-01-16 19:49:58 +00:00
craig
454c7b99a3 Copy/delete covers 2012-01-16 19:48:41 +00:00
craig
c5a9b7e367 Honour 'ignore the' setting 2012-01-16 19:46:13 +00:00
craig
08598687bf Fix removeSongFromList 2012-01-16 19:45:46 +00:00
craig
613f625422 Initial import of device support work
- Basic copy to/from device support.
- When refreshing library/albums, only affect parts of the model that have
  changed. (Previously the whole model was replaced).
- Allow songs to be deleted.

TODO:
- Make song deletion actually work
- Copy/delete album covers
- When deleting a whole album/artist, need to delete corresponding dir if it is empty.
- MTP devices
2012-01-15 19:18:12 +00:00