XBMC Community Forum
[RELEASE] Soundcloud plugin (eden) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Soundcloud plugin (eden) (/showthread.php?tid=116215)

Pages: 1 2 3


RE: [RELEASE] Soundcloud plugin (eden) - Zouden - 2012-11-18 01:21

(2012-10-13 18:11)frumpy_uk Wrote:  My only niggle is the order the tracks are shown in - not sure where the order comes from but I'd like the order to be the same as the default in the soundcloud dashboard i.e. in descending order of date favourited.

I had the same complaint about the ordering, so I looked at the code and it's ordering the tracks by "hotness".
If you have a look at the file %AppData%\XBMC\addons\plugin.audio.soundcloud\xbmcsc\client.py, there's a lot of functions using the parameter QUERY_ORDER: "hotness" . I changed the one on line 211 to QUERY_ORDER: "created_at" and now when I look at a list of user's tracks, the most recent is always first. I think that's a big improvement.

The function for getting your favorite tracks is on line 133, but I'm pretty sure you can only sort by "created_at" or "hotness". There's no "favorited_at" in the soundcloud API. But at least the created_at order still makes more sense than hotness. Hope that helps!


RE: [RELEASE] Soundcloud plugin (eden) - cucko - 2012-12-01 15:33

favorited tracks by default are sorted by favorited date descending.
probably if you remove the order parameter in SC call, you'll get the tracks in order you want.


RE: [RELEASE] Soundcloud plugin (eden) - frumpy_uk - 2013-03-11 16:04

(2012-11-18 01:21)Zouden Wrote:  
(2012-10-13 18:11)frumpy_uk Wrote:  My only niggle is the order the tracks are shown in - not sure where the order comes from but I'd like the order to be the same as the default in the soundcloud dashboard i.e. in descending order of date favourited.

I had the same complaint about the ordering, so I looked at the code and it's ordering the tracks by "hotness".
If you have a look at the file %AppData%\XBMC\addons\plugin.audio.soundcloud\xbmcsc\client.py, there's a lot of functions using the parameter QUERY_ORDER: "hotness" . I changed the one on line 211 to QUERY_ORDER: "created_at" and now when I look at a list of user's tracks, the most recent is always first. I think that's a big improvement.

The function for getting your favorite tracks is on line 133, but I'm pretty sure you can only sort by "created_at" or "hotness". There's no "favorited_at" in the soundcloud API. But at least the created_at order still makes more sense than hotness. Hope that helps!

(2012-12-01 15:33)cucko Wrote:  favorited tracks by default are sorted by favorited date descending.
probably if you remove the order parameter in SC call, you'll get the tracks in order you want.

Yes! That worked! Thanks guys. Apologies for the incredibly delayed response, I had failed to subscribe to the thread so didn't see any notifications...

Err... Not sure why, but having updated the client.py as above and then rebooted, I cannot login to soundcloud anymore!

Error is "warning login failed". The settings dialog pops up and it obviously wants me to check my credentials.

Just to make sure I logged myself off of the web client on my PC and I noticed it wanted a captcha before it would let me log in.

I wonder if this is why the addon isnt working anymore?

Any ideas anyone?


RE: [RELEASE] Soundcloud plugin (eden) - frumpy_uk - 2013-03-11 16:16

Well I removed the addon and re-installed from the Packages folder, still no joy.

UPDATE: Next I tried removing the add-on and then removing the add-ons settings as well (/private/var/mobile/Library/Preferences/XBMC/userdata/addon_data) before re-installing. All working fine (phew!).


RE: [RELEASE] Soundcloud plugin (eden) - asko - 2013-04-22 00:06

when i try to log in sondcloud in frodo it gives me login failed ,,any help ?


RE: [RELEASE] Soundcloud plugin (eden) - Keinoom - 2013-07-04 21:55

The same here. XBMC 12.2. Any sugestions ?


RE: [RELEASE] Soundcloud plugin (eden) - frumpy_uk - 2013-07-04 22:18

(2013-07-04 21:55)Keinoom Wrote:  The same here. XBMC 12.2. Any sugestions ?

Try removing and reinstalling. Might also be worth removing the settings as well as removing and reinstalling.

Otherwise read the wiki and post your log to give yourself a chance of getting help.


RE: [RELEASE] Soundcloud plugin (eden) - concept - 2013-09-01 23:31

I am having the same login issues with this plugin. It would be nice to play my favorite tracks from XBMC; in fact, that's really all I wanted to do.

I tried uninstalling along with removing the addon_data directory, but it still didn't work. The strange bit is that it did work momentarily when I first installed, but now all I get is login failed.

Here is the message from my log:

Code:
16:20:08 T:1356  NOTICE: Thread Background Loader start, auto delete: false
16:20:09 T:4032  NOTICE: Thread XBPyThread start, auto delete: false
16:20:09 T:4032  NOTICE: -->Python Interpreter Initialized<--
16:20:16 T:1084   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.soundcloud/?mode=28&oauth_token&url=plugin%3a%2f%2fmusic%2fSoundCloud%2fyou
16:20:16 T:1084   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.soundcloud/?mode=28&oauth_token&url=plugin%3a%2f%2fmusic%2fSoundCloud%2fyou) failed



RE: [RELEASE] Soundcloud plugin (eden) - jstnnyms - 2014-01-02 20:28

+1

i have the same login issues. worked finde before.


RE: [RELEASE] Soundcloud plugin (eden) - frumpy_uk - 2014-02-28 20:37

Suddenly soundcloud is working again for me. Don't understand how but thanks for whoever was behind that!

Actually it's not quite right. 1st track plays perfect. It wants to play the next track but jumps to the next and so on without actually playing anything.

I have reverted to using mycloudplayer on my Android phone and controlling xbmc with that. Works great!


RE: [RELEASE] Soundcloud plugin (eden) - chemstar - 2014-03-13 11:23

do have the same problem
could we get any response from the dev?
thanks


RE: [RELEASE] Soundcloud plugin (eden) - Oli_Oops - 2014-06-16 18:26

I also cannot login to Soundcloud anymore. I had a look at the client.py file, it uses this "https://soundcloud.com/connect/login" as the login url. When I opened that url Soundcloud could not find the page. I am thinking that there were some API changes. The addon is quite old after all.

Can we get clarification from the team regarding the status of this addon?


Re: RE: [RELEASE] Soundcloud plugin (eden) - Martijn - 2014-06-16 18:28

(2014-06-16 18:26)Oli_Oops Wrote:  I also cannot login to Soundcloud anymore. I had a look at the client.py file, it uses this "https://soundcloud.com/connect/login" as the login url. When I opened that url Soundcloud could not find the page. I am thinking that there were some API changes. The addon is quite old after all.

Can we get clarification from the team regarding the status of this addon?

Which team? We don't maintain it


RE: [RELEASE] Soundcloud plugin (eden) - Oli_Oops - 2014-06-16 20:45

It logged me in after a restart.