Open probablyzal opened 4 weeks ago
If you use Tidal, the link redirects to a page which shows a selection of streaming services the song is available on by feature.fm.
For players other than TIDAL this is definitely a good enhancement.
With Songwhip it appears that it's not possible to get a link to a song programmatically without knowing the URL to one of the music streaming platforms, which is information that is not available to me when detecting media on the Desktop.
https://songwhip.com/faq#does-songwhip-have-an-api
There's a simple API that will return a Songwhip page URL (and some metadata) given a 'source' music URL (Spotify, Apple Music, YouTube, etc).
curl --request POST --data '{"url":"MY_SOURCE_MUSIC_LINK"}' https://songwhip.com/
The API payload doesn't include the final music service links as we want to encourage people to use the Songwhip platform.
If anyone knows more platforms to get song links, feel free to mention them here and I'll see which one might be best suited.
Other platforms to get song links from that I currently know of:
If you're reading this, you can help by looking for services/APIs that offer programmatic retrieval of song links for specific platforms (like Spotify or Apple Music) or that offer a URL to a service which has links to other platforms (like Odesli and Songwhip).
The requirements are that it must be possible to search with song title and artist, and optionally the album name. Searching with a platform URL (which is how Songwhip works) will be insufficient, as most of the time that won't be available.
Thanks for the help!
I will come back to this later, once more important and urgent features have been implemented.
Is there an existing issue for this?
Describe the problem
When you click the "Listen to this song" from the Discord presence, add a link to different streaming platforms where the song/album is available. Sort of like Songwhip.![links](https://github.com/ungive/discord-music-presence/assets/171434233/6ddd80ff-cb8d-404a-bf28-45e44362ca25)
Solution
No response
Alternatives
No response
Additional context
No response