csgo-music-play-pause

Basically Play Pauses the song when it is safe to do so. when you die in a round

Idea by https://github.com/glenndehaan/csgo-gamestate-spotify

API used is https://github.com/Erlendeikeland/csgo-gsi-python

Instructions

  1. Copy the gamestate_integration_GSI.cfg file to C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg

  2. Play whatever you wanna play. be it song be it a youtube video. whatever

  3. Get into game

  4. Start the file by python main.py

  5. when you first spawn and it detects that you are alive it will pause the media. opposite when you are dead.

Demonstration

Watch the video

GitHub

View Github