259 Commits

Author SHA1 Message Date
John Maguire
8eb787a2eb Add missing include. 2012-10-12 14:54:47 +02:00
John Maguire
aa7b22c103 Port last.fm service to closures. 2012-10-12 14:31:31 +02:00
John Maguire
42fb7f9b42 Port InternetModel to closures. 2012-10-12 14:18:47 +02:00
John Maguire
ff86e07a4b Port IcecastService to closures. 2012-10-12 14:12:19 +02:00
John Maguire
ce9d790833 Port DigitallyImported to closure. 2012-10-12 13:52:20 +02:00
John Maguire
16fe238d98 Port remaining calls in GroovesharkService to closures. 2012-10-12 13:43:55 +02:00
John Maguire
07abe82ef3 Add a cover manager for the Google Drive library. 2012-10-01 16:39:58 +02:00
John Maguire
bb710ed2ef Remove some excessive debug messages for Grooveshark. 2012-09-27 13:51:16 +02:00
John Maguire
606bf71208 Disable automatic conversions to QUrl from strings. 2012-09-26 17:09:13 +02:00
Olaf Christ
21da34bf8c Soma.Fm: Improved playlist handling (copied from DI.fm handler) 2012-09-16 19:53:58 +02:00
John Maguire
27975c7a16 Separate out spotify blob downloader into a new optional component. 2012-09-03 17:38:07 +02:00
David Sansome
1e89fc5bf4 Remove a non-const reference 2012-08-26 14:22:38 +01:00
David Sansome
78d473512d Disable the google drive login button after starting the browser, re-enable it again when the user comes back to the Clementine window. 2012-08-24 21:33:33 +01:00
David Sansome
7ca7ecbe99 When the user opens the Google Drive section for the first time, open the settings dialog to prompt them to login instead of opening a browser to start OAuth straight away. Also fix a bug where the user's email address would be lost on subsequent authentications. 2012-08-24 21:26:10 +01:00
David Sansome
252f1e38d8 Add a context menu to google drive items 2012-08-24 19:33:05 +01:00
David Sansome
4ec6da0570 Track google drive login state better: show the user's email address in the settings dialog and let him sign out. Also remove the drive folder model which wasn't used yet because uploads aren't done. 2012-08-17 21:50:54 +01:00
John Maguire
0b97b8c74b Re-authenticate to Drive when token expires. 2012-08-17 14:44:28 +02:00
John Maguire
b9278c6c8b Merge branch 'drive' 2012-08-13 16:04:38 -07:00
John Maguire
9ce8cf59d6 Make sure Google Drive is connected when converting URLs. 2012-08-10 11:46:26 -07:00
Arnaud Bienner
57d3dfc96e Add source icons for JazzRadio and SoundCloud 2012-08-09 22:36:39 +02:00
John Maguire
a55cbc838f Merge branch 'master' into drive 2012-08-09 12:59:09 -07:00
Arnaud Bienner
1cb0869970 Clean GS pending requests when removing items, and don't try to modify non-existing items when receiving obsolete replies. Fix a crash when user tries to refresh GS items before every reply has been received 2012-08-09 00:51:00 +02:00
Arnaud Bienner
e545b6d71b Merge branch 'soundcloud' 2012-08-09 00:17:05 +02:00
Arnaud Bienner
26908ed718 Add simple context menu to soundcloud items 2012-08-09 00:16:16 +02:00
Arnaud Bienner
f13e7d1e69 Ooops... actually search for the good text in soundcloud global search 2012-08-08 23:52:59 +02:00
Arnaud Bienner
9b8f5892af Set soundcloud tracks' artist field with username value.
Sounds better than "Unknown", but not perfect...
2012-08-08 23:50:20 +02:00
Arnaud Bienner
2bf84f77d9 Add soundcloud in the global search 2012-08-08 23:23:49 +02:00
David Sansome
9a9910a464 Add support for JAZZRADIO.com
Fixes issue 3099
2012-08-08 20:32:11 +01:00
John Maguire
c5b74c832e Add tasks for indexing Google Drive songs. 2012-08-06 14:00:54 +02:00
John Maguire
a3f9947444 Merge branch 'master' into drive 2012-08-06 13:26:11 +02:00
Arnaud Bienner
e69c932577 Update issue 2540
Add basic SoundCloud support.
However, only search in internet tab + listen is done for now.
We should at least add soundcloud in global search.
2012-08-04 15:21:44 +02:00
Arnaud Bienner
c8b145c8b6 Remove useless code in groovesharkservice 2012-08-04 00:38:18 +02:00
John Maguire
94878b4bd2 Slightly hacky support for AAC on Google Drive. 2012-07-31 17:57:17 +02:00
John Maguire
fc61f0627f Filter out trashed/hidden folders on the server. 2012-07-31 15:25:49 +02:00
John Maguire
e06ae8a282 Support reading OGG & FLAC files from Google Drive. 2012-07-31 15:18:14 +02:00
Arnaud Bienner
e6d76a72a5 Add "append to/replace/... playlist" and "Configure" actions to Spotify items. 2012-07-29 20:12:16 +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
Arnaud Bienner
b08172138a Add a new PlayBehaviour (MultiplesItems) for loading playlits' songs by drag'n'drop for Internet services.
Use it for Spotify and Grooveshark.
2012-07-29 01:35:05 +02: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
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
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