Quantcast

Jump to content

» «
Photo

[V|REL] GTAV Spotify Player | Your music in your car!

64 replies to this topic
JohnnyCrazy
  • JohnnyCrazy

    Player Hater

  • Members
  • Joined: 26 Apr 2015
  • Germany

#1

Posted 11 May 2015 - 05:14 PM Edited by JohnnyCrazy, 22 June 2015 - 04:12 PM.

GTAV Spotify Player | Your music in your car!

 

 

Always wanted to listen to your Spotify playlists while cruising around Los Santos with full playback-control? Well, now you can!

This mod will add a spotify controller in your right upper corner as soon as you enter a car. With this controller you can:

  • View all track infos (title, artist, album, track-time)
  • Play/Pause
  • Skip/Previous track
  • Select one of your playlists for playback

Some Screens:

Spoiler

 

 

Installation:

  1. Make sure you have the latest ScriptHook + ScriptHook .NET 1.0 installed!
  2. Download the latest build here: GTAVSpotify.zip
  3. Extract it inside your "Grand Theft Auto V"-Folder, so the DLL is located here: "Grand Theft Auto V/scripts/GTAVSpotify.dll"
  4. Run GTAV!

Usage:

  1. Start Spotify before you go ingame (F3 won't work if spotify isn't running)
  2. Press F3 once you're ingame, a message should appear over your map.
  3. Now, just hop in a car and the player should appear.
  4. The player will pause itself when the radio is turned on. Just turn your radio off and it should play again
  5. To Control it (The small little white bar is your "cursor"):
    1. NumPad / = go left
    2. NumPad * = select
    3. NumPad - = go right
  6. When you open "Playlists" the first time, you need to enter your Spotify-ID. (If you go to your Spotify Profile, click on the 3 dots and "copy spotify-URI". "spotify:user:XXXX" XXXX is your spotify-ID)
  7. Make sure your Playlists are public! Else it won't find them.
  8. Have fun listening to your music! :)

You can change the Key-Bindings in "GTAVSpotify.json", located in the /scripts folder.

Key-Codes:

Yea,

Key-Codes:

 

Spoiler

 

DOWNLOAD: GTAVSpotify.zip

 

Since I currently don't have any capture software installed, I would be more than grateful if someone could take a small video :)

If it throws any erros, please include all log files so I can trace the issue! Thanks and have fun.

 

Greetings,

Johnny

  • kenryk, SID44SID, Mega and 3 others like this

JoshLmao
  • JoshLmao

    youtube.com/JoshLmao

  • Members
  • Joined: 02 Nov 2012
  • United-Kingdom

#2

Posted 11 May 2015 - 05:18 PM Edited by JoshLmao, 11 May 2015 - 08:21 PM.

That is fantastic. I've been waiting for something like this and now it's here. Gonna try it out and see how it is

 

I whipped up a quick video about it here:

  • JohnnyCrazy likes this

mis009
  • mis009

    Sweet Angel

  • Members
  • Joined: 01 Mar 2008
  • Denmark

#3

Posted 11 May 2015 - 05:23 PM

Wow this is nice have been waiting for this good work!


qwerasdzxc
  • qwerasdzxc

    Master Race Member

  • Members
  • Joined: 07 Nov 2014
  • Serbia

#4

Posted 11 May 2015 - 05:24 PM

If someone could make this for Deezer :/
  • OldWorldNomad likes this

NoShotz
  • NoShotz

    Player Hater

  • Members
  • Joined: 25 Apr 2015
  • Canada

#5

Posted 11 May 2015 - 05:28 PM Edited by NoShotz, 11 May 2015 - 05:30 PM.

if only it was available where i live

Edit: nevermind, apparently it is now


NeatSquid
  • NeatSquid

    Crackhead

  • Members
  • Joined: 09 Nov 2014
  • United-Kingdom

#6

Posted 11 May 2015 - 05:30 PM

Great work :D I'll be trying this out later on. If it works without stutter (*cough* Self Radio), I will  be so happy :D


teisco
  • teisco

    Square Civilian

  • Members
  • Joined: 23 Apr 2015
  • United-States

#7

Posted 11 May 2015 - 05:58 PM

When will these moders understand that not all of us have a numberpad ?


JohnnyCrazy
  • JohnnyCrazy

    Player Hater

  • Members
  • Joined: 26 Apr 2015
  • Germany

#8

Posted 11 May 2015 - 06:04 PM Edited by JohnnyCrazy, 11 May 2015 - 06:04 PM.

When will these moders understand that not all of us have a numberpad ?

 

Keys can be changed in the GTAVSpotify.json, maybe I will post the Numbercodes later

But srsly, don't even mod your GTA V if you have no Numpad...we are playing on PC god damn it....


teisco
  • teisco

    Square Civilian

  • Members
  • Joined: 23 Apr 2015
  • United-States

#9

Posted 11 May 2015 - 06:07 PM

I play plenty of mods for which the developer has an open mind and includes other forms of input. Also this is 2015 and many play pc with smaller keyboards or laptops without a number pad. You are only limiting your audience and user base by sticking with an outdated device for control. 


NeatSquid
  • NeatSquid

    Crackhead

  • Members
  • Joined: 09 Nov 2014
  • United-Kingdom

#10

Posted 11 May 2015 - 06:52 PM

Mod works perfectly :D No lag on my Pentium :D


NeatSquid
  • NeatSquid

    Crackhead

  • Members
  • Joined: 09 Nov 2014
  • United-Kingdom

#11

Posted 11 May 2015 - 07:10 PM

Can you please release the key codes? I really need to remap mine.


JohnnyCrazy
  • JohnnyCrazy

    Player Hater

  • Members
  • Joined: 26 Apr 2015
  • Germany

#12

Posted 11 May 2015 - 07:25 PM

Yea,

Key-Codes:

 

Spoiler

Ragref
  • Ragref

    Homie

  • Members
  • Joined: 20 Sep 2012
  • None

#13

Posted 11 May 2015 - 07:43 PM

I play plenty of mods for which the developer has an open mind and includes other forms of input. Also this is 2015 and many play pc with smaller keyboards or laptops without a number pad. You are only limiting your audience and user base by sticking with an outdated device for control. 

*sighs*  :sui:

Limiting their audience? Probably 5% of people who downloads these mods have no Numpad. This is 2015, get an actual PC with a Numpad.

  • NeatSquid and JohnnyCrazy like this

teisco
  • teisco

    Square Civilian

  • Members
  • Joined: 23 Apr 2015
  • United-States

#14

Posted 11 May 2015 - 09:32 PM

I will stick to the better modders than and use mods like Endeavor Trainer that uses either number pad or controller or to the mods that let us change the input through file settings. 


JohnnyCrazy
  • JohnnyCrazy

    Player Hater

  • Members
  • Joined: 26 Apr 2015
  • Germany

#15

Posted 11 May 2015 - 09:38 PM

I will stick to the better modders than and use mods like Endeavor Trainer that uses either number pad or controller or to the mods that let us change the input through file settings. 

 

Did you even read my post? You can change it

  • Ragref likes this

DAMND
  • DAMND

    SPANKED-up madman

  • Members
  • Joined: 20 Jan 2014
  • None
  • [Snapmatic & R* Editor Awards 2015] Best Tribute Video
    [Snapmatic & R* Editor Awards 2015] Best Parody Film

#16

Posted 11 May 2015 - 11:49 PM

^^haha

 

beautiful, man. I didn't even know this would be possible. psyched to dl this when I get home.


Rented
  • Rented

    Gangsta

  • The Connection
  • Joined: 24 Oct 2010
  • England

#17

Posted 12 May 2015 - 12:11 AM

Ah man always wanted R* to add Spotify to the radio wheel, sort of like the User Track Player in previous games and that could work online as well... back on topic it's a great mod!

Esoteric777
  • Esoteric777

    Player Hater

  • Members
  • Joined: 05 May 2015
  • Vietnam

#18

Posted 12 May 2015 - 12:54 AM

Love it, wish it could be a little more compact.


lordusa
  • lordusa

    Player Hater

  • Members
  • Joined: 02 Oct 2013
  • None

#19

Posted 12 May 2015 - 02:00 AM

Getting error...

This is my ScriptHookVDotNet.log

[22:45:11] [DEBUG] Created script domain 'ScriptDomain_35376C86'.
[22:45:11] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_35376C86' ...
[22:45:11] [DEBUG] Found 1 script(s) in 'GTAVSpotify.dll'.
[22:45:11] [DEBUG] Starting 1 script(s) ...
[22:45:11] [DEBUG] Instantiating script 'scripthookvdotnet_spotify.MainClass' in script domain 'ScriptDomain_35376C86' ...
[22:45:13] [ERROR] Failed to instantiate script 'scripthookvdotnet_spotify.MainClass' because constructor threw an exception:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 194.132.196.163:80
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.GetOAuthKey()
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.Init()
   at scripthookvdotnet_spotify.MainClass.InitSpotify(Boolean byUser)
   at scripthookvdotnet_spotify.MainClass..ctor()


JohnnyCrazy
  • JohnnyCrazy

    Player Hater

  • Members
  • Joined: 26 Apr 2015
  • Germany

#20

Posted 12 May 2015 - 07:25 AM

 

Getting error...

This is my ScriptHookVDotNet.log

[22:45:11] [DEBUG] Created script domain 'ScriptDomain_35376C86'.
[22:45:11] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_35376C86' ...
[22:45:11] [DEBUG] Found 1 script(s) in 'GTAVSpotify.dll'.
[22:45:11] [DEBUG] Starting 1 script(s) ...
[22:45:11] [DEBUG] Instantiating script 'scripthookvdotnet_spotify.MainClass' in script domain 'ScriptDomain_35376C86' ...
[22:45:13] [ERROR] Failed to instantiate script 'scripthookvdotnet_spotify.MainClass' because constructor threw an exception:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 194.132.196.163:80
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.GetOAuthKey()
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.Init()
   at scripthookvdotnet_spotify.MainClass.InitSpotify(Boolean byUser)
   at scripthookvdotnet_spotify.MainClass..ctor()

 

Is Spotify running? And check if there is a process called "SpotifyWebHelper.exe".

If not, I will look into it this evening


LoneMerc
  • LoneMerc

    Player Hater

  • Members
  • Joined: 11 May 2015
  • United-Kingdom

#21

Posted 12 May 2015 - 09:06 AM

I will stick to the better modders than and use mods like Endeavor Trainer that uses either number pad or controller or to the mods that let us change the input through file settings. 

 

Woah, that's a bit harsh don't you think? You have all these people doing wonders, making the game BETTER to play and you're having a go at this guy's attempt to make something that has been requested! I don't see you releasing any mods...? Also as far as I remember, Endeavor Trainer doesn't allow Spotify... Maybe you need to have a bit of respect for these people who don't get paid for this!

 

On topic, this looks great :) Can't wait to try it out!


Wasabi Ice Cream
  • Wasabi Ice Cream

    Hopelessly Devoted

  • New Members
  • Joined: 11 May 2015
  • United-States

#22

Posted 12 May 2015 - 11:54 AM Edited by Wasabi Ice Cream, 12 May 2015 - 11:55 AM.

Though I don't use Spotify at all, I have to commend everyone involved in this natural progression of mods.

Love how the community can come together and continue to build on each other's work to come up with this stuff.

Great job. Please, ignore all the ungrateful bastards.


JohnnyCrazy
  • JohnnyCrazy

    Player Hater

  • Members
  • Joined: 26 Apr 2015
  • Germany

#23

Posted 12 May 2015 - 03:16 PM Edited by JohnnyCrazy, 12 May 2015 - 03:16 PM.

That is fantastic. I've been waiting for something like this and now it's here. Gonna try it out and see how it is

 

I whipped up a quick video about it here:

 

Great job with the video :) Thanks a lot!

Also wrote down your ideas, thanks for them too!


MrGTAmodsgerman
  • MrGTAmodsgerman

    Inventor

  • Members
  • Joined: 02 Jan 2012
  • Germany

#24

Posted 12 May 2015 - 03:42 PM

@JohnnyCrazy Kannst du den Mod auch in einen Web Radio mod umbauen? Das würde Auto fahren richtig echt aussehen lassen.


lordusa
  • lordusa

    Player Hater

  • Members
  • Joined: 02 Oct 2013
  • None

#25

Posted 12 May 2015 - 05:46 PM

 

 

Getting error...

This is my ScriptHookVDotNet.log

[22:45:11] [DEBUG] Created script domain 'ScriptDomain_35376C86'.
[22:45:11] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_35376C86' ...
[22:45:11] [DEBUG] Found 1 script(s) in 'GTAVSpotify.dll'.
[22:45:11] [DEBUG] Starting 1 script(s) ...
[22:45:11] [DEBUG] Instantiating script 'scripthookvdotnet_spotify.MainClass' in script domain 'ScriptDomain_35376C86' ...
[22:45:13] [ERROR] Failed to instantiate script 'scripthookvdotnet_spotify.MainClass' because constructor threw an exception:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 194.132.196.163:80
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.GetOAuthKey()
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.Init()
   at scripthookvdotnet_spotify.MainClass.InitSpotify(Boolean byUser)
   at scripthookvdotnet_spotify.MainClass..ctor()

 

Is Spotify running? And check if there is a process called "SpotifyWebHelper.exe".

If not, I will look into it this evening

 

Yes Spotify is running and SpotifyWebHelper.exe is there


JohnnyCrazy
  • JohnnyCrazy

    Player Hater

  • Members
  • Joined: 26 Apr 2015
  • Germany

#26

Posted 12 May 2015 - 05:48 PM

 

 

 

Getting error...

This is my ScriptHookVDotNet.log

[22:45:11] [DEBUG] Created script domain 'ScriptDomain_35376C86'.
[22:45:11] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_35376C86' ...
[22:45:11] [DEBUG] Found 1 script(s) in 'GTAVSpotify.dll'.
[22:45:11] [DEBUG] Starting 1 script(s) ...
[22:45:11] [DEBUG] Instantiating script 'scripthookvdotnet_spotify.MainClass' in script domain 'ScriptDomain_35376C86' ...
[22:45:13] [ERROR] Failed to instantiate script 'scripthookvdotnet_spotify.MainClass' because constructor threw an exception:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 194.132.196.163:80
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.GetOAuthKey()
   at SpotifyAPI.SpotifyLocalAPI.RemoteHandler.Init()
   at scripthookvdotnet_spotify.MainClass.InitSpotify(Boolean byUser)
   at scripthookvdotnet_spotify.MainClass..ctor()

 

Is Spotify running? And check if there is a process called "SpotifyWebHelper.exe".

If not, I will look into it this evening

 

Yes Spotify is running and SpotifyWebHelper.exe is there

 

 

The only thing I can think of is either a firewall issue (although it's connecting to localhost) or an outdated Spotify-Client

Which Windows are you using?


lipskamafia
  • lipskamafia

    Square Civilian

  • Members
  • Joined: 10 Aug 2011

#27

Posted 12 May 2015 - 05:51 PM


Fischkopf
  • Fischkopf

    Admin

  • Members
  • Joined: 19 Jan 2009

#28

Posted 12 May 2015 - 05:59 PM

Too bad I don't use spotify... i wish someone could make a script that can load .pls files for shoutcast radio streaming.. There used to be a GTA IV plugin that did this.

Troublesome96_
  • Troublesome96_

    Outlaw

  • Members
  • Joined: 25 Apr 2009
  • United-States

#29

Posted 13 May 2015 - 05:09 AM

This mod is awesome. But for some reason I can't access the playlist menu and I have the plugins needed. Not sure what's wrong.


NeatSquid
  • NeatSquid

    Crackhead

  • Members
  • Joined: 09 Nov 2014
  • United-Kingdom

#30

Posted 13 May 2015 - 06:39 AM

Whenever I use this mods, the LUA command prompt says that it's timed out and I can't use any LUA scripts




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users