-
-
Notifications
You must be signed in to change notification settings - Fork 290
Prevent Media Session Handling on MPV #1212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| isHidden: | ||
| !isElectron() || | ||
| (enableWindowsMediaSession && isWindows && playbackType === PlaybackType.WEB), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally not in favor of hiding it.
Users who are already using MPV may never know that this option is available if it is hidden. Disabling is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then should we change the globalMediaHotkeys too, only disable but not hidden for Web users?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I'm slow but why would MPV users need to see/know about this option when they are already getting the same functionality anyway? They're not missing out on anything not seeing it 🤔
Or am I misunderstanding the PR description?
MPV have its own integration of SMTC, and hence currently behavior of feishin is that the media session option would do nothing additive but disables global hotkeys for MPV.
In according to:
This PR does the following: