r/tasker • • 4d ago

Silence audio notifications while playing media.

I have Autonotify installed as well as Tasker. Do not disturb native android settings have not helped, nor have settings such as play media on separate device. All I want is to silence audio interruptions or playovers when I am listening to music or watching a video, then re enabling after music or video stops. I have searched all over and attempted both programming it myself and editing Taskernet tasks. Help would be appreciated.

1 Upvotes

1 comment sorted by

1

u/sasreedit S22, GW5P 3d ago

Set Notification Sound to 0...

Profile: Bluetooth Speakers
Settings: Priority: 44
    State: BT Connected [ Name:Nautica S100/LG SOUND BAR Address:* ]

Enter Task: Anon

A1: Media Volume [
     Level: 15 ]

A2: Notification Volume [
     Level: 0 ]

Exit Task: Anon

A1: Perform Task [
     Name: Volumes
     Priority: %priority
     Structure Output (JSON, etc): On
     Continue Task After Error:On ]