Powershell script to write Spotify window title to a text file. I use this to read the current Spotify song and display it in OBS. It uses an infinite While loop and must be terminated with CTRL+C in the terminal.