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!