Don’t just hate it when you’re listening to your favorite song and a notification pops up all of a sudden. While in most devices the interruption results in a decrease in the music volume for a few seconds, in other cases it can even pause the song altogether. Then you will have to manually restart the music player. Therefore, in this guide, we are going to list the steps to automatically turn off notifications as soon as you play any music on your device. Here are the necessary instructions. Also, check out our guide to automating your Android device with these tips.
Turn off automatic notifications while listening to music
The aforementioned process will be done using the MacroDroid automation application. Various automation applications exist. Some apps like Tasker and IFTTT are quite famous and you even have to come across them. However, MacroDroid is another such app but does its job without any complications involved. Here is what we will do.
First of all, a task will be created related to the music being played. Next, we’ll attach a DND event to that task. And a final reverse event will be generated that will turn off the DND mode as soon as the music stops. With that said, here are the steps to automatically turn off notifications while listening to your favorite tracks.
Steps to follow
- Download and install MacroDroid application on your Android device.
- Next touch More Macros and scroll to section Device events.
- Under that, select Play Music/Audio. In the next pop-up that appears, select Begin.
- Now go to tab Act and click Practice.
- In there, select the option Priority / Do Not Disturb Mode.
- You will then have to give Do Not Disturb mode access to this app.
- Once done, go back to the app, tap Priority / Do Not Disturb Mode and choose Allow priority notifications.
- You can even add some exceptions to the event. For example, you can enter the desired date and time and make sure the event doesn’t launch a DND action at that time. I did the same for my business hours so as not to miss any important announcements.
- If you want to do so, tap Constraint and go to Date / Time. Enter the desired data in both these fields.
- Finally, give this Macro a name and press OK.
That’s it. You have successfully created a Macro that will automatically disable notifications as soon as you start your favorite tracks. Now we will create another macro that will automatically disable DND Mode as soon as you close the music player. Here are the instructions for the same.
Disable DND via MacroDroid
- Open the app MacroDroid, touch More Macros and go to section Activated.
- Tap Play Music / Sound. This time, choose Stop from the pop-up window that appears.
- Next, go to Act and click Priority / Do Not Disturb mode.
- Choose Allow all from menu and press OK. That’s it.
With that, you have successfully created two different macros. The first one automatically disables notifications as soon as you launch any music. The second one, on the other hand, disables DND mode when the music player is closed. What do you think of this amazing feature of the MacDroid automation app? Please share your views in the comments section below.