archived-bot
archived-bot copied to clipboard
Show author / channel name for tracks
Picked this up from #suggestions
Let's think about displaying the author / channel of a track.
We do have access to this information through AudioTrack#getInfo#author, which seems to return the channel name for Youtube and Soundcloud tracks.
Current state:
Possible future state:
Opinions? Ideas how to display this decently?
I think the biggest hurdle might be that a channel name a lot of the time isn't even close the the author of a track, so we should make it clear that it's a channel name, not the author of a track.
Hi Psy here.
Seems that SoundCloud does NOT provide the artists name on a separate field. From here https://developers.soundcloud.com/docs/api/reference#tracks seems that you can get the channel name and the song name, not the artists. You can also get the record label name, but this is not relevant on this case. So, SC and YT are both providing the same information: songname and channelname
As a template, I like [songname] on [channelname] channel ([duration]). Ex: "2 Kids on SwimmingGirlsVEVO channel (03:16)"
I agree with the above. SoundCloud doesn't pass the artist name, even though there is an option for it when you upload tracks. No one really uses that option anyway because it's tucked away in the metadata section when you upload a track.
Anyways, as @druellan mentioned, that is correct. SoundCloud data is pretty universal (any link can be resolved with their /resolve
endpoint) and the user ("channel") name is part of the user-JSON field contained in every track/playlist result from the API. I think the template suggested above is pretty good. You can even keep it fairly simple/elegant and I think most users will get it IMO (similar to how Facebook got rid of the send button on their chat and users know to push enter) 😄
Song • Channel • [duration]
2 Kids • SwimmingGirlsVEVO • [3:16]
Song - Channel - [duration]
2 Kids - SwimmingGirlsVEVO - [3:16]
This is how Spotify does it as well, they just provide the artist name/album since they have it:

As Napster said the artist is provided by lavalink already