42 Commits

Author SHA1 Message Date
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
948026d73b Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
6d52512c46 Re-work online services so that Jamendo and Magantune use SQL backend.
This is NO WHERE NEAR COMPLETE! There are *lots* of missing features,
etc.
2015-06-19 21:39:56 +01:00
Craig Drummond
087bffb08c 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
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
9fa96846fb Dont hide other online services / streams when searching. 2013-10-09 18:45:01 +00:00
craig.p.drummond
5ba506f542 Extract, and store, podcast publication date - and use this to sort 2013-09-26 18:03:28 +00:00
craig.p.drummond
d5c0ab1bb6 Initial podcast support
NOTE: This is NOT fully implemented, or functional!!!
2013-09-17 16:25:58 +00:00
craig.p.drummond
b734b576e8 Speed up online services model by disabling dynamic sort 2013-07-16 18:30:45 +00:00
craig.p.drummond
4b9e65ba01 More work for Jamendo searches 2013-07-15 19:13:14 +00:00
craig.p.drummond
c629877f0f Mods for Jamendo search 2013-07-15 19:11:10 +00:00
craig.p.drummond
1f4f8a15ab Separate search per online service 2013-07-12 19:04:55 +00:00
craig.p.drummond
705e1fd243 Fix crashing when filtering if we have songs directly under root - as happend with SoundCloud and AudioCDs 2013-07-11 19:53:21 +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
476d132466 Update copyright year 2013-01-17 16:57:20 +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
3ce1821970 Show playlist files in library and album views.
BUG:27
2012-06-12 11:16:37 +00:00
craig
3b07a1897b OK, need musiclibrayitem to inherit of QObject, just having Device inherit seems to produce crashes :-( 2012-04-02 18:03:00 +00:00
craig
094f4214b1 Reduce QObject usage 2012-04-02 17:58:29 +00:00
craig
2d657b4007 Reduce memory usage - VERY slightly!!!! 2012-04-02 17:56:13 +00:00
craig
a6c4c6b67a Better filtering. 2012-03-27 17:38:42 +00:00
craig
0f55c8d58e Use KStringHandler::naturalCompare if we're built with KDE 2012-03-21 19:08:00 +00:00
craig
b4ed235271 Remove proxy code duplication 2012-03-21 19:07:34 +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
craig
89af0bf2c7 Show 'Single Tracks' at top of list. 2012-01-04 19:19:53 +00:00
craig
73bc659d43 Cleanup 2012-01-04 19:19:13 +00:00
craig
7dad99ec88 Update copyright statements. 2012-01-04 19:15:55 +00:00
craig
b292be9433 Fix single-track - fixes a crash, and places sort in proxy models. 2012-01-04 19:15:34 +00:00
craig
ec6cae6016 Fix:
when in a lower level, and search to an item that matches higher - the model navigates up - but the nav buttons dont change!!!!
this leads to a crash when press nav button!
   e.g. Im/
          Final Front../
            El Dorado...
        A/
           B

        If we are in 'B' and type 'Dorado' then we change to 'Im' - but nav buttons do not!
2012-01-03 19:58:33 +00:00
craig
af7f5bc43d Faster filter 2012-01-03 19:54:24 +00:00
craig
4f09e4ec63 Tidy 2012-01-03 19:53:42 +00:00
craig
4494e6eff6 Show 'Various Artists' at the top of the library view. 2011-12-31 11:33:07 +00:00
craig
4388bcdd4a Add option to show/sort album year. 2011-12-31 11:13:46 +00:00
craig
09719d2445 Reduce code 2011-12-22 19:05:53 +00:00
craig
aaa9217553 Update copyright 2011-12-05 19:32:25 +00:00
craig
f40983a602 Add copyright 2011-12-04 10:48:50 +00:00
craig
1d0fcf6d36 More code re-org 2011-12-03 20:17:23 +00:00