-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Soundcloud - Tracks limited to 30 and no way to sort by recently added #3456
Comments
Yep thanks, saw it and will have a look once my agenda allows me. |
I took a short look and this seems to be intended behaviour. It uses the provider feature called ARTIST_TOPTRACKS and returns in most cases only 10 items. For Soundcloud it uses the same as this one https://soundcloud.com/{yourartist}/popular-tracks and shows 30 items. Although the code says 25, I get 30 items in examples too. I'll check with people on Discord for more info. |
About the sorting, the "album" sorting option seems to be in line with the order on Soundcloud (in top tracks tab). And by alphabet or name it's how you expect. Please correct me. |
I have an answer. We can implement the normal tracks list, however the list better doesn't exceed the 500 items according to Marcel. It's loaded into memory in the frontend, for example for sorting. |
That would be excellent, thanks so much for looking into this! And yep, when I sort by "album" it does rearrange the 30 tracks to mimic the Popular Tracks tab. Not sure if possible, but would be great to mimic the "Tracks" tab on soundcloud, where it looks like it sorts by recently added. |
That's the plan. I'll try to do this this week but a bit busy with work. |
What version of Music Assistant has the issue?
2.4.0b15
What version of the Home Assistant Integration have you got installed?
No response
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
Had posted this on discord and was recommended to raise an issue here.
This is specific to the Soundcloud provider. When browsing an artist's tracks with the Soundcloud provider, the max number of tracks that it will pull is 30. Also, the tracks seem to be in random order and there is no way to sort by date added. I've attached a picture which shows this.
In my case, I'm looking for recent uploads from NTS Radio. Searching in MA does seem to work mostly, as long as one uses the exact name of the track on Soundcloud. The Artist in question (NTS Latest) uploads 12+ tracks daily on Soundcloud, so it would be great to at least sort by date added (as it's shown on the Soundcloud website when on their page). Not sure if there are API limitations around this.
How to reproduce
Go to Browse in MA. Choose Soundcloud. Then go to any Artist, and the tracks displayed in MA will be limited to 30 and seemingly randomly in order.
Music Providers
Soundcloud
Player Providers
n/a
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2025.1.2
What type of installation are you running?
Home Assistant Supervised
On what type of hardware are you running?
Raspberry Pi
The text was updated successfully, but these errors were encountered: