Commit Graph

746 Commits

Author SHA1 Message Date
narunlifescience 8020749375 add dropdown annimation to library & internet tree view 2015-11-24 19:35:07 -06:00
Arnaud Bienner d9150ec165 Fix Clementine getting stuck when transitioning from a local track to a Spotify track with crossfade disabled.
Two problems here:
- the first was that "StartPlaybackLater" wasn't called from the thread which created SpotifyServer, so the timer never started.
- then the playback sometimes failed or started with an offset: just hack to ignore sourcedrained signal in this case.
2015-11-03 23:20:44 +01:00
narunlifescience dd953fd86c check custom icon location, then system theme & then fallback theme
icons added & replaced
2015-10-13 22:35:49 -05:00
John Maguire 8f84a53273 Update soma.fm to use https 2015-10-06 17:44:54 +01:00
Chocobozzz 847e3eefad Fix byte range requests with seafile (server >= 4.4.1) 2015-10-01 21:04:45 +02:00
John Maguire 6ba65276fd Nevermind, OneDrive does not support more than one redirect uri
Revert "Use new oauth endpoint"

This reverts commit a2bef07fd0.
2015-09-25 17:09:43 +01:00
John Maguire a2bef07fd0 Use new oauth endpoint 2015-09-25 17:06:35 +01:00
John Maguire 06e5b6750c Make Dropbox logout work. 2015-09-25 16:25:42 +01:00
John Maguire 415e6dc5e8 Port dropbox authentication to oauth2 2015-09-25 16:21:01 +01:00
John Maguire a2f471d75d Remove task state from icecast service 2015-09-25 15:46:00 +01:00
Chocobozzz 631a6cdabd Merge branch 'master' into qt5 2015-09-16 17:40:54 +02:00
David Sansome 1e7242afa5 Remove Radio GFM since it's no longer running 2015-09-16 22:37:01 +10:00
Arnaud Bienner 74781cb601 Add playlist actions to Spotify songs
Fixes #5000
2015-09-14 23:58:08 +02:00
Ivan Leontiev 1ed85871e3 Fix inability to disable vk autocaching 2015-08-20 01:03:57 +00:00
Ivan Leontiev eb8fad766f Removed default value for the parameter original_url in the UrlHandler::LoadResult() constructor and updated internet services according to this. 2015-08-05 19:45:56 +00:00
John Maguire f6af9748cc Fix mode on vk files 2015-08-04 17:16:10 +01:00
Ivan Leontiev 6cf35d150e Fix Di.fm stations stuck when try them to play without internet. 2015-07-31 15:04:31 +00:00
Ivan Leontiev fe5db351e1 Fix UpdateMusic() call after adding/removing song 2015-07-30 15:33:10 +00:00
Ivan Leontiev b97a0ef111 Fix vk duplication of search results. Added delay to vk search. 2015-07-30 15:33:10 +00:00
John Maguire b2a532be62 Experiment with typesafe time units 2015-07-20 14:35:13 +01:00
John Maguire e94ec8d119 Add Equifax root cert after Apple removed it.
Fixes #4942
2015-07-07 19:15:23 +01:00
Chocobozzz 7b8552ab6d Add love/ban (lastfm) global shortcuts 2015-06-17 14:21:24 +02:00
Chocobozzz e816131bf3 Fix compilation error when we don't have qt4 include directories for
lastm/echonest
2015-06-16 15:36:14 +02:00
Chocobozzz f4ca305fd7 remove useless qhash_qurl 2015-06-04 10:37:34 +02:00
Chocobozzz 5d343cbe7f remove useless qt_version defines 2015-06-03 23:13:06 +02:00
Chocobozzz 5aec1c0e24 Merge remote-tracking branch 'upstream/master' into qt5
Update qt version to 5.4.2
2015-06-03 22:57:58 +02:00
John Maguire aaa3fe3eaf Merge pull request #4856 from Chocobozzz/master
Fix crash when Clementine lists albums of Ampache et remove subsonic songs when the user disconnects
2015-05-20 12:57:06 +01:00
Chocobozzz 54771292d6 Handle subsonic parsing errors instead of using Q_ASSERT 2015-05-20 13:50:17 +02:00
John Maguire fa90e72d24 Use Qt functions instead of custom pem -> der. 2015-05-19 13:45:33 +01:00
Chocobozzz 0a4de71c37 Remove subsonic songs is we are not connected 2015-05-15 17:36:19 +02:00
Chocobozzz f81b7c595c Fix crash when Clementine lists the albums on Ampache 2015-05-15 16:59:43 +02:00
John Maguire e1ea116bfb Remove Grooveshark support.
Well that was nice while it lasted.
2015-05-01 11:57:59 +01:00
John Maguire c0cf5e1220 Check for both names of libcrypto++
Fixes #4835
2015-05-01 11:52:40 +01:00
John Maguire 319b8a5824 Use SHA512 signatures for the spotify blob.
SHA512 is unsupported by reasonable QCA versions so we must use
libcrypto++ instead.
2015-04-28 12:27:07 +01:00
John Maguire 4cbe098b83 Fix memory leak in Amazon Cloud Drive. 2015-04-27 14:02:07 +01:00
Chocobozzz afda8f7505 Update again from master 2015-04-17 16:06:57 +02:00
John Maguire e142bcaa21 Remove extraneous logging. 2015-04-17 12:13:27 +01:00
John Maguire aa22a43f44 Add exponential back-off to Amazon requests. 2015-04-17 12:10:40 +01:00
Chocobozzz e986ab5a4b Merge master branch and adapt it to qt5 2015-04-16 17:16:34 +02:00
John Maguire e59ab5fa27 Comply with Amazon Cloud Drive branding guidelines. 2015-04-16 15:57:54 +01:00
Chocobozzz 42aafd247a Update optional components to qt5 2015-04-15 18:26:09 +02:00
Chocobozzz 8b226c2171 Update non optionnals sources to qt5 2015-04-11 23:24:07 +02:00
John Maguire 8d3fd00956 Amazon Cloud Drive support.
Squashed commit of the following:

commit 451a327fabb5f9aba077d93a33d75d8a6a288f5f
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:55:36 2015 +0100

    Revert debug console changes.

commit 52f643c3dc524a837f56268b6da4881187204165
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:49:28 2015 +0100

    Revert extra logging

commit 23645f9fea
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:47:55 2015 +0100

    How did you get there

commit 8153388f19
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:45:12 2015 +0100

    Update copyright headers.

commit fa9e279259
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:43:27 2015 +0100

    Remove logging

commit 47a405543c
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:42:05 2015 +0100

    Show login state correctly for Amazon.

commit 748d88d993
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:28:55 2015 +0100

    Ensure Amazon is connected before serving URLs.

commit 25ec9c65f4
Author: John Maguire <john.maguire@gmail.com>
Date:   Fri Mar 27 14:22:28 2015 +0100

    Refresh Amazon authorisation & follow changes.

commit 27c1a37173
Author: John Maguire <john.maguire@gmail.com>
Date:   Thu Mar 26 18:27:27 2015 +0100

    Revert unneeded OAuthenticator change.

commit 3594af5be1
Author: John Maguire <john.maguire@gmail.com>
Date:   Thu Mar 26 16:52:19 2015 +0100

    Initial support for Amazon Cloud Drive.
2015-03-27 14:56:08 +01:00
Arnaud Bienner 5e45f59e2c Fix crash in Grooveshark.
Not sure how I end up with this null pointer, but better to always to this sanity check.
2015-03-11 23:07:20 +01:00
John Maguire 66333d2940 Merge pull request #4758 from Chocobozzz/seafile_info
Try to make Seafile implementation more robust
2015-03-02 12:17:48 +01:00
Chocobozzz 2804ab32ec Change the name of the task when updating the libraries in the Seafile
service and clean the code
2015-02-23 15:27:20 +01:00
Chocobozzz 4b1a6651b1 Stop adding new songs if we cancelled the seafile indexing 2015-02-21 16:28:13 +01:00
Arnaud Bienner 2986ca23e6 Fix Spotify drag n drop.
Was partially broken since commit ee7e2ec26c.
2015-02-21 13:42:01 +01:00
Chocobozzz ec60d1174c Fix disconnecting a closure, forgot it was single shot 2015-02-20 16:09:15 +01:00
Chocobozzz 716064a006 Try to make seafile implementation more robusts and more verbose 2015-02-20 15:15:55 +01:00
John Maguire f73d2f4d24 Merge pull request #4740 from sobkas/small_fixes
Small fixes for podcasts
2015-02-11 16:11:04 +01:00
Arnaud Bienner ee7e2ec26c Ability to add tracks to Spotify starred playlist by drag and drop 2015-02-07 14:40:34 +01:00
Krzysztof Sobiecki 9934efc76b Small fixes for podcasts 2015-02-06 23:38:36 +01:00
Chocobozzz 5df8471ad6 Emit scanfinished when the library is empty 2015-02-06 11:23:57 +01:00
John Maguire c96502ef4b Merge pull request #4712 from Chocobozzz/skyfm
Change sky.fm to radiotunes.com
2015-01-15 22:29:13 +01:00
Chocobozzz 5e5738f642 Make format 2015-01-15 19:58:20 +01:00
Chocobozzz 7e9f8d75c6 Change sky.fm to radiotunes.com 2015-01-15 18:48:27 +01:00
Arnaud Bienner e1139e731f run make format 2015-01-14 22:55:20 +01:00
Arnaud Bienner 7039c2a2bf Spotify: add the ability to add/remove tracks to/from Starred playlist 2015-01-14 22:49:36 +01:00
Krzysztof Sobiecki 8cf127a19c [internet/podcasts]Fix modification date&time support
After setting QDateTime to invalid state, it's saved into database as uint,
with then is read from database as a valid date. To make behaviour consistent, this change is needed.
If date is 4294967295, then it's an invalid one.
2015-01-02 15:29:58 +01:00
Arnaud Bienner 7278e7c4d0 Add ability to get a link to share Spotify playlists 2014-12-27 18:05:04 +01:00
Arnaud Bienner cbddecb6c8 Add ability to get a link to share Spotify songs 2014-12-27 16:40:13 +01:00
Arnaud Bienner 9bbb534fa1 Sanity check
Not sure this can really happen in real life (happens because I was playing with
    the code and end up having "=true" line in Clementine.conf) but FWIW, better
to check those values they come from possibly corrupted files/preferences.
2014-12-27 01:23:26 +01:00
Arnaud Bienner 9cb2a17f37 Sort children is recursive and will mess up services' children (e.g. search
result item not the first item anymore) so we should call it only once at
the beginning.
And instead of sorting all items everytime, we just insert them at the correct
position.
2014-12-27 00:33:23 +01:00
Krzysztof Sobiecki acb02932bd Fix crash when marking podcast as listened
Fixes #4674
2014-12-25 23:02:12 +01:00
Krzysztof Sobiecki f2b4a5a520 M4B on cloud storage 2014-12-25 01:33:56 +01:00
Krzysztof Sobiecki a6322da196 Fix header copyright tags in internet/ 2014-12-19 00:47:55 +01:00
Krzysztof Sobiecki 17c35e32e5 Fix header order in internet/ 2014-12-19 00:40:30 +01:00
Krzysztof Sobiecki 23ee9170b6 Fix header guards in internet/ 2014-12-18 23:54:21 +01:00
Krzysztof Sobiecki fa9ea6ec5f Fix compilation with moved files in internet/ 2014-12-18 23:35:21 +01:00
Krzysztof Sobiecki 93a286a272 Move files around and make subdirectories inside src/internet, move src/podcasts to src/internet 2014-12-18 00:39:20 +01:00
Krzysztof Sobiecki ff62032568 Various formating changes in src/internet 2014-12-17 22:36:27 +01:00
David Sansome 6851a15dc0 Merge pull request #4651 from sobkas/fix
Fix the parsing of some strange date formats in podcasts, and add a way to limit the number of podcast episodes shown, and hide listened podcasts.  Fixes #3696, fixes #3475
2014-12-16 12:33:50 +11:00
Krzysztof Sobiecki ba1d73d1aa Fix problems with code 2014-12-14 14:35:21 +01:00
Krzysztof Sobiecki 958cb42e98 Allow to hide listened podcast episodes and show only n number of episodes.
Fixes #3696
Fixes #3475
2014-12-14 12:12:57 +01:00
Arnaud Bienner 4b48be4a5b Sort Grooveshark favorite songs according to "TSFavorited", as such songs have no "Sort" field.
BTW the compare was buggy (didn't compare against song2). This was OK though, as
we stable sort songs, and they are always ordered as far as I know (I remember
adding this sort just in case they will not be sent ordered on day).
2014-12-10 22:48:49 +01:00
Arnaud Bienner f34f868c0f Add Spotify tracks to Spotify playlists by drag and drop 2014-12-03 23:58:09 +01:00
Arnaud Bienner 05d43e27a9 Add internet_service to SpotifySearchProvider so custom context menu is correctly shown on playlist items created from the global search 2014-12-03 22:27:43 +01:00
John Maguire 4f4c8f6894 Merge pull request #4580 from Chocobozzz/hide_internet_services
Hide internet services
2014-10-31 12:02:29 +01:00
Ivan Leontiev 7c7e855e1a correct formatting and some code cleanup 2014-10-29 16:45:52 +03:00
Ivan Leontiev 8406a47628 Merge branch 'master' of https://github.com/ivan-leontiev/Clementine 2014-10-29 01:40:01 +03:00
Ivan Leontiev 45a3f32c86 VkService: added albums support, added ability to fetch music from wall. Fixed
update bug.
2014-10-29 01:22:07 +03:00
Ivan Leontiev 3d124a2dea encode "+" character in url in VkConnection::makeRequest 2014-10-28 20:12:01 +03:00
Chocobozzz 0b8e566544 Use utf8 for password instead of ascii 2014-10-24 13:12:50 +02:00
Chocobozzz 15a8af9bbb Use hex in password auth for subsonic. Fixes #4589 2014-10-24 09:47:03 +02:00
Chocobozzz 33d38b94da Use auto for iterator 2014-10-24 09:22:35 +02:00
Arnaud Bienner 21551ca83c Try to fix issue #4582 2014-10-21 21:54:46 +02:00
Chocobozzz 50b7b7d889 Make format after update to avoid conflicts 2014-10-15 21:57:57 +02:00
Chocobozzz 9770154b57 Merge remote-tracking branch 'upstream/master' into hide_internet_services 2014-10-15 21:55:09 +02:00
Chocobozzz 8279f21251 Revert "Make format"
This reverts commit 17b1e9fbe6.
2014-10-15 21:55:03 +02:00
Chocobozzz 17b1e9fbe6 Make format 2014-10-15 20:55:24 +02:00
Chocobozzz 34a43635bd Delete useless warning icon from internet show setting page 2014-10-15 20:51:09 +02:00
Chocobozzz c54d1baf15 Allow user to hide internet services. Closes #2784 2014-10-15 20:44:09 +02:00
David Sansome 88a6300509 Completely revert the Spotify seeking stuff - it's hacky and I don't like
waiting 4 seconds to have my songs start.  I'll reimplement it properly later.

Reverts commits 96387803cd and 160b151652.
2014-10-14 19:33:03 +11:00
Chocobozzz 51667c77ad Update the database total size of Jamendo catalogue. Fixes #4554 2014-10-03 13:17:12 +02:00
Arnaud Bienner 72cfa126ac Fix a bug that makes Vk to be always displayed when trying to show any service's config.
Call stack: SettingsDialog::showEvent -> VkSettingsPage::Load -> VkService::ReloadSettings -> VkService::Logout -> VkService::UpdateRoot -> VkService::ShowConfig
Would probably be better to not call service in VkSettingsPage::Load and read QSettings only, but I don't think it's good either to call ShowConfig when user is being logged-out.
2014-09-28 02:13:56 +02:00
Arnaud Bienner f81fa2d119 Add the ability to remove tracks from Spotify playlists 2014-09-28 02:00:32 +02:00
David Sansome 442d126b03 Hack to make the C++11 override keyword work with old compilers. 2014-09-26 20:33:02 +10:00
David Sansome 8b19b300b5 Stop using some C++11 features not supported by g++ 4.6.4 on Ubuntu 12.04 2014-09-26 11:43:54 +02:00
Arnaud Bienner 39db4dbefe Add the ability to add a Spotify track to a Spotify playlist through context menu.
TODO: drag and drop (i.e. implement DropMimeData), update special playlist (Favorites), remove from playlist.
2014-09-22 22:40:21 +02:00
Arnaud Bienner c891a44243 Remove useless check 2014-09-21 20:48:42 +02:00
David Sansome bb08a0f416 Fix misleading offset_bytes names 2014-09-22 00:13:00 +10:00
Arnaud Bienner 3e17a0adb5 Remove dead code 2014-09-14 02:39:35 +02:00
Arnaud Bienner 160b151652 Add seek ability to Spotify tracks.
This is functional but pretty hacky.
And, as noted in the comments, there is a small delay (depends, but usually several seconds) to have the seek taken into account. But IMHO it's better than nothing.
Fixes #2503
2014-09-14 02:15:58 +02:00
pie.or.paj cbc6e5cf4d Pause spotify track (issue 2503)
(patch slightly modified, not sure why it wasn't applied before: it looks good to me)
2014-09-06 19:21:23 +02:00
maximko d61688e1c5 QUrl fix. 2014-09-04 18:48:49 +06:00
maximko 2dfb7f8f4c Increase cover image size. 2014-09-04 18:08:17 +06:00
John Maguire e876df1b23 Merge pull request #4456 from Shedward/vk-broadcasting
Vk.com broadcasting.
2014-08-12 22:04:45 +02:00
Vlad Maltsev 08c0f7d28f Fix misspelled names. 2014-08-13 02:15:33 +07:00
Vlad Maltsev e65596cba6 make format 2014-08-03 19:40:06 +07:00
Vlad Maltsev bff79664bc Broadcasting realisation. 2014-08-03 19:10:09 +07:00
Chocobozzz 82a8c64ac8 Add ampache compatibility 2014-07-16 18:49:58 +02:00
John Maguire 03eb241c00 Add header for std::pow 2014-06-19 15:34:10 +02:00
David Sansome 0cd3d9b34f Don't do seafile stuff unless signed in. 2014-06-07 15:29:28 +10:00
John Maguire 96ad4554d9 Merge pull request #4392 from Chocobozzz/master
Add Seafile Support
2014-06-05 16:50:45 +02:00
Chocobozzz 571ffdff1d delete another delegating constructor 2014-06-05 16:34:15 +02:00
Chocobozzz 09acc2336f Delete the delegating constructors (entry and treeitem) 2014-06-05 14:24:06 +02:00
David Sansome c03c0def19 Add menu items for updating and doing a full rescan of Google Drive 2014-06-05 20:20:58 +10:00
Chocobozzz f14ec51a60 add constant for max tries and correct memory leaks 2014-06-04 18:44:23 +02:00
Chocobozzz e484306631 Correction after hatstand's review 2014-06-04 17:58:28 +02:00
Chocobozzz 1fc95cb7ed Add Seafile Support 2014-06-03 14:33:07 +02:00
David Sansome 96dd87a4f3 Treat trashed files as deleted. Fixes #4374 2014-05-24 13:48:45 +10:00
John Maguire 8919b730da Update Jamendo db dump URL.
Fixes #4351
2014-05-18 18:10:56 +02:00
Mattias Andersson f91c162ba3 Use a single label for the text at the top of the soundcloud settings page. 2014-05-04 08:31:15 +02:00
David Sansome 5592bcf145 Revert "Ignore some kind of SSL errors when login to Grooveshark"
This reverts commit 77b30bce5a.
2014-05-03 16:23:56 +10:00
Arnaud Bienner 77b30bce5a Ignore some kind of SSL errors when login to Grooveshark 2014-05-03 01:27:15 +02:00
Arnaud Bienner 3dad47e7ca Reorder SoundCloud menu 2014-04-16 23:17:23 +02:00
Arnaud Bienner 67951f64a5 SoundCloud: retrieve user's playlists 2014-04-16 23:09:48 +02:00
Arnaud Bienner ef01353a0f SoundCloud: retrieve stream playlists 2014-04-16 22:37:40 +02:00
Adolfo Jayme Barrientos 15e4f7fe9c Remove space in provider’s name 2014-04-14 00:32:58 -05:00
Arnaud Bienner 2f5e03e921 Use a more appropriate log level 2014-04-10 00:49:31 +02:00
Arnaud Bienner e557c56d96 We ask for 'non-expiring' tokens, so it seems normal that we don't have refresh_tokens actually 2014-04-09 23:07:58 +02:00
Arnaud Bienner beb5f9fa30 Handle error in SoundCloud replies 2014-04-09 23:03:09 +02:00
John Maguire 30d1c2f8db Remove Ubuntu One support.
http://blog.canonical.com/2014/04/02/shutting-down-ubuntu-one-file-services/
2014-04-02 16:02:00 +02:00
Arnaud Bienner 4c70f17444 Fix a small issue in oauthenticator 2014-03-31 22:04:03 +02:00
David Sansome 2134e13b53 Make CloudFileServices show logged in state and settings dialog properly in
global search.
2014-03-30 17:11:31 +11:00
David Sansome 25544cb672 Sort the list of Internet Providers in the settings dialog and internet tab 2014-03-30 17:11:19 +11:00
David Sansome 93a0f160df Add Configure items to the context menus for cloud file services. 2014-03-30 16:46:16 +11:00
David Sansome adff4864d4 Recurse into folders when indexing music on OneDrive 2014-03-30 16:36:07 +11:00
David Sansome 6ecc534bf9 Construct oauth URLs properly when using REMOTE or REMOTE_WITH_STATE 2014-03-30 16:35:38 +11:00
David Sansome 9c66528c0f Add a settings page for OneDrive 2014-03-30 16:35:27 +11:00
David Sansome 345e58ce6b Only save the Drive cursor after all songs have been indexed. 2014-03-30 16:01:58 +11:00
David Sansome ca7937112d Show only one status bar entry while indexing files on Drive. 2014-03-30 15:47:25 +11:00
John Maguire 4ab4bbc23f Remove Last.fm radio support.
Fixes #4259
2014-03-28 14:55:04 +01:00
Arnaud Bienner 1b7f99127d Add login to SoundCloud + get user tracks and activties (stream)
Still need to handle playlists and to clean up things (e.g. to check why refresh_token doesn't work and if we can do something about this)
2014-03-26 21:33:27 +01:00
Arnaud Bienner 4520a1c115 Grooveshark: don't crash when receiving the reply for a canceled request.
Mark all tasks as finished when removing all items, to prevent never ending task in case we disconnect or refresh before all replies have been received.
2014-03-21 12:48:45 +01:00
Arnaud Bienner fddb87ba63 Add an option to sort Grooveshark playlist alphabetically. Fixes issue #3480.
Did it the lazy way for now, but it would have better to refactor Grooveshark code, to add a proper sort model, etc.
2014-03-21 00:52:12 +01:00
Maltsev Vlad 2659a8364c Fix group title string. 2014-03-10 16:05:45 +07:00
Maltsev Vlad dde8535470 Translation, typos and mac build fixes. 2014-03-08 19:11:48 +07:00
Maltsev Vlad a7b0accd93 Add Vk.com plugin. 2014-03-08 00:58:50 +07:00
John Maguire 5146bcdebc Some more NULL -> nullptr conversions. 2014-02-21 17:30:46 +01:00
Arnaud Bienner faaa75cb61 Few style fixes + avoid unneeded copies 2014-02-12 22:11:28 +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
Mladen Pejaković f09a0c00a8 More disabmiguations 2014-02-08 16:09:27 +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 7671108aa8 Add missing include for symlink() 2014-02-06 19:46:08 +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 1fad6db52a Use std::unique_ptr instead of boost:scoped_ptr in one place. 2014-01-28 18:45:13 +01:00
John Maguire 977a6769b2 Rename SkyDrive to OneDrive.
http://blog.onedrive.com/onedrive-for-everything-your-life/
2014-01-27 15:38:56 +01:00
Antonio Nicolás Pina 10fb96341c Resolved empty song name when searching through Grooveshark. 2014-01-04 16:55:41 +01:00
John Maguire fde4586773 Use Dropbox's long poll API to get real-time changes. 2013-12-19 14:56:46 +01:00
John Maguire f583c40ffa Update Skydrive client id & secret for redirect url change.
Fixes #4013
2013-12-19 14:32:43 +01:00
Arnaud Bienner 565c2cc921 Merge branch 'master' of https://github.com/clementine-player/Clementine 2013-12-17 19:36:07 +01:00
Arnaud Bienner 4d6406524f Grooveshark now returns a different error code when session id is invalid 2013-12-16 23:01:12 +01:00
Martin Brodbeck e6ac3cf34b Overwrite mime type, so that Opus files are recognized 2013-12-16 16:25:40 +01:00
John Maguire a872fa3828 Redirect box login via SSL appengine page.
Apparently that's more secure than just redirecting to localhost :-S
Fixes issue #3936
2013-11-01 12:15:21 +01:00
David Sansome 4e8dba16d4 Make the Spotify downloader optional again on Windows and Mac 2013-09-18 01:27:13 +10:00
David Sansome 2c55688601 Make the GPL spotify code non-optional 2013-09-18 00:49:29 +10:00
Arnaud Bienner d8e2fa5b1c Increase GS album search limit from 5 to 10. Also, use a constant instead. 2013-08-28 22:20:58 +02:00
David Sansome b31c646090 Make the Ubuntu One settings page a bit more sane 2013-07-27 16:09:36 +10:00
Ross Wolfson 27c017626b Allow Subsonic to follow redirects when logging in, as described in issue 3747
Fixes issue #3747
2013-07-03 11:45:44 +02:00
Ross Wolfson c1d37896a4 Add disc number functionality to SubSonic
Fixes issue #3743
2013-06-18 12:09:54 +02:00
Ross Wolfson a8117c31f0 Fix to prevent spinning status wheel if incomplete Subsonic credentials are supplied
Fixes issue #3733
2013-06-12 14:04:39 +02:00
John Maguire 6fa1b60f2f Merge error message & SSLv3 option for subsonic. 2013-05-30 11:56:03 +02:00
Ross Wolfson 40d35faa00 Cleaned up NetworkAccessManager behavior from previous commit for
Subsonic, to facilitate SSLv3 usage.
2013-05-29 21:57:45 -04:00
John Maguire f4955c2cf9 Update spotify attribution logo. 2013-05-17 17:11:19 +02:00
John Maguire cea41801db Fix loading of songs from Dropbox that have # in the name.
Fixes issue #3664
2013-05-16 16:40:32 +02:00
Ross Wolfson 7e32cfc358 Added more verbosity to GUI error message for common network issues when
connecting to a Subsonic server.
2013-05-07 22:33:45 -04:00
Ross Wolfson 25d92f5083 Adds option to force SSLv3 usage for Subsonic, as mentioned in
enhancement 1930.
2013-05-04 21:33:03 -04:00
David Sansome 8e3581af64 Fix an ancient typo that was breaking last.fm scrobbling reporting. 2013-04-15 21:41:55 +10:00
David Sansome 264d5ee0fa Add Radio GFM 2013-04-13 14:28:42 +10:00
John Maguire 1b8068dba7 Missed a spot. 2013-03-21 14:16:17 +01:00
John Maguire 160d9edfb6 Fix refresh token issues with Google Drive. 2013-02-26 16:24:47 +01:00
John Maguire 799a088d3d Correctly decode Dropbox download URLs.
Fixes issue #3505
2013-02-18 11:10:28 +01:00
David Sansome 0ae323bfff Don't try to connect to subsonic on startup if nothing is configured. 2013-02-17 15:14:55 +11:00
John Maguire 75394d0e8a Page through Box folders. 2013-02-13 14:19:50 +01:00
John Maguire d21fa8cc67 Add support for Box. 2013-02-12 17:11:18 +01:00
David Sansome 65c077e34f Detect last.fm login failures properly. Fixes issue 3426 2013-02-06 00:12:39 +11:00
David Sansome 6019afb097 Make the library sorting locale aware. Fixes issue 3456 2013-02-05 22:17:09 +11:00
Alan Briolat 970a615846 Improve experience of setting up a subsonic connection 2013-01-30 13:22:04 +01:00
John Maguire 0d743a2065 Fix some style issues in subsonic. 2013-01-24 17:48:58 +01:00
John Maguire fe2fb788d3 Merge branch 'subsonic'
Conflicts:
	data/data.qrc
2013-01-24 17:02:08 +01:00
Alan Briolat 465015fe3c Don't fetch magnatune library until service is expanded. Fixes issue 3440 2013-01-22 23:30:15 +01:00
Alan Briolat a5f6356be4 Subsonic global search provider and some extra UI polish 2013-01-21 22:13:48 +00:00
Alan Briolat d424ed93a4 Don't fetch subsonic library until service is expanded 2013-01-20 23:25:54 +00:00
Alan Briolat a7fe1b693b Eliminate race condition for subsonic library TotalSongCountUpdated 2013-01-20 23:24:14 +00:00
Alan Briolat d8bc3a02fa Fix Magnatune library not being sorted after refresh
Fixes issue #3435
2013-01-18 13:50:20 +01:00
Alan Briolat 2d68315c22 Fix Subsonic library not being sorted after refresh 2013-01-18 10:35:47 +00:00
Alan Briolat 38f271528a Improve subsonic library fetching
* Use task notification
* Update library in one chunk
* Use stored library data, add ability to manually reload
2013-01-17 22:13:57 +00:00
Alan Briolat e8ab6ed40a Subsonic: add LibraryFilterWidget and basic context menu 2013-01-17 21:01:54 +00:00
Alan Briolat 34553d8238 Read subsonic albumartist data 2013-01-17 20:18:26 +00:00
Alan Briolat f88e73737c Re-implement subsonic library scanner
Use the ID3-tag-oriented album listings in Subsonic >= 4.7 to
fetch all library data.
2013-01-14 23:36:23 +00:00
Alan Briolat 49d27b0bfe Load subsonic library recursively 2013-01-11 23:14:15 +00:00
Alan Briolat 349231793f Hacky basics of starting to load Subsonic library 2013-01-10 22:08:52 +00:00
Alan Briolat d05202265e Simplify Subsonic URL handling 2013-01-09 22:20:55 +00:00
Alan Briolat 38ce86529e Revert "Recursive UserPlaylist adding, subsonic uses UserPlaylist for folders"
This reverts commit a62b7752ad.

Using this mechanism for recursively loading trees doesn't work any
more, wasn't that great to start with, and the tree view will soon
be replaced with a library view.
2013-01-09 21:47:51 +00:00
Alan Briolat 90d2511051 Merge remote-tracking branch 'upstream/master' into subsonic
Conflicts:
	src/CMakeLists.txt
	src/internet/internetmodel.cpp
	src/ui/settingsdialog.cpp
2013-01-09 21:26:32 +00:00
John Maguire 020f08438f Support member function pointers in Closure.
Bonus: type-safe slots
2012-12-13 16:27:55 +01:00
John Maguire c57c47ae08 Make skydrive urls playable. 2012-12-13 14:44:59 +01:00
John Maguire 919e9215c4 Support indexing files from Skydrive. 2012-12-13 14:27:21 +01:00
John Maguire c4db401597 More or less working Skydrive authentication. 2012-12-12 18:34:15 +01:00
John Maguire 8eea98ba66 Factor out Google Drive specific code from OAuthenticator. 2012-12-12 17:41:52 +01:00
John Maguire 7d4f5764dc Support WMA in Ubuntu One. 2012-12-07 12:09:17 +01:00
John Maguire 62e3e4cb91 Support WMA in cloud services. 2012-12-07 12:07:43 +01:00
John Maguire 941aaca87c Refactor cloud tagging into base class. 2012-12-06 14:23:27 +01:00
John Maguire 951cac2ad6 Use changes API instead of search API in Google Drive. 2012-12-05 14:17:03 +00:00
John Maguire b41a2b5308 Revert "Try out C++11 strongly typed enums."
This reverts commit 4e74c7af2b.
2012-12-05 09:36:22 +00:00
John Maguire 4e74c7af2b Try out C++11 strongly typed enums. 2012-12-04 16:22:09 +00:00
John Maguire 18c7f3d5ed Support m4a and flac in dropbox. 2012-11-30 16:56:23 +01:00
John Maguire 24b4319504 Fix crash in Google Drive. 2012-11-30 16:43:43 +01:00
John Maguire d4a82a2d50 Read the encoded URL correctly for Dropbox files. 2012-11-30 16:12:31 +01:00
John Maguire 3972f939f7 Support deletion and reset from Dropbox's delta API. 2012-11-30 15:40:09 +01:00
John Maguire 4ba965115c Use Dropbox's delta API to be more efficient. 2012-11-30 15:33:03 +01:00
John Maguire e68a6f9eb8 Factor out oauth redirect & HTTP server logic. 2012-11-30 14:54:23 +01:00
John Maguire 847e4ce121 Fix name of Dropbox settings page. 2012-11-30 11:24:07 +01:00
John Maguire 821405cdd2 Actually start authorisation against Dropbox when login clicked. 2012-11-29 20:53:00 +01:00
John Maguire 8e91e42dcc Add dropbox files locally after tagging and make them playable. 2012-11-29 20:48:34 +01:00
John Maguire 3c9b3d99e6 Read tags from dropbox files. 2012-11-29 20:48:34 +01:00
John Maguire 47cc767daf Scan Dropbox for valid mime types. 2012-11-29 20:48:34 +01:00
John Maguire c66295c8d9 Sort out dropbox authentication & storing credentials; 2012-11-29 20:48:34 +01:00
John Maguire ea8655af83 Add Dropbox service and settings page. 2012-11-29 20:48:34 +01:00
John Maguire b955da5f28 Parse out the Dropbox user's name. 2012-11-29 20:48:34 +01:00
John Maguire 4d1b6fc25d Fetch Dropbox account information after authorisation. 2012-11-29 20:48:34 +01:00
John Maguire d3bd536be0 Working dropbox authentication with oauth redirect. 2012-11-29 20:48:34 +01:00
John Maguire 6bf0b4736a Start of dropbox support. Only whitelisted accounts work for now. 2012-11-29 20:48:25 +01:00
John Maguire c5ce522576 Scan all Ubuntu One volumes for music.
Fixes issue #3325
2012-11-29 16:07:05 +01:00
John Maguire e220b395ea More gracefully deal with files that failed to tag in Ubuntu One. 2012-11-29 14:18:30 +01:00
John Maguire 3eb66ea8c2 Remove another couple of C++11 range-based for loop. 2012-11-29 11:49:26 +01:00
John Maguire 644a12cea7 Remove/work around missing features in Qt < 4.7 2012-11-28 19:02:14 +01:00
John Maguire 6f05a7c45b nullptr not supported either in GCC 4.4 2012-11-28 18:18:50 +01:00
John Maguire d16615334a Add Ubuntu One playlist source icon. 2012-11-28 17:52:46 +01:00
John Maguire bd899b382d Range-based for loops not supported in GCC 4.4. 2012-11-28 17:34:54 +01:00
John Maguire e14334075c Support OGG, FLAC & AAC file types for Ubuntu One. 2012-11-28 17:32:21 +01:00
John Maguire ffc8d53cdb Add cmake option for Ubuntu One. 2012-11-28 16:51:19 +01:00
John Maguire 9c7a3ab105 Rename google drive tagging methods to more appropriate generic names. 2012-11-28 16:34:10 +01:00
John Maguire db7679abe6 Refactor GoogleDriveService into a CloudFileService. 2012-11-28 16:22:54 +01:00
John Maguire 334cd1052b Factor out some common functionality between Google Drive & Ubuntu One. 2012-11-28 16:13:10 +01:00
John Maguire afcc8f86f3 Add support for album covers to Ubuntu One. 2012-11-28 15:26:09 +01:00