spotify/windows media current track to csgo chat very nice
(Windows media provider works as a workaround for now, because spotify does not work in russia anymore)
There are WPF and CLI verisons for now
By default, windows media provider will be selected, you can change that to spotify api by changing LastProvider
property in NowPlayingConfig.json
SPOTIFY = 0
WINDOWSRT = 1
- Lauch the program via
NowPlaying.Wpf.exe
file. - You will be redirected to the Spotify login form in your default browser (WARNING! If you're already logged on in this browser you'll only see a flash, which is caused by NowPlaying oppening a tab, getting the necessary API access token and closing the tab that does the thing). Login to your Spotify account if not already (it is recommended to use "Remember me" option, which will allow you to skip this step entirely (see the "WARNING!")).
- NowPlaying will determine the last Steam account you've logged in and will show it in left corner under the timeline (if you're going to use account that is different to the one displayed, you'll need to restart NowPlaying for it to update).
- Click in the box named "Chat button" and press any key, that you will use later to manually send chat message.
- Optionally, you can use autosend function, which automatically activates send button for you with every track change in Spotify via WinAPI SendInput (works only when you are in game and haven't opened any kind of menu or chat).
- Launch CS:GO (It can be done on any stage).
- On top of NowPlaying window you'll see a
bind "key" "exec audio.cfg"
line. Copy it to the clipboard and head back to CS:GO window. - Open console (~) in CS:GO.
- Paste the string into the console.
- Now depending on the method (manual or autosend) you'll either automatically send a chat message with track information on each change of it or do it yourself when in game. Aside from that, you can press the assigned button anytime to send the mentioned chat message.
Same steps as above, but without your default browser opening