Jump to content

[QUESTION] MTA with Spotify API


FrankNL

Recommended Posts

Hey Guys,

First of all i wanted to say that i'm not that good of an scripter in MTA/LUA i haven't done it in a real long time. But today i was playing mta with Spotify running on the back ground, and i had to go to my desktop everytime i wanted to change the playlist i'm in.

So i thought wouldn't it be possible to integrate the Spotify API into a LUA script and make a GUI interface so that you can go through your spotify playlists and controll spotify from in MTA itself? There is an Spotify API named libspotify, so i thought isn't it possible to load libspotify.dll (.so) into the server and use this for this?

Here is the API: https://developer.spotify.com/technologies/libspotify/

And here is the documentation: https://developer.spotify.com/technolog ... s/12.1.45/

I Really have no idea if this is even possible so i wanted ask you guys, i think it would make a really nice add-on to MTA because spotify is being used more often these days.

Let me know if this is even possible, and if so if you can give me an little something to start with.

Thanks already!

Greatings,

FrankNL

Link to comment

MTA will not have this built in and it isn't possible for a server to use the API directly on the program, but a server COULD use the Spotify WEB API to do this.. this may not be easy since php scripts cannot be called by a client.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...