zstorok/xbmc-soundcloud-plugin

Log-in issues

DoubleDroz opened this issue · 19 comments

Heya,

I'm using your app, but it won't let me log in with my user account - I'm rather sure that this is because of the captcha system that's been implemented... is there any way to go around this? My log in just comes up as "failed".

I am not using Facebook Connect, in case you were wondering... Just vanilla log in!

Thanks for reporting it, this has happened before...
Will look into it when I find some time.
On Jan 18, 2013 4:39 AM, "DoubleDroz" notifications@github.com wrote:

Heya,

I'm using your app, but it won't let me log in with my user account - I'm
rather sure that this is because of the captcha system that's been
implemented... is there any way to go around this? My log in just comes up
as "failed".

I am not using Facebook Connect, in case you were wondering... Just
vanilla log in!


Reply to this email directly or view it on GitHubhttps://github.com//issues/10.

I just installed the plugin and am exeperincing the same thing. I'd be surprised if SoundCloud was expecting you to pass the captcha when logging in via the API, but I'm not familiar with the API nor this code base - although I think that is all about to change :)

Thanks for making this plugin - I am expecting to take a closer look and might be interested in helping out!

I took a quick look through the code - is there a reason you're not using the SoundCloud SDK? It looks like it gives you some nice stuff for free - including handling some of the more annoying oAuth stuff (as well as simplifying other queries to the API). I hope I don't sound too presumptuous - I'm just curious :)

@awjrichards Good point about the official SoundCloud SDK. When I initially implemented this plugin, XBMC was stuck with an older version of Python (2.4 I believe), and the SDK required a newer version. That's why I had to go and do all the plumbing to get started, and then I just stuck with that. Nowadays XBMC supports a newer version of Python, so using the SDK would probably be a reasonable choice.
I would really appreciate your help, especially since I did this whole project to learn the basics of Python, so the code might not be the most efficient and/or pleasing to the eye.

@zstorok Makes sense. If I find some time this weekend, perhaps I'll take a stab at integrating the SDK. I am not a strong Python developer (I primarily develop in PHP), but I know my way around a bit and have been wanting to learn more for a long time. Hopefully I'll have a pull request for you soon :)

@zstorok I've spent some time reviewing the SoundCloud API, the SoundCloud Python SDK, as well as how this add-on interacts with SoundCloud. I read in the API documentation that in order to have a user log in to SoundCloud, you must use the 'Connect with SoundCloud screen (see the 'Authenticating without the SoundCloud Connect Screen' section at http://developers.soundcloud.com/docs/api/guide#authentication), which would add a significant layer of complexity from within XBMC (and I'm not sure how possible it would even be to do this on certain installs of XBMC that do not have a webbrowser or even a window manger [eg raspbmc (http://www.raspbmc.com/)]). Plus, I'm not sure how you could use the API to log a user in without exposing the 'client secret' in the source code. I've posted a few questions on stack overflow about this:
http://stackoverflow.com/questions/14449303/soundcloud-api-authentication-from-an-open-source-application
http://stackoverflow.com/questions/14449508/soundcloud-api-authentication-without-a-web-browser

As far as I can tell, the only advantages to actually logging a user in is to:

  • allow uploads
  • use social features (eg like/follow/post to facebook/etc)
  • view private stuff

I think it would be possible to deliver a lot of the functionality a user would want from a SoundCloud addon without requiring login (for instance you can still view your own favorited tracks, who you follow, etc without logging in), and might be a sensible direction to proceed in - at least until there's a good way for open source apps to log a user in to SoundCloud without requiring a web browser. You could potentially still let the user record their username, and deliver nearly all of the read-only /me functionality.

Anyway, I'm curious to hear your thoughts - I don't want to totally redirect or derail this project, but as it is right now it looks like this addon possibly violates the SoundCloud TOS, and with login currently broken anyway, it seems like it might be wise to slightly change directions.

@awjrichards I agree with your conclusions, we don't necessarily need the login. I think it's a reasonable limitation to not be able to follow new users, add tracks as favorites, etc. Since reading this information is possible without logging in, I'm fine with ditching that completely.

Considering that I have very little time to spend on this project right now, you are welcome to derail it in a way that actually makes it work properly again. :)

Hi guys, I'm experiencing login issues too with Raspbmc. I'm putting my e-mail and password to login in but no matter how hard I try I just can't log in.... everytime an "Login failed" screen pops up.

Can confirm that with XBMC 13.0 Alpha 8

Same problem with OpenELEC Stable - Raspberry Pi ARM Version:3.2.2

I think it would be possible to deliver a lot of the functionality a user would want from a SoundCloud addon without requiring login (for instance you can still view your own favorited tracks, who you follow, etc without logging in), and might be a sensible direction to proceed in - at least until there's a good way for open source apps to log a user in to SoundCloud without requiring a web browser. You could potentially still let the user record their username, and deliver nearly all of the read-only /me functionality.

👍

@adambiggs 👍 totally agree with you.

@igorescobar @adambiggs @ckarrie : Thanks for your feedback. Unfortunately I don't have time to maintain this plugin at the moment. @awjrichards has forked it and did some additional work on it, see: https://github.com/awjrichards/xbmc-soundcloud-plugin

Ok, no problem. Would be nice if you put a disclaimer about this on README.md. ;-)

If I install this plugin through XBMC does it now install the version from @awjrichards' fork?

If not, does anyone know the easiest way to get his forked version running inside XBMC?

heyy..wanna log in with my facebook but AINT WORKING. need ya help right now

Bump this is not working for FB accounts. I have made my acc both a FB/Google+ linked account however it will not allow me to use my email//password to log in to Soundcloud (I must login via FB or G+)

Hi is there a workaround for this? otherwise this plugin in not of much use.

Unfortunately I don't have time to support this plugin anymore. I know a few people have forked this repository and made some updates, but I haven't followed their changes. See the repository network for these more up-to-date forks.