Commit Graph

2803 Commits

Author SHA1 Message Date
HyperQuantum 94a7ceb898 Add an "Expand" button to add more tracks to a dynamic playlist. Fixes issue 1268 2011-11-10 11:21:41 +00:00
Clementine Buildbot 128b91d60d Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-10 10:06:53 +01:00
Arnaud Bienner 5479239d81 Add an action to get GS songs' URLs to share 2011-11-10 00:56:27 +01:00
HYPNOTOAD bfea7b8945 Change Grooveshark secret key 2011-11-09 20:44:09 +01:00
John Maguire 7e5eb1c220 Fix Mac native widgets to at least show up on Qt 4.8. 2011-11-09 14:34:11 +01:00
John Maguire a57d947a33 Show global shortcuts dialog on Lion.
Fixes issue #2104
2011-11-09 13:59:25 +01:00
Clementine Buildbot 054fd962a1 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-09 10:31:09 +01:00
David Sansome 62383d02fc Don't filter FocusIn events into the global search text box (doing so causes all kinds of unusual behaviour), instead just show the popup when pressing up or down. 2011-11-08 22:38:57 +00:00
David Sansome c1230f7b0a Fix a bug where the global search popup would never be shown on the first search 2011-11-08 22:29:52 +00:00
David Sansome ec5f9be27b Reposition the global search tooltip when new results arrive 2011-11-08 22:26:58 +00:00
David Sansome 3d8c0046a8 Don't allow providers to return more than 100 results at a time. 2011-11-08 21:49:20 +00:00
David Sansome d7720223ec Hash the information that's used by GlobalSearchWidget::CanCombineResults, avoiding doing a O(n^2) search when adding new results. 2011-11-08 21:41:41 +00:00
David Sansome b3f6e46c23 Don't re-show the results list if more results arrive after the user has explicitly closed it. Also don't continue to show results when the user has backspaced to < 3 characters. 2011-11-08 20:45:11 +00:00
David Sansome f80ac47931 Use a better search icon for the global search settings page - in the Mint-X theme the old icon was 22x22 only. 2011-11-08 20:20:25 +00:00
David Sansome 69275bb0b6 Disable the right fields in the global search settings page the first time the dialog is shown 2011-11-08 20:15:05 +00:00
David Sansome 550c4b4c84 Change another "Search everywhere" 2011-11-08 18:49:05 +00:00
David Sansome 0a655064b2 Change "Search everywhere" back to "Search for anything" - it better describes what we want the user to do with the input box 2011-11-08 18:37:00 +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 7c5aaf36aa Elide hint text in text boxes 2011-11-08 18:22:01 +00:00
Clementine Buildbot 959ac6ae4d Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-08 10:07:27 +01:00
John Maguire bd74a9a0e2 Link QCA directories 2011-11-08 00:11:12 +01:00
Arnaud Bienner ed8633b8a9 Make GS user favorites a special kind of user playlist (enable drag'n'drop for favorites) 2011-11-07 19:37:29 +01:00
Clementine Buildbot 6cb27c2bb9 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-07 10:07:11 +01:00
Arnaud Bienner 9964eab741 Add a tooltip to the global search box 2011-11-06 19:05:09 +01:00
Arnaud Bienner fed2560ad9 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-11-06 18:40:18 +01:00
Arnaud Bienner 01e7a532bf Check GS errors to logout user if its session_id is obsolete 2011-11-06 18:40:06 +01:00
David Sansome 89c9ea37fa "Search everywhere" instead of "Search for anything", and make "e.g." translatable 2011-11-06 17:27:54 +00:00
David Sansome c6e252326f Make the Configure... button work for di.fm/sky.fm in the search settings page 2011-11-06 16:41:00 +00:00
David Sansome 814c79b183 Use more friendly names for "global search" in the UI 2011-11-06 16:36:47 +00:00
David Sansome 63f39d8dec Show some suggested queries in the global search widget 2011-11-06 16:30:42 +00:00
Arnaud Bienner f79d38210c Merge branch 'master' of https://code.google.com/p/clementine-player
Conflicts:
	src/translations/translations.pot
2011-11-06 16:23:50 +01:00
Arnaud Bienner 89680a02f0 Add the ability to have custom actions for PlaylistItems, and InternetPlaylistItems (through services). Add 'add to playlists' actions for Grooveshark 2011-11-06 16:12:44 +01:00
David Sansome e3b7afbdf2 Add "Your radio streams" global search provider 2011-11-06 15:00:50 +00:00
Clementine Buildbot 7f7c1a398e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-06 10:07:20 +01:00
David Sansome dac6c1bf09 Add a SomaFM search provider 2011-11-06 00:02:32 +00:00
David Sansome 931efb1f70 Add an icecast search provider, refactor a couple of other bits 2011-11-06 00:02:32 +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 1f0c2333d0 Show the di.fm/sky.fm "Expires on" date on a separate line 2011-11-05 21:46:34 +00:00
David Sansome b37f679c36 Implement the options to hide/show the global search box, and to hide/show all other search boxes. 2011-11-05 19:09:37 +00:00
David Sansome a9e1fe0075 Implement the global search tooltip options 2011-11-05 19:09:26 +00:00
David Sansome fafee5af7c Download a new libspotify version and verify its signature. 2011-11-05 17:55:34 +00:00
David Sansome 19a12adf3e Add the QCA include dirs if QCA was found, even if spotify core was turned off 2011-11-05 17:27:10 +00:00
David Sansome 1946011919 Update each provider's logged-in state in the global search settings dialog when returning to the global search page. 2011-11-05 17:19:42 +00:00
David Sansome 37166ca19d Give the last.fm global search provider a config dialog 2011-11-05 17:11:02 +00:00
David Sansome e0beff096d Fix the priority ordering of global search results 2011-11-05 17:01:57 +00:00
David Sansome dc05c101a3 Remove the individual provider buttons from the global search widget and replace them with one settings button instead. Also tweak the appearance of the tooltip 2011-11-05 16:57:33 +00:00
David Sansome af59c517b7 Uncommitted translations 2011-11-05 16:09:59 +00:00
David Sansome 6446ef8b9e Use PNG spotify icons instead of SVG 2011-11-05 16:08:56 +00:00
David Sansome fccd0a5458 Don't make QCA a requirement if we're bundling the spotify blob (since we won't need to download anything at runtime) 2011-11-05 15:44:56 +00:00
David Sansome 568f78d874 There's no need to write each spotify blob file out to a temporary directory first. 2011-11-05 15:44:56 +00:00
Clementine Buildbot 9e0a3ba0ff Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-05 10:07:12 +01:00
Arnaud Bienner e7307aa6d4 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-11-05 02:42:24 +01:00
Arnaud Bienner 4f5265f820 Don't try to insert a row which already exists 2011-11-05 02:42:17 +01:00
Arnaud Bienner 034db5d18b Create and delete Grooveshark playlists 2011-11-05 02:34:49 +01:00
David Sansome b618c4f9a9 Don't compile the spotify blob if spotify core is disabled 2011-11-05 01:21:01 +00:00
David Sansome c12b3ab399 Verify the signatures of spotify blob files downloaded at runtime. Should protect against MITM attacks, and compromises of our server. 2011-11-05 01:12:28 +00:00
Arnaud Bienner 33abc40bf5 Use the same string for special search playlists, to be consistent (just one same string to translate) 2011-11-05 01:17:25 +01: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
Gilles Habran 37eeb70e3a Update some strings to match between window title and action name.
Update issue #2062
Patch applied.
2011-11-04 14:14:56 +01:00
Clementine Buildbot a8b25003a1 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-04 10:07:10 +01:00
David Sansome ce66bdf1e8 Always run uic on optional ui files so we can get translations out. It was supposed to do this already... 2011-11-03 17:19:37 +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
Clementine Buildbot 909827bff7 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-03 10:07:38 +01:00
David Sansome a2cd7dc7e4 Use relative filenames for the source file locations in .pot files 2011-11-02 23:55:50 +00: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
Arnaud Bienner 8e314ef4d8 Ability to remove songs from Grooveshark's playlists (including favorites) 2011-11-02 23:41:58 +01:00
Clementine Buildbot 909085100c Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-02 10:07:24 +01:00
Arnaud Bienner 860d355f00 Ability to add a Grooveshark song to Grooveshark user's favorites 2011-11-02 00:02:49 +01:00
Arnaud Bienner bfee1be5dd Add (do not remove) location to pot/po files 2011-11-01 19:14:22 +01:00
John Maguire f241ebf7b9 Sort grooveshark results better in global search and show fewer of them. 2011-11-01 13:00:27 +01:00
John Maguire 2e2f4e570c Make drag & drop work for Spotify user playlists. 2011-11-01 11:52:22 +01:00
Clementine Buildbot df6e8037cd Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-01 10:07:01 +01:00
Arnaud Bienner 222f499117 Adding missing string from revision 03f456376d 2011-11-01 03:11:42 +01:00
Arnaud Bienner 8d0920073b Revert "Prevent block analyzer to be initialized in very high framerate mode. This is strangely slowing it"
This reverts commit 6098e298fd.
2011-11-01 02:04:42 +01:00
Arnaud Bienner 03f456376d Use 'Open file' instead of 'Open media'. 2011-11-01 01:55:09 +01:00
Arnaud Bienner 00a1988058 Add few keyboard accelerators 2011-11-01 01:50:55 +01:00
Arnaud Bienner fb2fa11be3 Update Dutch translation. Thanks Rindert Vonk. 2011-11-01 01:07:34 +01:00
Clementine Buildbot bed0fe44ca Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-10-31 10:00:48 +01:00
Arnaud Bienner 1df827cedb Pick the last.fm love icon for Grooveshark favorites songs (it's more like the one visible on Grooveshark website) 2011-10-31 00:58:18 +01:00
David Sansome 246b14d677 Save provider enabled/disabled state and order 2011-10-30 23:31:43 +00:00
Arnaud Bienner 85ea3fe37f Add songs to Grooveshark playlists by drag and drop 2011-10-30 23:59:43 +01:00
David Sansome e2ac2814f4 Merge translations from launchpad one last time 2011-10-30 22:21:17 +00:00
David Sansome a8dfa31818 Make the logout button on the spotify settings page actually work 2011-10-30 18:52:54 +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 a2b95b7f54 Group pages in the settings dialog into categories 2011-10-30 16:51:43 +00:00
David Sansome d3abed6044 Add a missing string from revision c8a4852843 2011-10-30 15:22:44 +00:00
David Sansome 92c284f9b1 Fix the global search tooltip's background under KDE 2011-10-30 15:21:58 +00:00
David Sansome 3395078a90 Add the Content-Transfer-Encoding line to the pot header so it gets added every time 2011-10-30 12:24:36 +00:00
David Sansome d6e480f911 Make the version text in the about dialog selectable
Fixes issue 2355
2011-10-30 12:24:35 +00:00
Clementine Buildbot e5c201467f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-10-29 21:24:06 +02:00
Arnaud Bienner c8a4852843 Add user's Grooveshark favorites songs 2011-10-29 20:42:25 +02:00
David Sansome d3aa4f3a56 Add Content-Transfer-Encoding to the .pot so "tx push" will work 2011-10-29 19:11:53 +01:00
David Sansome 1f6bc7cd9a Don't update the .po files automatically from the .pot each build (Transifex will do that now). Also add source files that aren't compiled because of options being disabled to the OTHER_SOURCES list (for translation) automatically. 2011-10-29 18:37:30 +01:00
Arnaud Bienner 35d4b6392c Get back translations lost during revision ab4235aa0f 2011-10-26 18:30:57 +02:00
John Maguire ab4235aa0f Update translations. 2011-10-26 16:46:22 +02:00
John Maguire 4ba3cc9563 Automatically grab clipboard contents for "Load cover from URL" dialog.
Fixes issue #1816
2011-10-26 14:59:50 +02:00
John Maguire a1ece63f3a Use URLs for openInFileBrowser. 2011-10-26 14:54:24 +02:00
John Maguire cc986b7177 Update show in file browser to work with URLs.
Fixes issue #2002
2011-10-26 14:43:28 +02:00
John Maguire e1a99f1909 Change include to make glib happy. 2011-10-26 12:14:02 +02:00
John Maguire 9c6964da2c Remove another deprecated glib function call. 2011-10-26 12:06:51 +02:00
John Maguire 01f3f5c5ea Stop using deprecated glib eject functions. 2011-10-26 11:51:11 +02:00
David Sansome 5237c005c9 Work around an NVIDIA driver bug that would cause Clementine to use 100% cpu on shutdown. 2011-10-23 15:44:24 +01:00
David Sansome 1b6ce64532 Comments from revision 9a739a3346 2011-10-23 15:44:24 +01:00
Arnaud Bienner b3bf374b6e Disable Grooveshark and Spotify in global search by default, because user needs a premium account to use these services 2011-10-20 17:21:24 +02: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 4cabb98b43 Fix compilation of the gnome global shortcuts backend when dbus isn't available 2011-10-15 20:49:53 +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 50b4f2ee93 Ignore item only if explicitly marked as playlist. Fixes issue 2297 2011-10-15 18:17:00 +02:00
David Sansome 6d435f9276 Try starting the new gnome-control-center keyboard command as well as gnome-keybinding-properties. Fixes issue 2283. 2011-10-14 22:09:12 +01:00
David Sansome 2bffe1fa82 Register and unregister for media key notifications properly from the gnome settings daemon 2011-10-14 22:01:25 +01:00
David Sansome dea15c91ba Oops, fix a URL 2011-10-14 21:24:35 +01:00
David Sansome bde558f655 Force the menubar to be shown in the Clementine window instead of in Unity's global menubar thing. 2011-10-14 21:17:41 +01:00
Arnaud Bienner 03e30d19c4 Make Grooveshark playlists drag'n'drop possible 2011-10-14 00:10:18 +02:00
Arnaud Bienner b3b890b9cf Allow extended selection in Internet view 2011-10-13 23:57:57 +02:00
John Maguire a526c7c13d Make closures non-copyable. 2011-10-06 14:45:55 +02:00
John Maguire 265b174dc9 Fix warning on GCC 4.6 2011-10-06 14:24:33 +02:00
John Maguire 5e343611bf Add some asserts to closure. 2011-10-06 13:19:42 +02:00
John Maguire a6e8797b9d Add some syntactic sugar to closures. 2011-10-06 13:11:18 +02:00
Arnaud Bienner bac6095491 Rename GrooveShark to Grooveshark everywhere, as it is actually named like this 2011-10-05 21:59:15 +02:00
Arnaud Bienner ea55ac67eb Actually check if user has a Grooveshark account 2011-10-05 21:02:32 +02:00
John Maguire e77de84451 Add a closure variant using tr1::function. This may break the build... 2011-10-05 14:55:39 +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 fc34a244c6 Tidy up closure implementation. 2011-10-05 11:36:08 +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
John Maguire 58cde734d5 Add support for Magnatune to global search. 2011-10-03 14:44:30 +02:00
John Maguire ac5511518f Remove redirect craziness from Magnatune downloading. 2011-10-03 13:59:57 +02:00
Arnaud Bienner d93f2c64cb Remove GrooveShark items when user logout. Also, give the ability to quickly access to GrooveShark config by doubleclicking GrooveShark root item 2011-10-02 14:47:03 +02:00
Arnaud Bienner b4c4c7cfef Update po files 2011-10-02 13:04:28 +02:00
Arnaud Bienner 3c23e44721 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-10-02 12:06:11 +02:00
Arnaud Bienner 4143823870 Get GrooveShark songs' length (give the ability to seek through stream). markStream and markSongComplete, as resquested by GrooveShark 2011-10-02 12:05:56 +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
David Sansome d59e21d709 Set permissions on Clementine's config file to 0600 2011-10-01 17:15:39 +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