AnanthVivekanand / spotify-adblock

Blocking ads on desktop Spotify, crazy code ahead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App works great, but nothing plays

plastikhub opened this issue · comments

Went through all instructions, everything seems to be working ok, except no song will play. Is this something to do with the login5.spotify.com being blocked?

I think it is indeed related to that. This is essentially the same as issue #3, we tried to unblock login5.spotify.com and found that ads come through.

You can try and add login5.spotify.com to whitelist.js (more details in #3) but as I explain, I can't whitelist without breaking functionality for other users.

Seems like downgrading Spotify to version 1.0.80 or lower solves this problem. Once the older version of Spotify is installed, open up Spotify and then run this shell script to block updates.

Confirmed working after downgrading to 1.0.87.491

EDIT: Nope. Not working. Music plays, but the ads come up. Will try 1.0.80.474 next

The lower version works as in music plays, but ads creep in unfortunately

Have a look at the workaround I made, been using it for a few months with no problems.

https://github.com/henryli17/macOsSpotifyAdblocker

Alright, so this is a confirmed bug. Another workaround in addition to @Henryli17's project is to use the builtin man-in-the-middle filtering, the instructions for that are at the bottom of the README. I've been using the mitm-proxy branch for several months and its been working with no flaws, so I decided to go ahead and merge it into master.

From now on, using mitm.js is the recommended approach, so this issue is resolved.