There's a file called xpui.spa that is a zip file that contains CSS. I can't remember exactly how I landed on it, but this github issue comment gave me the clue I was looking for. I could find partial mentions of the URL in the binary Spotify app but not enough that it would actually make the API call. Using grep and ripgrep didn't gt me anywhere. The next step is to find the query and edit it in the source code. Taking that request, and removing the show, from the types property and then composing the request in Charles Proxy (a handy feature) - I could confirm that the shows and podcasts vanish from the response. Looking at the query I can see: types: album,playlist,show,artist,station,episode Specifically this request stood out: GET Using Charles Proxy I was able to identify the Spotify API call that looked like it was asking for shows (along with playlists, etc). If this doesn't work for you, or your system is different, look for the withQueryParameters method in the xpui.js file and modify the e object being returned, stripping values from e.type. You can still find them and still play them, but they just won't be vying for your attention. Now starting Spotify should be completely void of shows and podcasts on the home screen. You can also download this as a shell script: spotify-fix so you can re-run every time Spotify updates (make sure to chmod u+x spotify-fix and move to a directory in your $PATH). Unzip -p xpui.spa xpui.js | sed 's/withQueryParameters(e)/' > xpui.js
$ cp xpui.spa ~/Desktop/xpui-backup.spa # backups are good
The possibilities of error could be location of Spotify being different, or tools having slightly different versions (I'm using zip, unzip and sed - but these for me are all the pre-installed macOS flavours): $ cd /Applications/Spotify.app/Contents/Resources/Apps/ Note that if any one command breaks/errors, then it's wise to stop and look at the error. I've dug a little into Windows, and maybe you might find a way or use something from this post that might help - but I can't see it from the paths I've taken.įirst close Spotify, then in a terminal, run the following commands.
Updated - Spotify changed their process, so I've updated the code to strip episodes and shows as of version 1.1.79.763.x. I've published 38 videos for new developers, designers, UX, UI, product owners and anyone who needs to conquer the command line today.