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

Feature Request: Play LOCAL music during commercial then resume stream.

famewolf opened this issue · comments

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.

yes I have but,

  • if we play local music while ads are playing in Spotify then the audio stream from Spotify will be paused automatically. (i.e). ad will be paused. Unless we are able to play audio from two apps at the same time and mute just the audio from Spotify which in android isn't supported yet (apart from miui #32 and maybe Samsung devices)

If I'm wrong here, please do correct me.

commented

yes I have but,

If I'm wrong here, please do correct me.

https://developer.android.com/guide/topics/media-apps/audio-focus

@Indranil012 this looks good

Hi, checkout this app called "ad-free". It already has that feature. It is also open source. It works very well I have already tried this app.
Link:- https://github.com/abertschi/ad-free