Commit Graph

44 Commits

Author SHA1 Message Date
craig.p.drummond
2ab48f4b37 Reduce code duplication slightly - by placing common code in MusicModel and MultiMusicModel 2013-07-17 18:16:50 +00:00
craig.p.drummond@gmail.com
c18913b563 - Place CdAlbum within its own header
- Rename cddb.h/cpp to cddbinterface.h/cpp to avoid conflicts with installed cddb/cddb.h
BUG:254
2013-07-16 11:09:43 +00:00
craig.p.drummond
fbc3a9e38e Delay loading of local devices at start-up, so view has time to show model 2013-06-17 18:36:49 +00:00
craig.p.drummond
30465b031d Use supplied device so as to autoplay correct AudioCD 2013-06-02 18:54:21 +00:00
craig.p.drummond
ef282bdf42 If Cantata is passed cdda:// then it will load, and start to play, the current AudioCD.
BUG: 224
2013-06-01 08:48:13 +00:00
craig.p.drummond
0e683ca706 When AudioCD is ejected, remove tracks from playqueue.
BUG: 226
2013-05-31 19:31:32 +00:00
craig.p.drummond
1b0b52130e Hack around issues with QObject, multiple inheritance, and static_cast of void pointer.
Moc requires QObject to be the fist when using multiple inheriteance, but the model uses void pointers and we want to cast up/down the music heirarchy.
Therefore, when MOC is run use QOvject as the first item. But when actually compiled use MusicLibraryItemRoot
2013-03-30 10:27:08 +00:00
craig.p.drummond
1191382599 proxy model also needs to use toItem() 2013-03-26 19:10:35 +00:00
craig.p.drummond
66496d60d3 MusicBrainz lookup 2013-03-13 20:01:51 +00:00
craig.p.drummond
661e9e825a Reduce memory usage - by having only Device/OnlineService derive from QObject, as opposed to every artist/album/song! 2013-03-12 17:04:54 +00:00
craig.p.drummond
ce489a9afb Intial attempt at audio-cd playback support. DOES NOT WORK! 2013-03-11 19:50:27 +00:00
craig.p.drummond
c2450dd194 Connect signals, so that CDDB selection dialog appears! 2013-03-07 19:23:36 +00:00
craig.p.drummond
9889170f37 Initial support for AudioCDs
TODO: Editing of track details, covers, testing, etc...
2013-03-06 17:24:33 +00:00
craig.p.drummond
1e9f654554 Expand device when connected. 2013-03-04 19:38:17 +00:00
craig.p.drummond
d4d75cbb0d Dont show MTP IDs in tooltips 2013-02-26 20:01:41 +00:00
craig.p.drummond
20a5a4db49 - Move common actions into StdActions
- Models are in control of what actions are show at what level
2013-02-18 17:07:46 +00:00
craig.p.drummond
9cb785017e Dont remove device/online-service when relevant page is disabled 2013-02-12 16:40:42 +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
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
0d3303edc0 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +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
37a4bf6d05 If group single tracks, or multiple artists, settings are changed, then rebuild library and device models frmo existing set of songs - as opposed to re-reading all songs from mpd/device. 2012-11-16 19:43:53 +00:00
craig.p.drummond
f687a702d6 Get covers from devices 2012-11-08 19:26:07 +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
e8ff4df665 Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond
014e4021d7 Fix compile when remote devices disabled.
BUG:105
2012-10-11 07:12:08 +00:00
craig.p.drummond@gmail.com
dc5b38c33c 'moc' does not like #ifdef 2012-10-10 11:32:49 +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
57850699bd Remove KIO device support - it never worked, was slow, and not useable in its current state. 2012-06-27 17:18:58 +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@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
4ee8ca74bf s/RemoteDevice/RemoteFsDevice/g 2012-05-02 19:42:19 +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
c87402d2b6 When grouping songs into albums, take into account song year. Its possible for an artist to release two albums with the same name in different years!
BUG:6
2012-04-30 11:07:58 +00:00
craig
8ab1687fdd Remote devices dont need separate audio folder setting 2012-03-02 20:24:40 +00:00
craig
c8a1e23ea1 Save/update device cache 2012-02-28 19:31:47 +00:00
craig
f40f348ec1 Add simple HTTP server 2012-02-22 18:52:38 +00:00
craig
afa552e51f Initial work on remote (sshfs) devices. 2012-02-21 17:01:43 +00:00
craig
1aae3d2edc Store genre in set 2012-02-09 19:13:21 +00:00
craig
743ae52f5c When using local UNIX domain socket, allow playback of non database files. 2012-02-06 19:49:53 +00:00
craig
217147efd8 Allow to edit tags, and burn cds, from device files 2012-02-02 21:18:57 +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
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