[RELEASE] Soundcloud plugin (eden)
#33
(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?
AFTV Stick 4K
AFTV (Gen 1)
Reply


Messages In This Thread
[No subject] - by _Pierre_ - 2011-12-05, 16:47
[No subject] - by macf1an - 2011-12-05, 21:31
[No subject] - by _Pierre_ - 2011-12-05, 23:11
[No subject] - by _Pierre_ - 2011-12-07, 09:00
[No subject] - by macf1an - 2011-12-08, 20:39
[No subject] - by _Pierre_ - 2011-12-09, 21:46
[No subject] - by _Pierre_ - 2011-12-12, 14:08
RE: - by june green - 2012-03-23, 07:07
[No subject] - by PatrickBateman - 2011-12-12, 16:15
[No subject] - by _Pierre_ - 2011-12-12, 18:03
[No subject] - by _Pierre_ - 2011-12-12, 18:19
[No subject] - by macf1an - 2011-12-12, 19:37
[No subject] - by _Pierre_ - 2011-12-12, 22:56
[No subject] - by _Pierre_ - 2011-12-14, 22:55
[No subject] - by _Pierre_ - 2012-01-03, 10:43
[No subject] - by macf1an - 2012-01-03, 11:35
[No subject] - by OldOne - 2012-02-13, 11:55
[No subject] - by _Pierre_ - 2012-02-13, 16:07
[No subject] - by OldOne - 2012-02-13, 17:29
[No subject] - by pike - 2012-03-11, 01:23
RE: [RELEASE] Soundcloud plugin (eden) - by frumpy_uk - 2013-03-11, 16:04
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Soundcloud plugin (eden)0