zstorok / xbmc-soundcloud-plugin

XBMC music plugin for browsing and playing content from SoundCloud.
http://zsolttorok.com
GNU General Public License v3.0
16 stars 9 forks source link

Log-in issues #10

Closed DoubleDroz closed 9 years ago

DoubleDroz commented 11 years ago

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!

zstorok commented 11 years ago

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/zstorok/xbmc-soundcloud-plugin/issues/10.

awjrichards-zz commented 11 years ago

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!

awjrichards-zz commented 11 years ago

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 :)

zstorok commented 11 years ago

@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.

awjrichards-zz commented 11 years ago

@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 :)

awjrichards-zz commented 11 years ago

@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:

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.

zstorok commented 11 years ago

@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. :)

igorescobar commented 11 years ago

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.

ckarrie commented 10 years ago

Can confirm that with XBMC 13.0 Alpha 8

igorescobar commented 10 years ago

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

adambiggs commented 10 years ago

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.

:+1:

igorescobar commented 10 years ago

@adambiggs :+1: totally agree with you.

zstorok commented 10 years ago

@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

igorescobar commented 10 years ago

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

adambiggs commented 10 years ago

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?

Mabweh commented 10 years ago

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

ericmwalsh commented 10 years ago

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+)

jacobespersen commented 9 years ago

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

zstorok commented 9 years ago

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.