aghontpi / ad-silence

Mute Ad/promotions from Accuradio, Spotify, Soundcloud, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.
GNU General Public License v3.0
189 stars 11 forks source link

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

Open famewolf opened 2 years ago

famewolf commented 2 years ago

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.

aghontpi commented 2 years ago

yes I have but,

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

indrastorms commented 2 years ago

yes I have but,

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

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

aghontpi commented 2 years ago

MIUI - "app level volume control" / Audio Focus android

aghontpi commented 2 years ago

@Indranil012 this looks good

Haimu-ad commented 2 years ago

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