Skip to content

feat: add global and session video audio mute controls - #1594

Open
AndyWangLYN wants to merge 1 commit into
anilbeesetti:mainfrom
AndyWangLYN:heyu_wang-global-audio-mute
Open

AndyWangLYN wants to merge 1 commit into
anilbeesetti:mainfrom
AndyWangLYN:heyu_wang-global-audio-mute

Conversation

@AndyWangLYN

Copy link
Copy Markdown

Summary

Following this feature request: #1549
This PR adds two mute capabilities for video playback while preserving existing per-file audio preferences:

Global mute (persistent):
New audio setting: Mute all video audio.
Applies to all videos until the user turns it off.
Session mute (temporary):
New player toggle: Mute for this session (in playback speed overlay).
Applies only for the current player session.
Keeps per-file audio selection behavior intact.

Why

Users who watch familiar videos while listening to external music can now mute all video audio quickly without manually disabling tracks for each file. As in feature request: #1549

Implementation Notes

  • Added muteAllVideosAudio to PlayerPreferences.

  • Added new settings UI + event handling in Audio preferences.

  • Added player session commands for get/set session mute.

  • Player service now applies effective mute policy: globalMute || sessionMute.

  • Per-file track selections remain intact (no removal of existing per-item audio track behavior).

@Cr8zyIvan

Copy link
Copy Markdown

I second this Feature Request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants