aghontpi / ad-silence

Mute Ad/promotions from Accuradio, Spotify, Soundcloud, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ad blocking in Spotify (Podcasts) doesn't work

erawhctim opened this issue · comments

Info:

  • Pixel 6
  • Android 12 (Build #SD1A.210817.027, if that matters)
  • Spotify v8.6.82.1113

Tried playing a podcast on Spotify, waiting for Ads, and nothing happened. The ads play, I see "Advertisement" in the notification title, and I see the Ad Silence persistent notification (so the app was running). I had granted permission before running Spotify, and seemed to complete all the steps required to configure Ad Silence 🤔

I can try and debug locally to get some more info in logcat - are there specific log tags/messages I can search for or filter on?

I haven't tested podcasts in spotify, I'll check them out.

you can check the line below in logs

Log.v(
TAG,
"detected ${appNotification.context.getString(R.string.spotify)} -> ${
appNotification.context.getString(R.string.spotify_package_name)
}"
)

okey, so I tried running podcasts on a account with no subscription, I did not get ads in them to test. (not including the ads baked into the episode itself by the creator)

can you link the podcasts?, if you dont want to share it publicly, send it to me directly.

@aghontpi I just pulled up the latest episode of Joe Rogan's podcast to test. Ads appear after a little while, though (not immediate), and the exact point in time where they trigger the ad(s) seems to vary slightly between episodes.

The ad appears as a different "track" and has its own standalone notification (which seems to be what your app needs to detect with). I can try running locally and searching in the logs; I'll see if I can copy them and post here.

Thanks!, I found it on his pod cast.

this is a great find!! thanks to you.

bug spotify bug

the build below should cover the same.

(rename .zip to .apk, limitations in github comments)
app-release.zip

testing for a day before closing this.

update: tested, closing..

Just installed version 0.9.1 to test this with Spotify and I got ads playing while playing an auto-generated playlist ("Your mixtape")

(Pixel 4a 5G on Android 12)

yea 0.2.1. @ouzowtf I tried mixtape, the ad shows up but the app detects and silences it. I'll keep on testing it in the upcoming days.., meanwhile I'm keeping this issue closed (since this is related to podcasts), you can open a new issue.

Screenshot_20220430-211919_Shade_Launcher
I use Spotify premium, but I still have advertisement while listening to podcasts. Unfortunately ad silencing doesn't work. Maybe it is not working because the ads are labeled as "Spotify" instead as advertisement?

@citizenserious maybe the ads are baked in the original podcast file/audio by the creator.

Screenshot_20220701-101926_Spotify
Screenshot_20220701-101856_Finanzguru
@aghontpi, thats not the case, it is advertisment for other podcasts The screenshot that I shared shows the advertised podcast, not the one that I listen to.
In the first picture you can see that it is labeled as "ADVERTISEMENT FROM Spotify"

@citizenserious there is no mention of "ad" in the song title or notification. how do we block this..

The artist name is Spotify maybe that can be used 🤔

@aghontpi Exactly, I think that is the problem here. We could try to add Spotify but I do not know if there are any side affects like false blocking or worse. I would test it for a while if you like to provide a test version. (:

@citizenserious, yea true.

I'll refactor/ do the changes and tag you in #63 with the build

@aghontpi you are the best! Thank you very much for your work.

@aghontpi

I found several Sponsors which are not silenced yet:

Screenshot_20230524-142611_Spotify
Screenshot_20230524-142748_OctoDroid
![Screenshot_20230524-142658_Spotify](https://github.com/aghontpi/ad-silence/assets/62773866/3282edc3-8b0a-4c80-b952-53
Screenshot_20230524-142803_OctoDroid
a93261f021)
Screenshot_20230524-142626_Spotify

If you could show me how you added it last time I am willing to try it myself, but consider, that I never partisipaded at a project on github or any comparable platform.
Maybe I could start with that, trying to participate at this awesome project (: