Commit Graph

80 Commits

Author SHA1 Message Date
John Maguire f241ebf7b9 Sort grooveshark results better in global search and show fewer of them. 2011-11-01 13:00:27 +01:00
David Sansome 246b14d677 Save provider enabled/disabled state and order 2011-10-30 23:31:43 +00:00
David Sansome 08e09ce5dd Add a settings page for global search - doesn't save yet 2011-10-30 18:52:38 +00:00
David Sansome 6d45415b00 Consistently use "Various artists" with a lower case "a" 2011-10-30 16:53:39 +00:00
David Sansome 92c284f9b1 Fix the global search tooltip's background under KDE 2011-10-30 15:21:58 +00:00
David Sansome 1b6ce64532 Comments from revision 9a739a3346 2011-10-23 15:44:24 +01:00
Arnaud Bienner f03d48164f Save providers preferences (enabled/disable) 2011-10-20 16:36:12 +02:00
Arnaud Bienner 1d60cc6c52 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-10-20 15:04:03 +02:00
Arnaud Bienner f0c8703dbc When toggling provider button, check if provider can be used by checking if user is logged-in, it this is necessary to make the provider work 2011-10-20 15:03:47 +02:00
David Sansome 9a739a3346 Add a DBus interface onto the global search engine, and add a KDE krunner plugin that performs global searches in Clementine.
This is optional and is not compiled unless you have the plasma developer packages installed.
2011-10-19 23:17:24 +01:00
David Sansome 348faef9e1 Remove the individual global search provider boolean flags and replace them with with a Q_FLAGS enum. Also add a flag for "probably has remote album art" 2011-10-19 23:08:11 +01:00
David Sansome 452fccc2f5 Make GrooveShark emit a SearchFinished signal, and fix aggregate SearchFinished signals if some providers are disabled 2011-10-19 23:07:41 +01:00
David Sansome da825d4659 Make clicking outside the global search tooltip work again 2011-10-15 21:57:08 +01:00
David Sansome ce501d982a Don't show the global search popup immediately when clicking in the search field, making it possible to double click the search box to select all text. 2011-10-15 20:48:48 +01:00
Arnaud Bienner bac6095491 Rename GrooveShark to Grooveshark everywhere, as it is actually named like this 2011-10-05 21:59:15 +02:00
John Maguire a0314d34fb Support albums from GrooveShark in global search.
Quality is pretty bad though.
2011-10-05 14:08:33 +02:00
John Maguire 20a967a19f Basic working closure implementation. 2011-10-04 18:26:40 +02:00
John Maguire 9f1e82965d Add Jamendo as a global search provider but disabled by default. 2011-10-03 16:03:03 +02:00
John Maguire 55624c4dda Sort providers by name in global search widget. 2011-10-03 15:39:06 +02:00
David Sansome 4e9f3a27db Fix the global search tooltip 2011-10-01 21:25:05 +01:00
David Sansome 292610c20b Allow toggling of individual global search providers. 2011-10-01 21:22:01 +01:00
David Sansome 3e189f53bc Change a dodgy variable name 2011-10-01 17:55:53 +01:00
David Sansome 58e3a3b676 Don't reload di.fm and sky.fm streams all the time 2011-10-01 17:41:28 +01:00
John Maguire 0df07719e2 const& 2011-10-01 11:03:36 +02:00
John Maguire bbd0cef2af Consistently name GrooveShark. 2011-09-30 16:02:57 +02:00
John Maguire 41ce54a088 Add copyright header to Grooveshark global search. 2011-09-30 16:01:07 +02:00
John Maguire 870ffdfb46 Remove extraneous debug. 2011-09-30 16:00:05 +02:00
John Maguire 30014f512e Support album covers and loading tracks from Grooveshark in global
search.
2011-09-30 15:58:24 +02:00
John Maguire dd017e99ee Basic global searching in Grooveshark. 2011-09-30 15:35:09 +02:00
David Sansome 30803b6743 Swap between two models (a "back" model and a "front" model) to smooth the delays when typing a search query 2011-09-29 23:26:02 +01:00
David Sansome 4282b6b68b Don't let search results that arrive later appear before other search results - should make navigating the global search results less annoying when there are remote providers like spotify. 2011-09-29 22:29:20 +01:00
David Sansome 4c819b1cb9 Add a "Replace and play now" shortcut to the global search menu. 2011-09-27 22:38:14 +01:00
David Sansome 892f5f1df1 Add search providers for di.fm and sky.fm 2011-09-24 22:49:04 +01:00
David Sansome 0b65aa3b02 Factor the generic parts of the last.fm search provider into a SimpleSearchProvider class 2011-09-24 20:42:33 +01:00
David Sansome 0a5ef8382d Don't show a last.fm result if any token didn't match 2011-09-24 18:36:59 +01:00
David Sansome cc20d90a7a Last.fm global search provider 2011-09-24 17:01:18 +01:00
David Sansome d83736acc0 Initialise a GlobalSearch in main and pass it around, so providers can register themselves 2011-09-24 14:44:23 +01:00
David Sansome 8551d4a46d Only re-show the global search popup on focus events that were caused by the mouse or keyboard. 2011-09-24 13:26:12 +01:00
John Maguire adf03678e3 Fix typo 2011-09-20 09:57:18 +02:00
David Sansome 8f3ea57a64 Fix the background colour of items in the global search popup in Qt 4.7 with the GTK style. 2011-09-19 11:06:25 +01:00
John Maguire 66f9d3c8b0 Remove pointless setFocus(). 2011-09-19 12:05:02 +02:00
David Sansome f2062cb68a Use the selected provider when adding songs to the playlist 2011-09-19 00:35:30 +01:00
David Sansome 847d90d117 Add a "Switch provider" action when there is more than one provider for a search result 2011-09-19 00:29:09 +01:00
David Sansome 334ecd3c38 Add an inner border to the tooltip 2011-09-18 23:41:25 +01:00
David Sansome e10efbc484 Make "Add and play now" work 2011-09-18 23:26:21 +01:00
David Sansome b45c5a866e Make the tooltip actions work properly by click and shortcut key, add a pretty mouseover animation to the tooltip actions, pass mouse events through to the proper widget when the tooltip is open. 2011-09-18 23:07:57 +01:00
David Sansome 7ec059dc13 Add a tooltip action widget (actions don't work yet) 2011-09-18 17:43:53 +01:00
David Sansome 2a97a63719 Prettier global search tooltip 2011-09-18 16:00:04 +01:00
David Sansome 4ac16f0dd4 Add a "tooltip" that shows the songs within each album in the global search results 2011-09-18 00:06:07 +01:00
David Sansome 02f2d5dc88 Combine similar search results 2011-09-17 17:42:14 +01:00