-
Notifications
You must be signed in to change notification settings - Fork 217
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
Allow @
keyind to be used (mpv Next Chapter)
#705
base: master
Are you sure you want to change the base?
Conversation
Thanks for this contribution. I use mpv, but I don't use the instant chat feature. It wold be nice to hear from at least one other person who would be impacted by this change about what they think the expected/ideal behaviour is. |
Of course. |
According to https://syncplay.pl/guide/client/ "In some cases when in the ‘instant chat’ mode you might actually want to trigger one of the keys from the alphabet rows, such as Control+T to set set 'stay on top' to Yesand Control+Shift+T to set it to No. To do this you first have to press ‘Tab’ to enter into the ‘Alphabet rows temporarily behave as normal’ mode. You press tab again to exit that mode." Pressing tab is also mentioned in the tooltip for the option within the configuration and within mpv input screen when the feature is enabled. It also tells you within mpv to press tab to let you know you have temporarily disabled it and to press tab again to return to instant chat mode. |
Reading might not be my strong suit. |
Before coming to a decision I'll ask some people listed in the Syncplay change logs as contributing to our mpv support in the past two years to give them an opportunity to share their perspective if they wish to do so: @mbalandis @notpeelz @soredake @ahmubashshir @ducreyna @hunbernd @Abu-AM |
I personally don't use neither '@' to skip chapters nor the chat feature (very rarely use it) so it wouldn't affect me (probably) however I can't speak for others... and there is a small risk imho. I think the best practice is to add an option in settings (use '@' for mpv to skip chapters). Should be relatively simple instead of just hardcoding it like in this PR. Again... might be fine as it is but this is how as a dev would do it. |
Thanks for sharing your usage and perspective. The option you suggest is valid, and I see a pro and a con to that approach:
So far we've had nobody say they actually start with an @. Maybe someone does it if they are using it to identify someone, or maybe someone in a channel has the name @. So there might be a use case where people want it, but there might not be. It is the case that:
As such, this could be a corner case which exists theoretically but not in practice, and the one person who does use it could just manually change the file to add back the removed keybinding (or see the change in the changelog and request we make the modification optional). |
This allows the default keybind for Next Chapter in mpv to be used when the option to automatically chat is enabled.