Hi guys I wanna share one question from a collaborator. Is there a way to play a Spotify song and create a playlist in Godot just grabbing songs from Spotify?
is there a way to play Spotify songs?
I do not think so, not natively at any rate.
It should be possible through GDNative or a C++ module, but I have no idea how simple or hard of a task it would be. In theory, it may be possible to work with the Spotify API and stream the music over the internet using a byte stream or something, but I have no experience with this personally. Additionally, something to consider is that there may be legal stuff that would need to be taken into account and adhered to when using songs from Spotify.
@TwistedTwigleg said: I do not think so, not natively at any rate.
It should be possible through GDNative or a C++ module, but I have no idea how simple or hard of a task it would be. In theory, it may be possible to work with the Spotify API and stream the music over the internet using a byte stream or something, but I have no experience with this personally. Additionally, something to consider is that there may be legal stuff that would need to be taken into account and adhered to when using songs from Spotify.
These are the two points we are considering here. About legal it shoudn't be a problem because just playing songs from Spotify via an application it is just like playing songs as a standard Spotify user. So Spotify provides all the requirement to do share his songs and get them played. I think it is a bit hard in terms of coding, because at the moment I have no idea too about how to implement Spotify player
- Edited
To play Spotify songs and create playlists in Godot, you would likely need to explore custom coding solutions or third-party libraries. It may require some technical expertise and research, but with determination, it's possible to achieve your goal.
On a related note, if you're looking to promote your music on Spotify, there are platforms that offer Spotify promotion servicesand offer to buy spotify plays. They can help you gain more exposure and reach a wider audience. Check out their website for more info on how to boost your Spotify presence.
While this thread is a few years old, it's always worth exploring the latest updates and developments in the tech world.