Commit Graph

15 Commits

Author SHA1 Message Date
David Sansome bacef04405 Refactoring: remove a couple of the AlbumCoverLoader instances and instead use a shared CurrentArtLoader. 2012-02-26 14:40:51 +00:00
David Sansome 48f15c9fc7 Refactoring: instead of passing individual pointers to useful core classes (like TaskManager or LibraryBackend) to each class that uses them, pass one singleton-like Application instance everywhere. 2012-02-26 14:40:51 +00:00
David Sansome c1aaed91be Fix the logic for populating somafm and di.fm lists the first time they are expanded 2011-11-29 14:22:02 +00:00
David Sansome df8bafe161 Only update di.fm, sky.fm and somafm tree items if they've already been expanded by the user. Fixes duplicate radio streams appearing on first run if the user uses global search before looking in the Internet tab. 2011-11-12 18:18:40 +00:00
David Sansome 5dcd1d4890 Initialise the item lists for simple search providers on startup so they can be used to populate the global search suggestions. 2011-11-08 18:35:33 +00:00
David Sansome 8c69094931 Add a generic class for the "cached list of stuff" pattern used by last.fm and di.fm/sky.fm for keeping friend lists or stream lists around and refreshing them after a certain length of time 2011-11-06 00:02:32 +00:00
David Sansome a2327c4eb7 Remove some redundant parameters from DigitallyImportedServiceBase and move the subclasses (which are now empty) into the same file. 2011-11-04 22:54:27 +00:00
David Sansome 2b6beb7417 Load the list of sky.fm/di.fm streams using the undocumented API, getting artwork for each stream as well. 2011-11-04 22:31:19 +00:00
John Maguire a9d6535bcc Use a scoped_ptr 2011-11-03 15:07:36 +01:00
John Maguire 0133bccf81 Fix typo in stream format string. 2011-11-03 14:54:43 +01:00
John Maguire 940208a868 Fix showing icons for Sky.fm and DI. 2011-11-03 11:51:52 +01:00
David Sansome 63140f83cf Use an undocumented sky.fm/di.fm api to handle premium account logins, allowing us to remove dodgy code to scrape login information for each service individually 2011-11-02 23:55:45 +00:00
David Sansome 892f5f1df1 Add search providers for di.fm and sky.fm 2011-09-24 22:49:04 +01:00
David Sansome e7ab192361 Cache di.fm and sky.fm streams for 2 weeks 2011-09-24 22:11:50 +01:00
David Sansome a0258a9e81 Add c++ implementations of the di.fm and sky.fm radio services 2011-07-23 15:32:11 +01:00