Skip to content

Instantly share code, notes, and snippets.

@ZeroPivot
Created November 8, 2018 09:57
Show Gist options
  • Save ZeroPivot/6f134b28000e07dbcdc6fd90d29bcede to your computer and use it in GitHub Desktop.
Save ZeroPivot/6f134b28000e07dbcdc6fd90d29bcede to your computer and use it in GitHub Desktop.
# Script to fix a spotify problem (where abba.json prevents the browse page from loading)
# Written in Ruby by ArityWolf/Potential Difference (11/08/2018)
PATH_TO_SPOTIFY="C:/Users/[windows_username]/AppData/Roaming/Spotify/"
PATH_TO_ABBA="C:/Users/[windows username]/AppData/Local/Spotify/Users/[spotify username]/abba.json"
if (File.exist? PATH_TO_ABBA)
File.delete(PATH_TO_ABBA)
end
Dir.chdir(PATH_TO_SPOTIFY)
exec("spotify.exe")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment