Skip to content

spotify/windows media current track to csgo chat very nice

Notifications You must be signed in to change notification settings

veselv2010/NowPlaying

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NowPlaying

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

logo logo logo logo

Different media providers

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

How to use (Spotify)

  1. Lauch the program via NowPlaying.Wpf.exe file.
  2. 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!")).
  3. 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).
  4. Click in the box named "Chat button" and press any key, that you will use later to manually send chat message.
  5. 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).
  6. Launch CS:GO (It can be done on any stage).
  7. 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.
  8. Open console (~) in CS:GO.
  9. Paste the string into the console.
  10. 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.

How to use (Windows media API)

Same steps as above, but without your default browser opening

CodeFactor