Commit Graph

59 Commits

Author SHA1 Message Date
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
e0fb720678 Remove MusicModel and MultiMusicModel - no longer required 2015-12-23 15:20:41 +00:00
Craig Drummond
03c6376c33 Only use MTP device with BUSNUM and DEVNUM properties. 2015-12-20 10:15:12 +00:00
Craig Drummond
491d68f0d3 Fix/work-around Qt 5.5 issues with QMenu being used in 2 actions.
#740
2015-11-13 23:01:50 +00:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
8a0ccf092c New options to add songs to play queue - 'add and play', 'append and
play', and 'insert after current'
#680
2015-08-10 18:00:44 +01:00
Craig Drummond
a7229d3e1c Show CD cover in list/tree 2015-07-29 20:08:50 +01:00
Craig Drummond
4a713c7ec9 Initial work on using SQL for MPD cache. Not 100% functional. Eventually
will also use SQL for Jamendo and Magantune...
2015-06-07 22:18:19 +01:00
craig.p.drummond
93b70ec240 Rename mpd source folder to mpd-interface to help build errors when libmpdclient(?) is also installed.
BUG: 650
2015-03-16 19:18:52 +00:00
craig.p.drummond
840999e7d3 Use Covers::self()->get() to retrieve all covers 2014-07-16 19:05:36 +00:00
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
cd686e8189 Allow setting of custom device name for UMS and MTP devices. 2014-02-17 20:09:49 +00:00
craig.p.drummond
b22513a98b Fix automatic setting of CD cover. 2014-01-20 21:08:11 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
7b7f35aa95 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
53a4d299ac - 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
00e8efa24d 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
f4309df212 Use supplied device so as to autoplay correct AudioCD 2013-06-02 18:54:21 +00:00
craig.p.drummond
3361f2f865 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
e41e5d486b When AudioCD is ejected, remove tracks from playqueue.
BUG: 226
2013-05-31 19:31:32 +00:00
craig.p.drummond
229f555367 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
853536c494 proxy model also needs to use toItem() 2013-03-26 19:10:35 +00:00
craig.p.drummond
52c4883132 MusicBrainz lookup 2013-03-13 20:01:51 +00:00
craig.p.drummond
e029143785 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
50d76a7139 Intial attempt at audio-cd playback support. DOES NOT WORK! 2013-03-11 19:50:27 +00:00
craig.p.drummond
25f5c3cce9 Connect signals, so that CDDB selection dialog appears! 2013-03-07 19:23:36 +00:00
craig.p.drummond
3e6c45c626 Initial support for AudioCDs
TODO: Editing of track details, covers, testing, etc...
2013-03-06 17:24:33 +00:00
craig.p.drummond
dbab3443d2 Expand device when connected. 2013-03-04 19:38:17 +00:00
craig.p.drummond
4f9c1a4305 Dont show MTP IDs in tooltips 2013-02-26 20:01:41 +00:00
craig.p.drummond
7417f9040d - 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
02ee6d5702 Dont remove device/online-service when relevant page is disabled 2013-02-12 16:40:42 +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
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
2d8a613c24 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +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
c4bc722d1f 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
427467de96 Get covers from devices 2012-11-08 19:26:07 +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
a2ea4f3a6f Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond
8ec5bef8ba Fix compile when remote devices disabled.
BUG:105
2012-10-11 07:12:08 +00:00
craig.p.drummond@gmail.com
fc37746627 'moc' does not like #ifdef 2012-10-10 11:32:49 +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
9a4b322dfb 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
4aecafef4c Add Track Organizer dialog to Qt-only build. 2012-05-31 19:48:31 +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
168bd92744 s/RemoteDevice/RemoteFsDevice/g 2012-05-02 19:42:19 +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
8b24d760a4 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