Commit Graph

149 Commits

Author SHA1 Message Date
Chocobozzz e986ab5a4b Merge master branch and adapt it to qt5 2015-04-16 17:16:34 +02:00
Chocobozzz 8b226c2171 Update non optionnals sources to qt5 2015-04-11 23:24:07 +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
David Sansome abe8d10b9c Add a compatibility header so liblastfm and liblastfm1 can both be used with the same source. 2012-06-28 18:40:20 +01:00
Harald Sitter 769baa5c16 Use liblastfm1 2012-06-28 18:40:20 +01:00
John Maguire 09d37aaa01 Add OVERRIDE macro like Java's @Override. 2012-06-20 16:49:41 +02:00
John Maguire 0827865804 Decode HTML entities in tweets. 2012-06-20 15:16:56 +02:00
John Maguire 0d5d1dbad1 Filter out songkick concerts that are too far away. 2012-06-20 14:13:15 +02:00
John Maguire 2aafdf06e0 Fix QNetworkReply leak. 2012-06-04 15:00:10 +02:00
John Maguire 1f836d8e29 Merge branch 'songkick'
Conflicts:
	data/data.qrc
	src/songinfo/artistinfoview.cpp
2012-06-04 14:41:47 +02:00
John Maguire 8452c5428e Load images from Google Maps API for Songkick concerts. 2012-06-04 14:40:08 +02:00
John Maguire 0bacedf465 Parse SongKick results and generate some simple HTML. 2012-06-04 14:06:43 +02:00
John Maguire 1453086a80 Add API key for Songkick and make artist calendar request. 2012-05-30 13:30:02 -07:00
John Maguire 6862a69383 Add CSS to Twitter stream. 2012-05-30 02:05:12 -07:00
John Maguire 6bc4951236 Add explanatory comments. 2012-05-29 18:56:34 -07:00
John Maguire 1b5352367a Delete Twitter reply. 2012-05-29 18:53:52 -07:00
John Maguire 0da9afa0e3 Add Twitter icon. 2012-05-29 18:51:46 -07:00
John Maguire 5af50f7db0 Parse more entities out of tweets. 2012-05-29 18:47:55 -07:00
John Maguire 919a88976b Nicer generation of tweet HTML. 2012-05-29 17:47:16 -07:00
John Maguire 7c522ee306 Add copyright headers. 2012-05-29 17:42:28 -07:00
John Maguire b22964968e Linkify urls in tweets. 2012-05-29 17:41:45 -07:00
John Maguire 2888701386 Add support for Twitter timeline in artist info. 2012-05-29 17:26:34 -07:00
John Maguire 32a2cbe6df Add copyright headers 2012-05-29 16:32:34 -07:00
John Maguire 21419765d3 Add beginnings of support for requesting events calendar for an artist
from songkick (waiting on API key).
2012-05-29 16:31:27 -07:00
David Sansome 3a88d8fcda Fade between podcast info screens a bit more nicely 2012-03-06 18:40:17 +00:00
Paweł Szymański 051c543373 Add darklyrics support and do {field} replacement on extract rules as well as URLs.
Fixes issue 1889
2012-02-12 16:08:41 +00:00
David Sansome d74d4d65f0 Clicking an artist or tag in the song info tabs now does a global search instead of searching just last.fm 2011-11-11 21:35:25 +00:00
David Sansome dad76b78dd Move all the settings pages to their own widgets and classes 2011-08-14 00:07:10 +01:00
Arnaud Bienner 0bf4b9a748 Guess formatting for last.fm' bios and format them. Partially fix issue 2085. Thanks Atrament...@googlemail.com 2011-07-26 23:55:39 +02:00
Tyler Rhodes ded8e5f6f0 Refactor "Radio" files into "Internet" files. 2011-07-15 13:27:50 +00:00
David Sansome 5488b37447 Fix vagalume lyrics. Thanks ikojba 2011-06-09 16:32:45 +00:00
John Maguire e8e882b33c Localise the song info play counts and listener counts.
Fixes issue #1834
2011-05-26 14:59:31 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +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 92b6c3a3ec Work around QTBUG-11620 (fixed in 4.7) that causes a crash when skipping through tracks with the Artist Info tab open. Fixes issue #935 2010-12-30 17:35:10 +00:00
David Sansome dc31a0be7e Make it possible to disable all lyric providers. 2010-12-26 15:06:11 +00:00
David Sansome 7fd29f160d Add a configurable timeout to song and artist info network requests. Default to 2.5 seconds 2010-12-19 13:58:53 +00:00
David Sansome 28fdb147d8 Make last.fm optional. Thanks volkov0aa. Fixes issue #49 2010-12-18 17:28:02 +00:00
John Maguire 7f6f1888cf Maybe fix crash in song info. 2010-12-14 19:00:05 +00:00
David Sansome a18dafac9c Add a "Play from my Library" context menu item to similar artists in the song info view. Fixes issue #1014 2010-12-04 16:19:30 +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
David Sansome ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
David Sansome 1e3c459e7d Don't show the artist image widget if there are no images 2010-10-23 23:44:16 +00:00
David Sansome 9d690c1b7e Scale artist images in a background thread 2010-10-17 11:01:46 +00:00
David Sansome b5f366c40a Add a thread safe network disk cache, and remove the need to pass a NetworkAccessManager around everywhere. Fixes issue #852 2010-10-16 17:20:54 +00:00
David Sansome c35ba55e75 Try to intelligently convert \n to <p> in song/artist info views 2010-10-16 16:16:22 +00:00
David Sansome b97b2138fa Play last.fm tag radio or similar artists radio when clicking on a tag in the song/artist info pane. 2010-10-16 15:22:14 +00:00
David Sansome a41b6de040 Show a "Change font size..." item in the menu of text views in the artist/song info panes. 2010-10-16 14:45:23 +00:00
David Sansome efb84a25ce Rename AutoSizedTextEdit to SongInfoTextView 2010-10-16 14:11:23 +00:00
David Sansome 07f181cc2b Make it possible to change the font size of the song/artist info views. 2010-10-16 13:56:49 +00:00
David Sansome 548430853c Remove a couple more broken lyric providers and sort the list of lyrics properly. Fixes issue #881 2010-10-16 12:56:58 +00:00
David Sansome 566bd2e2f8 Remember which sections have been expanded/collapsed 2010-10-11 21:42:31 +00:00
David Sansome 30414ef378 Don't show the last.fm track tags display if there aren't any to show 2010-10-11 21:21:08 +00:00
David Sansome abbc908aaa Collapse all info sections by default except the first one of each type but add support for using user preferences (they don't get saved yet), add a fade in/out animation to collapsed section headers. 2010-10-11 19:49:12 +00:00
David Sansome 0fcba76195 Use the active palette when drawing the info headers 2010-10-11 18:15:09 +00:00
David Sansome 35988411e1 Split the echonest images and biographies into different classes, fetch tags and similar artists from echonest. 2010-10-10 21:45:01 +00:00
David Sansome 0940d88862 Fix the black rectangle when switching between artist and song info views 2010-10-10 20:58:49 +00:00
David Sansome cc8755517e Blur the song/artist info panes while waiting for info to load 2010-10-10 20:53:49 +00:00
David Sansome 20bdd0a6d2 Fix the padding in the play stats and tag widgets 2010-10-10 19:25:53 +00:00
David Sansome aca4ba6073 Add a tag widget, and get song tags from last.fm 2010-10-10 18:57:23 +00:00
David Sansome a1cc41ab27 Get last.fm play counts and wiki for the song info pane 2010-10-10 17:59:23 +00:00
David Sansome 98716138ca Order lyric providers properly 2010-10-10 17:00:13 +00:00
David Sansome 2aa20d3dee Make the lyric providers configurable again 2010-10-10 16:46:35 +00:00
David Sansome 2f3732e73e Move lyrics into the song info pane, refactor out a load of the common code between artist and song info. 2010-10-10 16:09:20 +00:00
David Sansome fb2accea1a Make the pretty image view even prettier 2010-10-09 16:07:20 +00:00
David Sansome 58f455ec15 Fade smoothly between pages in the artist info pane when changing artists. 2010-10-09 14:15:30 +00:00
David Sansome 547a009d73 Show all the artist info at once rather than as it arrives, make resizing the text areas smoother, remove duplicate biogoraphies. 2010-10-09 13:34:28 +00:00
David Sansome 7e39bfece2 Show icons for each biography, order biographies by relevance, don't refresh artist info when switching to another song by the same artist. 2010-10-09 12:39:49 +00:00
David Sansome 81fb559f66 Catch echonest errors properly 2010-10-09 10:32:18 +00:00
David Sansome f09a115339 Add a pretty image viewer widget to the artist info pane 2010-10-07 23:13:41 +00:00
David Sansome f017587099 Improve the appearance of the artist info view, make individual sections collapsable. 2010-10-07 21:06:26 +00:00
David Sansome a85c292118 Set the size policy for the artist info widgets properly so they're not all squished together. 2010-10-07 20:18:37 +00:00
David Sansome d035b1abc2 Add libechonest into 3rdparty, and add a basic echonest artist info fetcher. 2010-10-02 16:23:33 +00:00
David Sansome 7f3e91226c Move src/lyrics to src/songinfo 2010-10-02 13:43:45 +00:00