If you do that, go the extra mile and schedule a (weekly or so) job to vacuum that database.
Also, since you are on a Mac, I would use launchd jobs and make it less brute-force by scheduling the job changing the file on writes to the Applications/Spotify.app/Contents/MacOS/ directory.