Commit Graph

101 Commits

Author SHA1 Message Date
David Sansome 4e0cf13b26 Add python bindings for RadioService, RadioModel, MergedProxyModel, TaskManager and SettingsDialog. Make sure radio services are removed from the model when they are deleted (eg. when their python script gets unloaded) 2011-01-12 21:20:20 +00:00
David Sansome 03e6231483 Make the RadioModel's AddService method public, add a RemoveService method, and clean up the last.fm mess 2011-01-12 20:18:17 +00:00
David Sansome 0ba1962fc8 Lazy-load the RadioService in a RadioPlaylistItem that is loaded from the database on startup 2011-01-12 19:59:17 +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
John Maguire bde7902686 Refactor some initial setup out of MainWindow::MainWindow(). 2011-01-04 11:33:22 +00:00
David Sansome 156f4a51c5 Remove the extra clear button from the icecast filter bar 2011-01-03 14:20:41 +00:00
David Sansome c80a4301cc Don't statically initialise the RadioModel's services map 2011-01-02 14:49:55 +00:00
David Sansome c8520021d7 Start of a new edit tag dialog. Lots of things don't work and it doesn't actually save tags yet (so it's about as useful as before). 2010-12-19 23:40:36 +00:00
David Sansome 28fdb147d8 Make last.fm optional. Thanks volkov0aa. Fixes issue #49 2010-12-18 17:28:02 +00:00
David Sansome 19ea38b0a1 Don't download the Magnatune catalogue every time. 2010-12-11 15:07:39 +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
John Maguire 880909104e Fix album cover handling in Jamendo. 2010-11-29 13:34:30 +00:00
David Sansome e3760a5bc5 And fix the length parsing 2010-11-28 14:18:07 +00:00
David Sansome 68ae8aec0e Fix genre parsing from Jamendo 2010-11-28 14:13:46 +00:00
David Sansome e63c101223 Don't show the various artists node for Jamendo (there aren't any various artists albums) - making search a bit faster 2010-11-27 19:37:34 +00:00
David Sansome f11c494c44 Add a random smart playlist to Jamendo 2010-11-27 19:18:56 +00:00
David Sansome b1bf95a668 Remember which library a dynamic playlist was using when you restart clementine 2010-11-27 19:11:36 +00:00
David Sansome 623b90e5e2 Make sure the smart playlists node really really gets put at the top 2010-11-27 18:43:49 +00:00
David Sansome 70df709fc2 Don't use Connection: Keep-Alive when doing requests to the Jamendo API 2010-11-27 18:37:53 +00:00
David Sansome 69d3d89b0f Have a different list of smart playlists for Jamendo and the normal Library. Only add default Jamendo smart playlists once. 2010-11-27 17:52:08 +00:00
David Sansome b85ddbb380 Put the Jamendo songs in a separate database that gets attached to the main database. "Reload" it by deleting the file, which is much faster than DELETEing all the songs inside. Make reloading the Jamendo, Icecast and Magnatune databases always bypass the network cache. Store the Jamendo track IDs in a separate table - for some reason this makes inserts faster. Fix the Jamendo model after the inital database load. Make the Jamendo dymanic playlist use the entries that are already in the local database rather than fetching the song metadata again. 2010-11-27 16:14:09 +00:00
John Maguire d5d058fbaa Add debug header. 2010-11-26 16:03:13 +00:00
John Maguire eca1704384 Sort of working Jamendo dynamic playlist. 2010-11-26 15:16:48 +00:00
David Sansome 4e60558053 Use the Jamendo track id as the ROWID for tracks, and implement reloading the database. 2010-11-25 23:05:37 +00:00
David Sansome 17da224283 Record the Jamendo album ID with each song, and implement the context menu items to open album info and download album pages. 2010-11-25 22:16:29 +00:00
David Sansome 927937e236 Save and restore Jamendo playlist items properly. Add a Jamendo context menu. 2010-11-25 22:04:23 +00:00
David Sansome e36cbcb50c Get proper sized album art for Jamendo songs 2010-11-25 21:20:18 +00:00
David Sansome 9483f9b930 Typo 2010-11-25 21:20:06 +00:00
David Sansome f758004760 Stop the size of the radio header widget increasing when different services are selected. 2010-11-25 19:18:41 +00:00
John Maguire 8ede752ff9 Fix small leak. 2010-11-25 17:25:50 +00:00
John Maguire b2ffc58070 Only check subversion info if $BUILDBOT_REVISION not set.
Fix compile warning.
2010-11-25 17:14:11 +00:00
David Sansome 23d1ea81ea Add dividers to the list of icecast stations 2010-11-24 21:34:54 +00:00
David Sansome c021a639c5 Remember the icecast sort by mode 2010-11-24 21:16:33 +00:00
David Sansome ad191e0880 Show a context menu for icecast stations 2010-11-24 19:41:17 +00:00
David Sansome c43a06c04e Support drag&drop of icecast streams to the playlist 2010-11-24 19:25:41 +00:00
David Sansome 9a8d01e2bd Comment(s) from r2281 2010-11-23 23:10:53 +00:00
David Sansome 83948e4973 Fix the size of the icecast filter widget icons 2010-11-23 23:10:38 +00:00
David Sansome b9f7cf78a9 Make sorting and filtering the list of icecast stations work 2010-11-23 23:05:42 +00:00
David Sansome 8d23c8b3ee Comments from r2279 2010-11-23 22:37:00 +00:00
David Sansome 188c7a53ec Add a database table, backend, and model for Icecast radio stations. Added a filter widget as well, but it doesn't actually search or sort yet. 2010-11-23 22:36:00 +00:00
David Sansome e4a3a12a83 Show progress information while downloading and parsing Jamendo and Icecast catalogues. Also parse Jamendo in chunks rather than all in one go. 2010-11-23 18:53:08 +00:00
John Maguire 5feabe09de Add Jamendo support.
Fixes issue #470
2010-11-23 17:38:39 +00:00
David Sansome 89e3fde23b Add missing copyright headers to the icecast source and objective-c 2010-11-23 11:42:19 +00:00
John Maguire 0d96793e59 Merge small icecast genres into "other". 2010-11-22 21:14:06 +00:00
John Maguire b6d424bc04 Add stations with no good genres to "other". 2010-11-22 20:49:09 +00:00
John Maguire a7599a1fef Move the icecast stream de-duping to get more accurate genre sizes. 2010-11-22 20:47:53 +00:00
John Maguire 36f15a3cf3 Cleanup icecast genres a bit more. 2010-11-22 20:36:16 +00:00
John Maguire b7539759fc Upper case first letter in icecast genres. 2010-11-22 20:19:50 +00:00
John Maguire 5b909a2983 Comments from r2268. 2010-11-22 20:15:07 +00:00