henrichg / PhoneProfilesPlus

Profile manager for Android - event triggered
Apache License 2.0
423 stars 32 forks source link

Media volume should remain unchanged if playing media even when profiles switch #96

Closed auto-generate closed 1 year ago

auto-generate commented 1 year ago

Scenario: I have a daytime and nighttime profile and they set the ringer/notification/media volumes. If I'm playing media, then that should mean the media volume is at the correct level. When the time for daytime or nighttime profile comes it will change the media volume making it too loud or too soft.

Request: To have the option for media volume only, to keep the volume unchanged if media is currently playing. This is not required for ringer/notification or other volume.

henrichg commented 1 year ago

Implemented. If you want, install and test this beta version: https://drive.google.com/file/d/1CR4y2u3V8PCwQK9sw1P88JrlpSdA2Ou4/view?usp=drivesdk

auto-generate commented 1 year ago

Thank you, that was quick! I tested it and it works properly. Manual profile switching when nothing is playing updates all the volume and when media is playing the media volume stays the same while the other volumes change. Also tested time and wifi sensor triggering the profile and it works as well. Have a beer/coffee on me!

henrichg commented 1 year ago

Good. :-)