aghontpi / ad-silence Goto Github PK
View Code? Open in Web Editor NEWMute Ad/promotions from Accuradio, Spotify, Soundcloud, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.
License: GNU General Public License v3.0
Mute Ad/promotions from Accuradio, Spotify, Soundcloud, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.
License: GNU General Public License v3.0
hi again. just had an ad go through that i'd never seen/heard before on Spotify.
Originally posted by @unseenlarks in #41 (comment)
using a Sony Xperia X, running Android 8.0
Spotify version currently 8.7.8.233
Ad-silence version 0.5.2
Ad-silence has notification access and is enabled to mute ads. Spotify is enabled under 'select apps', and the Ad-silence notification is always visible on the notification drawer, regardless of Spotify status. battery optimisation is disabled for Ad-silence.
when ads are playing, the Ad-silence notification displays 'listening for ads', same as when music plays, or when Spotify itself is closed.
i also use Spotify Lite, but ads are muted every time (except for the final second), though.
let me know if i can provide any more information. thank you for your time.
Not working on any apps with device running android 12 - reported by @jpbaril
Have you considered an option to allow the user to select to have music from the local "Music" folder played during advertisements and then resume the stream? This would eliminate periods of long silence if the commercial is longer than normal. Not sure how much a straight call to play a random audio file would add to the size of the app. This is more advantageous when in the car so the driver does not take his eyes off the road to ensure the stream is still going and hasn't dropped due to loss of cell tower signal etc.
GG @aghontpi
Since last few weeks most of the adds are not becoming silent which was exactly opposite previously. Not sure what's the reason.
Installed from the f-droid app, tried reinstalling and the "listening for ads" notification is there. But I still hear ads.
I've tested on android 5.0.1 (x2), 5.0.2 and the ads are muted, but when the next song comes on it is still muted. I'm not able to manually unmute w/o closing the ad-silence app.
I've tested on Android 6.0 and 7.1 and there are no issues with muting and unmuting.
GG @aghontpi
Spotify
I really like listen to spotify and the ads are really annoying i hope that you guys can fix it, have a great day
:)
Is it possible to mute the audio coming from the streaming service/app only?
I use a Xiaomi Redmi device and there is a setting to control the volume of media coming from multiple sources individually (refer to screenshot)
Sometimes I need to listen to audio from another app while an ad is running on Spotify and when I increase the volume, I have to hear the ads(I can stop the ad altogether but I'm lazy, or I will have to turn it on again)
BTW, your app is a real gem, thanks🤗
I am thrilled with the efficacy of your app in muting add in the current list of streaming apps
I am making a request if you can add
Livexlive
Os anúncios continuam
The apk work fine on my tablet or my phone, but I buy a android smart tv but your apk did not work. The apk was not able to find spotify on my smart tv. If could verify it's possible to find a correction for this problem.
Thank you for your help
Since you wrote you would be open to adding more streaming services, I was wondering if you could please also block YouTube ads? I don't use the Android app but just go through the web and I use Bromite as my browser and the Puffer app to block other ads and I still get the YouTube ads. Thanks
Info:
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?
One of the most popular streaming radio apps is iheartradio. I wondered if it could be added or if it worked differently than the other streamers?
use artist name for ad detection in Spotify
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"
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. (:
Originally posted by @citizenserious in #5 (comment)
Logcat error:
E Process: bluepie.ad_silence, PID: 32424
E java.lang.IllegalArgumentException: bluepie.ad_silence: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE
or FLAG_MUTABLE be specified when creating a PendingIntent.
E Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable,
e.g. if it needs to be used with inline replies or bubbles.
E at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
E at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:458)
E at android.app.PendingIntent.getActivity(PendingIntent.java:444)
E at android.app.PendingIntent.getActivity(PendingIntent.java:408)
E at e.h.c(:4)
E at e.h.h(Unknown Source:0)
E at bluepie.ad_silence.NotificationListener.onListenerConnected(Unknown Source:18)
E at android.service.notification.NotificationListenerService$MyHandler.handleMessage(NotificationListenerService.java:2319)
E at android.os.Handler.dispatchMessage(Handler.java:106)
E at android.os.Looper.loopOnce(Looper.java:201)
E at android.os.Looper.loop(Looper.java:288)
E at android.app.ActivityThread.main(ActivityThread.java:7839)
E at java.lang.reflect.Method.invoke(Native Method)
E at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Running on a Pixel 6; I can debug/install locally from the repo if needed, just lemme know.
While using Spotify app doesn't work many times,need to fix this issue
Methinks Pandora has made a workaround that pauses ads when the device is muted. :/
Nice
Sank u
ad-silence/app/src/main/java/bluepie/ad_silence/MainActivity.kt
Lines 10 to 13 in 6a2b1d2
todo
comment in 6a2b1d2. It's been assigned to @aghontpi because they committed the code.The reasoning mentioned was that the "app Icon" was in violation of the terms. I'm contacting policy support team
regarding this issue.
I'll update this thread on updates.
Solution
You can still use one of the following links to get the official apks
App was reinstated after Changing the Icon and Submitting for review.
I could not get a straight answer from the support team
, (I believe the old icon
was not violating terms) - not pursuing this further, closed this issue.
seems like spotify might have blanked out its advertisement notifications.
using https://f-droid.org/en/packages/de.jl.notificationlog/
I looked at the spotify notifications when ads came on and they were blank.
they are also not being muted but I think this is why.
Yes, this is coming from someone with almost no knowledge on how this might work.
But!
I do know that ads in Deezer are also signaled by a separate notification which could be detected by the app and subsequently silenced.
I use Deezer and i believe it's among the topmost used streaming apps! many other users might find this helpful 👀
(also happy holidays 🎄)
Hello, app is working great on Spotify, but would it be possible to implement into Spotify Stations? The same ads seem to run on there, I'm hoping they are all triggered the same way and it would be a (relatively) easy thing for you to do. Thanks for the consideration!
https://play.google.com/store/apps/details?id=com.spotify.zerotap
Do you think that the ads can be removed in iHeartRadio?
Thank you so much
I decided to try casting to my nest hub and found the commercials were not muted....the sound is still coming from the phone isn't it?
The app was not detected advertisement of spotify.
Block Spotify
Hello. After watching a video on YouTube I discovered your app xd and I was wondering if you plan to support YouTube Music (the app version). Have you considered it?
it doesn't work after 3 songs, can't really explain it much because all you do is turn on a button (Spotify)
Can the application be closed automatically when Spotify/other apps are closed? I understand that this might cause other issues but it would be nice to not see the app's notification when not in use.
I have a xiaomi mi S android tv device and wonder if it will work there to mute the ads when played? I'm loving how this works when streaming to my echo show at home via bluetooth....just wish there was an iphone version as well since I was using it as my primary streamer as the battery life was very long. (I know it's pretty much impossible in the "walled garden" of iphone and am primarily an android user.
I know the android tv uses some different api's so wasn't sure it would work the same.
Hey I was just wondering if you could get this to work with AntennaPod. Im guessing since the ads are embedded into the podcasts and wouldnt change in the notification, it isnt possible?
I have a Chromecast (old model) and your excellent app doesn't seem to work when Spot.. is streaming to the Chromecast. I guess the app is lowering the phone instead of the streaming volume (different settings).
Thanks
Try to block Anghami ads
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.