Skip to content

Simply programmatically grab your currently playing Spotify Songs Title straight from your Spotify Client, opening up a wide variety of use cases. [No API usage!]



Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Spotify Song Title Reader

Downloads Compatibility Stars

GitHub Banner


One click code, to crawl your current spotify songs name & artist, out of the Spotify clients window title. It creates a file named song_name.txt in the same directory you launched the code from, which will contain the information. Once ran it will every 8-15 seconds(randomised) overwrite the recently created file, with the current song & artist name like in the following sample: Song: The Weeknd - The Hills ♪ and also print it in the python console.

This is pretty usefull if you're using OBS for example, you can just add a 'Text (GDI+)' Source into your current scene and add the created file that will always contain the current songs title location as source to that text, inside it's properties in OBS.


You can just install the Executable version

Else you'll need to install python and the dependencies below through python.


If you are using the raw source, paste below in cmd:

pip install pywinauto psutil pywin32

Only if you get an error with win32api, you've to get the correct version(your python & OS version) of

Additional Knowledge

I'm fully aware that there's an Spotify API that will exactly replicate the functionality of this code, but it requires you to run the official Spotify client, which I'm not doing, my Spotify user data is never going back to the Spotify Server, which makes it impossible for me to use their API. For everyone that has the same issue or just doesn't want to deal with their API, you're welcome to use this repo 🎉

Dependant on how many people show me that they're liking the code by giving ⭐'s on this repo, I'll expand functionality & push more quality of life updates.