Set DND but allow media volume?

Buckwheat

New member
I created a macro where the trigger is to shake the phone to set Do Not Disturb to ON. However, I want to be able to hear the volume of the media I am playing but DND also sets the media volume to zero and I can't change it. Here is my macro below. Is it possible to fix?
1000041732.jpg
 

RSF

Well-known member
Instead of using Do Not Disturb, could you just set the ringer and notification volumes to 0 to mute? (restoring to prior values with the next shake)

Screenshot_20240501-093651.png
 
Last edited:

Buckwheat

New member
Thank you for your reply. I have a notification app on my phone called LED blinker Pro which gives on screen floating icon notification when I get a call, text, etc. Setting the phone to do not disturb blocks those on screen notifications as well. Will your solution accomplish this?
 

RSF

Well-known member
Depends on that app, and what setting(s) it looks at to hide its notifications. If it looks at the ringer volume setting, then it'll probably work.

If it doesn't work, you could try:
  • Using MacroDroid's Priority Mode "Alarm Only" instead of "Block All" option. That leaves the media volume unchanged, while turning off ringer and notification volume, and your LED app may work with that
  • Looking into whether you could send an Android "Intent" to the app to disable (and then re-enable) it. The app documentation may have information on that
 

Buckwheat

New member
Depends on that app, and what setting(s) it looks at to hide its notifications. If it looks at the ringer volume setting, then it'll probably work.

If it doesn't work, you could try:
  • Using MacroDroid's Priority Mode "Alarm Only" instead of "Block All" option. That leaves the media volume unchanged, while turning off ringer and notification volume, and your LED app may work with that
  • Looking into whether you could send an Android "Intent" to the app to disable (and then re-enable) it. The app documentation may have information on that
Those are also good suggestions, thank you. I had also thought about the intent thing, but outside of only knowing that intents exist, I'm not quite sure how to use them LOL, and also I don't know the specific intent for the app in question, for which I will probably have to contact the developer. But at least you've given me a couple of ideas. Thanks again!
 

Buckwheat

New member
Those are also good suggestions, thank you. I had also thought about the intent thing, but outside of only knowing that intents exist, I'm not quite sure how to use them LOL, and also I don't know the specific intent for the app in question, for which I will probably have to contact the developer. But at least you've given me a couple of ideas. Thanks again!
Just a follow-up to let you know that setting the Do Not Disturb to Alarms Only did the trick, Thanks again!
 
Top