Commit Graph

43 Commits

Author SHA1 Message Date
David Sansome 92ee1d3158 Treat RadioServices' parents differently to the model 2011-05-30 14:54:48 +00:00
Andrea Decorte ddbe03b526 Added Login button to Last.Fm and others online services. Fixes issue
1772
2011-05-09 19:54:04 +00:00
Andrea Decorte 1c0a0f17dd Added some debug output for last.fm tracks caching 2011-04-30 08:36:44 +00:00
David Sansome 06852aaeb7 Show spotify search results in a separate playlist tab rather than in a tree in the sidebar. 2011-04-28 17:50:45 +00:00
David Sansome 255682b057 Remove the special load behaviour from Playlist Items and instead add URL Handlers that do the same job but for all playlist item types. 2011-04-28 15:10:28 +00:00
David Sansome ccb9f8cf94 Use URLs everywhere instead of filenames. Move the URL parsing and song loading code out of individual playlist parsers and into the base class. Fix the playlist parser unit tests. 2011-04-28 12:27:53 +00:00
Andrea Decorte 9dd45dbe82 Improved Last.fm scrobbling when connection is down 2011-04-28 10:32:56 +00:00
David Sansome 3d6677fe6d Allow radio services (Spotify) to store whole songs in playlist items 2011-04-26 22:06:58 +00:00
David Sansome df05bf1195 Fix a bounds check in PlaylistTabBar, convert a couple more things to use qLog() 2011-04-22 17:07:57 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
David Sansome 9030c5a49e Scrobble a track again if it's loved after it's scrobbled 2011-04-16 15:27:41 +00:00
David Sansome 343b6d6c3a Re-enable the love button after going to a different song in a radio stream. Fixes issue 1086 2011-04-16 15:27:34 +00:00
David Sansome 12b6bbd166 Scrobble radio streams even if we don't know the length of each individual part. Fixes issue 681 2011-04-16 15:13:53 +00:00
John Maguire b9d35c29fe Check last.fm subscriber status on config dialog load. 2011-04-14 11:11:34 +00:00
John Maguire 9d86b41a88 Add warning about not being able to play last.fm radio if not a subscriber. 2011-04-13 15:54:15 +00:00
Andrea Decorte d10d1913cb removed useless slot, made the disabled scrobbling icon a little lighter 2011-04-08 15:35:08 +00:00
David Sansome b799543272 Stamp last.fm tracks before checking if they're valid scrobbles 2011-04-07 19:18:24 +00:00
Andrea Decorte 5d8f1fe872 Added scrobbling button in main window and a global shortcut for
toggling it. Fixes issue 1090
Improved last.fm error handling
2011-04-07 16:25:52 +00:00
Paweł Bara c8aed5fd30 further refactoring of duplicated playlist-insertion related code in RadioServices 2011-02-10 22:24:17 +00:00
Paweł Bara 38172c39b4 simplifying AddItems API of RadioService 2011-02-09 18:23:14 +00:00
Paweł Bara 60ac6768b8 Fresh new 'open in new playlist' action (Updates issue #1431). 2011-02-09 17:51:59 +00:00
Paweł Bara 4cd01a43b7 fixing names of all the 'add to playlist' items in context menus (Fixes issue #1421) 2011-02-08 22:42:09 +00:00
David Sansome 135b32642e Refactor all the code that handles adding items to the playlist - whether it be by a context menu item, double clicking in a view or dragging. Everything now uses the models' mimeData() instead of duplicating the same code everywhere. 2011-01-10 22:26:13 +00:00
David Sansome dc619eb437 Start refactoring the RadioModel to inherit from QStandardItemModel 2011-01-09 18:27:41 +00:00
David Sansome 5bb287c223 Add Load context menu item to all radio services. Fixes issue #1013 2010-12-04 15:49:43 +00:00
David Sansome ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
John Maguire 171de9dde6 Show nice title for last.fm custom radios in playlist. 2010-11-18 23:22:47 +00:00
John Maguire 4ce140c614 Change loved radio station to mix radio.
Fixes issue #973
2010-11-18 21:55:50 +00:00
David Sansome b5f366c40a Add a thread safe network disk cache, and remove the need to pass a NetworkAccessManager around everywhere. Fixes issue #852 2010-10-16 17:20:54 +00:00
David Sansome b97b2138fa Play last.fm tag radio or similar artists radio when clicking on a tag in the song/artist info pane. 2010-10-16 15:22:14 +00:00
John Maguire 184cf0c0d8 Support last.fm RQL URLs.
For syntax, see: http://burnysblog.blogspot.com/2010/04/combo-station-urls.html
2010-10-07 13:59:24 +00:00
David Sansome a1a9943c72 Work around the broken liblastfm package 2010-09-29 19:26:02 +00:00
David Sansome 0a7fa788b3 On second thoughts, lose the gotos and handle the last.fm errors by throwing. 2010-09-13 23:52:05 +00:00
David Sansome 89c873f9ef There are no gotos in this code 2010-09-13 23:44:11 +00:00
David Sansome ba5fb9f552 Lazy-load some of MainWindow's dialogs 2010-08-27 15:42:58 +00:00
David Sansome f808591ec7 Refactor the loading indicator widget into a seperate TaskManager class that can handle tasks with progress 2010-06-23 13:21:30 +00:00
David Sansome c950e79367 Make "Ban" skip to the next track 2010-06-21 12:16:05 +00:00
David Sansome 43ca921d65 Add a magnatune settings page (not functional yet), remove the last.fm config *dialog*, and instead make it bring up the settings dialog at the right page. 2010-06-08 22:56:31 +00:00
David Sansome 4d57ccb41c Use icons from the desktop theme where possible, fall back on oxygen. 2010-05-19 15:45:29 +00:00
David Sansome a292677320 Refactor the way Player gets tracks to play from RadioPlaylistItems. They can now return synchronously with a URL, asynchronously via a signal, or with an error. This properly fixes the problem of preloading a last.fm stream when the track before is about to end. 2010-05-18 20:43:10 +00:00
David Sansome a8f6dc6361 Get error messages from lastfm::ws::parse properly, and make sure to finish the busy indicator if an error does occur. Featuring: epic RTTI hack. 2010-05-16 23:16:38 +00:00
David Sansome f3c732019f Remove the last.fm album art loading code, and set the URL so AlbumCoverLoader can fetch it. 2010-05-16 22:46:56 +00:00
David Sansome 1aee5e4667 Split all the source files up into seven new directories. 2010-05-10 21:50:31 +00:00