abba23 / spotify-adblock

Adblocker for Spotify
https://github.com/abba23/spotify-adblock
1.83k stars 89 forks source link

Not blocking ads #65

Closed carlos12silva94 closed 2 years ago

carlos12silva94 commented 2 years ago

I had the problem where spotify show the offline error. Then i update the adblock version, but now it doesn't block the ads. Ubuntu 18.04 LTS

enovella commented 2 years ago

Working flawlessly on Ubuntu 18.04 LTS. Please read the documentation and explain further your issues.

carlos12silva94 commented 2 years ago

I did this: $ git clone https://github.com/abba23/spotify-adblock.git $ cd spotify-adblock $ make $ sudo make install $ LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify

once in a while, the ad starts to play. What else is supposed to do?

enovella commented 2 years ago

Can we see the log of the last command?

carlos12silva94 commented 2 years ago

This is right after i run it: image When i get an ad it turns into: image

abba23 commented 2 years ago

That log looks like it should be working. Are you perhaps using a very outdated version of Spotify? The latest version should be 1.1.72.439.gc253025e.

enovella commented 2 years ago

This is working to my eyes but you got an ERROR in the first line. Have you searched for that? Please use text instead of pictures, now we cannot copy the ERROR to help you further.

BwntyHntr commented 2 years ago

I'm experiencing the same issue on arch Linux

I've noticed that abba23 modified the config file which has allow list and deny list to temp fix the issue.

From what I have experienced, Spotify linked an ad domain to their main infrastructure which means by blocking it, you cannot select any song to play as it shows "content not available".

The good news that it doesn't show any ads while playing music, only banner ads. Perhaps something can be one about it in the future.

UPDATE: I fixed my issue, this might help you as well

Delete the old clone and Spotify from your device

Git the clone and do as instructed, install Spotify with a new build, and then run it, that should fix it.

carlos12silva94 commented 2 years ago

I updated the spotify and it started working fine. Thanks