Commit Graph

121 Commits

Author SHA1 Message Date
Amish Naidu 107e945872 Convert uses of QtAlgorithms to std:: algorithms 2018-10-09 19:17:54 +01:00
John Maguire 5d0cf343d5 Use new clementine images API. 2017-03-06 18:15:59 +00:00
Santiago Gil d3898d2f47 Add dialog to display streams' audio details (#5547)
* Add Stream Details window

* Fix capitalization in StreamDiscoverer::Discover()

* StreamDiscoverer::Discover(): get URL by const reference

* Refactor StreamDiscoverer::Discover

* Rename StreamDiscoverer callbacks

* StreamDiscoverer::OnDiscovered: fix nullptr comparison

* StreamDiscoverer: rename DiscoverFinished signal

* StreamDiscoverer::DataReady: receive const reference

* StreamDiscoverer: Remove unsigned types

* StreamDetailsDialog: rename Close slot

* StreamDetailsDialog: rename ui pointer to ui_

* MainWindow::ShowStreamDetails: receive a const reference

* StreamDetailsDialog: use unique_ptr, remove unsigned types
2016-12-21 16:57:04 +00:00
Jan Suchomel 622a3e478a Add support for displaying lyrics from a Vorbis comment (#5495)
* Added support for displaying lyrics from Vorbis Comments.

* Fixed style issues
2016-09-18 13:23:39 +01:00
John Maguire afb7e1db36 Add attribution to wikipedia artist biographies 2016-09-05 15:17:14 +01:00
Mattias Andersson deb1c638cc Cope with empty spotify image responses 2016-07-07 19:04:24 +02:00
John Maguire de046cdf40 Fetch whole wikipedia article (as extract).
Fixes #1112
2016-07-05 15:09:12 +01:00
John Maguire 678ea4c6d1 Fix fetching wikipedia images for unicode artists.
#5416
2016-06-29 14:58:03 +01:00
John Maguire f0406ba86b Fix parsing of URLs from wikipedia.
#5416
2016-06-29 13:34:59 +01:00
John Maguire 7750d5015e Cope with empty biography responses. 2016-06-28 18:22:15 +01:00
John Maguire a9ba0f3bf2 Filter out bad wikipedia images better and support other locales better.
#5416
2016-06-28 16:28:20 +01:00
John Maguire 55af2b1d3b Add image fetching from wikipedia
#5416
2016-06-28 15:34:14 +01:00
John Maguire 7c0ef13bb7 Add artist biography from Google KG.
#5416
2016-06-28 14:16:23 +01:00
John Maguire a8a0f2e4fd Remove echonest and update songkick concert fetcher.
#5416
2016-06-27 14:47:42 +01:00
John Maguire aeb493c016 Replace echonest artist images with spotify #5416 2016-06-22 14:54:57 +01:00
John Maguire 4cd20ffdaa Cope with receiving no images from spotify 2016-02-17 18:06:30 +00:00
John Maguire 52c72f95ba Too clever for old GCC versions. 2016-02-17 16:42:03 +00:00
John Maguire 1304f8898e Fetch artist images from spotify. 2016-02-17 15:55:37 +00:00
John Maguire 5b4c0c920c Blacklist artist images from echonest using dead last.fm server. 2016-02-17 15:55:37 +00:00
John Maguire ce3ba02749 Fix songkick concert fetching 2016-02-11 16:59:40 +00:00
John Maguire f300946c81 Remove most usages of QFutureWatcher 2015-11-27 14:28:12 +00:00
narunlifescience dd953fd86c check custom icon location, then system theme & then fallback theme
icons added & replaced
2015-10-13 22:35:49 -05:00
Eduard Braun 2e35e09c96 Songinfo/lyrics: Fix index error in "UltimateLyricsProvider::Extract"
(second argument to "QString,mid()" is number of characters, not end index)
2015-10-10 22:35:11 +02:00
Eduard Braun b25101c1be Songinfo/lyrics: Improve generation of paragraphs
(generate new paragraph for two or more newlines, generate line break for single newlines)
2015-10-10 22:04:37 +02:00
Martin Babutzka 258ae281d8 IDv3 tag lyrics support.
Squashed the following commits:

5c723ad commit: Fix: Includes alpha sort
15ac350 commit: Fix: Updated Database::kSchemaVersion to 49.
767a26a commit: Fixed small code style issue. Added schema-49 to data.qrc instead schema-48
bf6aa64 commit: fixup! Modified async handling of CollapsibleInfoPane as recommended by Andreas. Display of IDv2 tag lyrics works now.
c1f97e9 commit: fixup! Added support to read/display the ID tag lyrics in MP3 files:
c946b1d commit: Added support to read/display the ID tag lyrics in MP3 files:

-Added schema to the database to store it
-Added readers/writers for ID tags
-Added readers/writers for the database to the song class
-Added the taglyricsinfoprovider to show the lyrics in songinfo
2015-04-10 21:05:07 +02:00
Arnaud Bienner c5b6f7b531 I guess our users are more interested in classic Facebook page than JSON.
Not sure why Echonest returns graph URL.
2014-12-27 00:47:24 +01:00
Krzysztof Sobiecki fa9ea6ec5f Fix compilation with moved files in internet/ 2014-12-18 23:35:21 +01:00
John Maguire 192b60d965 Use nullptr as parent parameter default everywhere 2014-02-10 16:03:54 +01:00
John Maguire 3323c2d094 Convert all instances of foreach() to a C++11 for
find ext src -name '*.cpp' -exec \
    sed -i -e 's/foreach(\([^,]\+\),/for (\1 :/' {} \;
2014-02-10 14:43:32 +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
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
John Maguire d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
John Maguire 59cb17c08d Change some API URLs to use https. 2014-01-28 12:57:27 +01:00
Andreas ed3365bc0d Lyrics: Fix "Apply exclude rules" 2014-01-18 18:22:00 +01:00
Hugo Dueñas 29ce846a68 Simplification of the previous commit 2014-01-03 01:45:22 -06:00
Hugo Dueñas db07c2a5cb Improvement on the detection of empty lyrics 2014-01-02 16:52:35 -06:00
Arnaud Bienner 26971cfd74 Increase default timeout for loading song/artist info.
Now we don't wait for everything to be loaded before displaying the results, it seems fine to wait longer to get all the replies.
Also, it doesn't seem necessary anymore to allow users to change the timeout setting.
2013-12-30 20:34:24 +01:00
ArnaudBienner 1130efe4b1 Merge pull request #4042 from hugochiquito/master
Added ability to quickly display partial results on Song Info and Artist Info Panes.
2013-12-30 11:14:16 -08:00
Hugo Dueñas 5d2fbfb041 Further clean up of the last commit 2013-12-30 00:04:15 -06:00
Hugo Dueñas 5b2938003b Clean up of the last commit 2013-12-29 14:04:30 -06:00
Arnaud Bienner 24d055f571 In Artist info panel, add a link to the bio webpage 2013-12-28 00:10:11 +01:00
Hugo Dueñas a4d0a65624 Added ability to quickly display partial results on Song Info and Artist Info Panes. 2013-12-21 12:58:51 -06:00
Paweł Szymański 6e8cfc7762 Add an Encyclopaedia Metallum lyrics provider. Fixes issue 3568 2013-12-03 20:21:52 +11:00
Andreas 90c8929f96 Fix crash when fetching lyrics with the network remote. 2013-10-09 19:33:59 +02:00
Andreas 6b92048c15 Code cleanup. 2013-07-10 20:00:52 +02:00
Andreas 9e0b877e5a The network remote can now send lyrics to clients. 2013-07-10 13:24:23 +02:00
John Maguire 8171192df5 Port Closure to variadic templates. 2012-11-22 17:19:04 +01:00
David Sansome 5940b0ead1 Make SongKick results a bit prettier 2012-08-27 12:25:33 +01:00
David Sansome a7ba3ab927 Don't show the SongKick results pane if there aren't any concerts. 2012-08-27 12:25:33 +01:00
John Maguire 3e696be0d0 Remove Twitter integration as the API now requires authentication which
makes no sense for us.
2012-08-17 11:04:14 +02:00