Jim Broadus
f04657e7e7
Replace qrand usage with QRandomGenerator
...
QRandomGenerator was introduced in 5.10 and qrand has since been
deprecated. QRandomGenerator::global() returns a global instance that
has been securely seeded. QRandomGenerator provides methods that
generate values within ranges, so taking a modulus of the result isn't
necessary.
2021-04-20 10:31:07 +01:00
John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
John Maguire
bebd781fdf
Reformat all non-3rd-party C/C++/Objective-C++.
...
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
-style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
David Sansome
9d6b72b4ab
Add global search suggestions
2012-06-10 23:05:30 +01:00
David Sansome
c9745bca5d
Use a common LoadTracks implementation for most search providers
2012-06-10 20:55:51 +01:00
David Sansome
9c36cfa199
Replace the global search widget with a "Search" view on the sidebar. Organise results in a tree automatically.
2012-06-10 16:36:15 +01:00
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
4dc4aa33ac
Make the enabled/disabled state of a global search provider separate from its logged in state - means that now Grooveshark and Spotify providers will be enabled as soon as you login
2011-11-28 14:18:20 +00:00
David Sansome
63f39d8dec
Show some suggested queries in the global search widget
2011-11-06 16:30:42 +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
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
cc20d90a7a
Last.fm global search provider
2011-09-24 17:01:18 +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
David Sansome
c1041ed6d4
Support for playing tracks from local library
2011-08-29 03:32:41 +01:00
David Sansome
c96d402f26
Add a flag that search providers can set to indicate they want one art request at a time
2011-08-29 03:32:17 +01:00
David Sansome
dbffe16d04
Add a flag that search providers can set to indicate they want some delay between user input and being asked to search
2011-08-29 03:31:19 +01:00
David Sansome
dbe8ffd5de
Try to sort by "quality", ie. matches at the start of the song metadata rate higher.
2011-08-29 03:30:32 +01:00
David Sansome
9370657b50
Started work on a global search for library, with album art.
...
The idea is that there's a single place to search for music, and it doesn't matter where it is, Clementine will find something playable.
2011-08-29 03:27:47 +01:00