Commit Graph

4039 Commits

Author SHA1 Message Date
John Maguire 08286102da Precache the first and last parts of Google Drive MP3s to reduce the
number of requests when using accurate tagging.
2012-07-30 13:41:29 +02:00
David Sansome fd1d70c644 Add a directory model for selecting a default upload directory on Google Drive. 2012-07-29 15:06:23 +01:00
David Sansome 9653a45f66 Read Google Drive metadata in the tagreader worker process 2012-07-28 19:35:12 +01:00
David Sansome 165cec1e86 Move some of the Google Drive bits out into a separate client class. 2012-07-28 17:18:03 +01:00
David Sansome 51631169fa Show a nicer success page when oauth is complete. 2012-07-27 18:59:03 +01:00
John Maguire f48383c73e Index Google Drive MP3s and write to local database. 2012-07-27 16:04:12 +02:00
John Maguire 49326981c3 Make Google Drive option available as #define. 2012-07-27 10:25:45 +02:00
David Sansome 73062bce3d Make Google Drive support optional and add a cmake option for it 2012-07-26 21:23:31 +01:00
John Maguire 1031482024 Refresh oauth token when possible to avoid reauthenticating with Drive
all the time.
2012-07-26 16:55:59 +02:00
John Maguire ecf7998f1c Add URL handler for googledrive URLs and fetch a new temporary
download URL for every play.
2012-07-26 16:35:57 +02:00
John Maguire 4a629e636b Cache taglib Drive requests in a google::sparsetable.
Requires sparsehash.
2012-07-26 16:15:19 +02:00
John Maguire bda3d0e033 Hacky support for reading tags from MP3s on Google Drive.
Requires TagLib 1.8
2012-07-26 11:36:07 +02:00
John Maguire 0c861da7a9 Almost working tagging from stream. 2012-07-25 17:57:50 +02:00
John Maguire 517252ccc1 Merge branch 'master' into drive
Conflicts:
	data/data.qrc
2012-07-25 15:36:57 +02:00
John Maguire 20031870df Support keyboard shortcuts in Mac search fields.
Fixes issue #994
2012-07-23 18:17:31 +02:00
Clementine Buildbot 3ad9a3ce20 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-07-23 10:02:43 +02:00
Arnaud Bienner 13daaf7106 Don't show the search box for GS and Spotify if user isn't logged in 2012-07-21 20:15:36 +02:00
Arnaud Bienner 63c42503c6 Fix non-ending task in GS which may happen if the user log out (or is logged out because session became invalid) 2012-07-21 19:39:37 +02:00
Arnaud Bienner 07c7bd9bb2 Sort GS MyMusic songs by names, like other playlists 2012-07-21 18:47:18 +02:00
Arnaud Bienner 9a392692dd Add missing const 2012-07-21 18:31:08 +02:00
Arnaud Bienner 77c6199dd9 Add GS 'My Music' support.
Fixes issue 2609
Retrieving and removing songs works well :)
Adding songs doesn't work :(
2012-07-21 18:09:16 +02:00
David Sansome 0a4b6aec5c Fix a crash on exit when gnome accessibility bits are enabled. 2012-07-17 18:52:12 +01:00
Clementine Buildbot de74c3f3a2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-07-16 10:02:45 +02:00
Arnaud Bienner eded1daca1 Correct typo in comments 2012-07-16 00:39:00 +02:00
Arnaud Bienner 16fde37bac Remove Grooveshark and Spotify search playlist: we don't use them anymore since we can search on these services through the Internet tab 2012-07-16 00:27:43 +02:00
Arnaud Bienner 20987e140d Oops: missing to update CMakeList.txt 2012-07-16 00:21:56 +02:00
Arnaud Bienner 0e3dc5a8be Add new ConcurrentRun templates for void functions, and functions with 3 arguments + corresponding test cases.
+ SongLoader now has its own QThreadPool to load folders/playlist in background.
Update issue 2598
This should fix slowliness problems reported.
2012-07-16 00:06:55 +02:00
David Sansome f1117231e2 Increase the size of the moodbar cache to 60MB. Fixes issue 3052. 2012-07-15 17:17:17 +01:00
David Sansome 90db3b0e38 Fix an annoying CSS bug where the size of toolbuttons in the main
window would sometimes change by 1px when toggling their
enabled/disabled state.
2012-07-15 17:11:49 +01:00
David Sansome 3ca45f8100 Make the new non-mac search fields look the same as the old LineEdit
based search fields.
2012-07-15 16:58:13 +01:00
Clementine Buildbot 3fbf65f679 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-07-15 16:22:21 +02:00
David Sansome df25f6291f On Windows, don't activate the pretty OSD when it is first shown and
don't show it in the taskbar.
2012-07-15 14:46:00 +01:00
David Sansome ed5b1d787b Remove the tooltip flag on the pretty OSD on Windows, to remove the
drop-shadow that was added to tooltip windows in Qt 4.8
(QTBUG-13276).  Fixes issue 3017.
2012-07-15 13:23:14 +01:00
David Sansome 2035c3e7f5 Fix a bug where dragging songs to the bottom of the playlist would actually move them back to the top. 2012-07-15 12:51:19 +01:00
David Sansome de782c980d Ignore custom playlist row colours for the currently playing item - they might clash with the glowing current track indicator. Fixes issue 3042. 2012-07-15 12:44:53 +01:00
David Sansome 73792668eb Check for the length of a track being <= 0 instead of == 0 when seeking. 2012-07-15 12:17:44 +01:00
Arnaud Bienner cb1f82d12f Remove qsearchfield_nonmac.png on 3rparty directory, as it's not used since revision 66a92ae909 2012-07-14 16:17:23 +02:00
Arnaud Bienner 2c301cde0f Move the search field button to the left, and always display it 2012-07-14 16:10:41 +02:00
Arnaud Bienner 7f89e8832e When loading songs aync, always load the first song of our list, as it may be played immediately once added to the playlist
Fixes issue 2598
2012-07-14 00:53:42 +02:00
Arnaud Bienner 3b50ed8953 Clear playlist search field when Esc is pressed 2012-07-14 00:00:16 +02:00
John Maguire 83f1aa9252 Copy the character that triggered a search box focus into the search box. 2012-07-12 19:09:03 +02:00
John Maguire 501baa6597 Support setFocus on Mac QSearchField. 2012-07-12 18:48:47 +02:00
John Maguire 0443232ecd Use backwards-compatible boost random types. 2012-07-12 17:07:13 +02:00
John Maguire facf8ac142 Forward setFocus() in QSearchField. 2012-07-12 16:51:11 +02:00
John Maguire dbf9970c76 Add suggestions from Spotify starred & top 100. 2012-07-12 16:35:09 +02:00
John Maguire 616a05eff9 Sort data.qrc alphabetically. 2012-07-12 14:15:23 +02:00
John Maguire 66a92ae909 Compile in the clear search icon for non-mac.
Fixes issue #3047
2012-07-12 14:12:59 +02:00
John Maguire 145f1efaf5 Basic support for Google Drive & OAuth. 2012-07-12 14:09:20 +02:00
John Maguire 6b87318710 Revert "Typedef QSearchField to old LineEdit on non Mac, and make it compatible with QSearchField"
This reverts commit 59517f5b4e.

Update issue 3047
Status: Accepted
Breaks the mac build. We should do a proper fix for this.
2012-07-12 14:04:29 +02:00
David Sansome 497928d693 Don't try seeking a song if there's no song playing, or the song isn't seekable.
Fixes issue 3041
2012-07-10 15:00:47 +01:00