Skip to content

Close support subtitle visibility, #4235 #4237

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

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Close support subtitle visibility, #4235 #4237

merged 3 commits into from
Jun 5, 2024

Conversation

low-batt
Copy link
Contributor

This commit will:

  • Add a Hide Subtitles/Show Subtitles item to the Subtitles menu
  • Add a Hide Second Subtitles/Show Second Subtitles item to the Subtitles menu
  • Add a key binding mapping v to cycle sub-visibility
  • Add a key binding mapping Alt-v to cycle secondary-sub-visibility
  • Add a new OSD message Subtitle Visibility: On/Off
  • Add a new OSD message Second Subtitle Visibility: On/Off
  • Add secondary-sub-visibility to watch-later-options
  • Add logging of watch-later-options

These changes add a graphical user interface for the mpv features that control subtitle visibility.


Description:

@low-batt low-batt linked an issue Feb 24, 2023 that may be closed by this pull request
@low-batt
Copy link
Contributor Author

See the issue for a screen shot of what the Subtitles menu looks like with the new items.

Missing is integration with the plugin API. Should this be exposed to plugins?

@svobs
Copy link
Contributor

svobs commented Feb 24, 2023

Instead of "Subtitle Visibility: On/Off", how about "Subtitles Visible" / "Subtitles Hidden"?

@low-batt
Copy link
Contributor Author

I think I was too focused on making the new OSD messages follow the patterns in the existing messages. I've updated the PR to use the suggested messages. I added screen shots of the new messages to the issue.

The other thing that is missing from the PR is support for the visibility feature in the SUBTITLES tab of the quick setting panel. Need to look into that.

@low-batt low-batt marked this pull request as draft May 14, 2023 02:16
@low-batt
Copy link
Contributor Author

I converted this to a draft as I am working on adding support to the SUBTITLES tab of the quick setting panel.

@low-batt low-batt marked this pull request as ready for review May 17, 2023 21:25
@low-batt
Copy link
Contributor Author

The latest changes rebase with develop and add two switches to the Quick Setting Panel in the SUBTITLES tab that are tied to the mpv subtitle visibility feature. See issue #4235 for screenshots of the changes.

This proposed implementation is in response to the issue #4235 which originated out of issue #4234. I missed that this has come up in the past in issue #2856 with a draft PR #3053. There was even discussion of the problem the mpv feature causes for people that accidentally trigger it.

@WowbaggersLiquidLunch, @unique-username313, the current proposed changes are not as expansive as had been proposed in the past. This PR just provides a GUI for the mpv feature. Critical review comments are welcome.

@low-batt
Copy link
Contributor Author

Rebased with develop and fixed merge conflicts.

@lhc70000 lhc70000 self-assigned this May 31, 2024
low-batt added 3 commits June 4, 2024 23:11
This commit will:
- Add a Hide Subtitles/Show Subtitles item to the Subtitles menu
- Add a Hide Second Subtitles/Show Second Subtitles item to the
  Subtitles menu
- Add a key binding mapping v to cycle sub-visibility
- Add a key binding mapping Alt-v to cycle secondary-sub-visibility
- Add a new OSD message Subtitle Visibility: On/Off
- Add a new OSD message Second Subtitle Visibility: On/Off
- Add secondary-sub-visibility to watch-later-options
- Add logging of watch-later-options

These changes add a graphical user interface for the mpv features that
control subtitle visibility.
This commit will:
- Add a Hide Subtitles/Show Subtitles item to the Subtitles menu
- Add a Hide Second Subtitles/Show Second Subtitles item to the
  Subtitles menu
- Add a key binding mapping v to cycle sub-visibility
- Add a key binding mapping Alt-v to cycle secondary-sub-visibility
- Add a new OSD messages Subtitles Hidden/Visible
- Add a new OSD messages Second Subtitles Hidden/Visible
- Add secondary-sub-visibility to watch-later-options
- Add logging of watch-later-options

These changes add a graphical user interface for the mpv features that
control subtitle visibility.
This commit will:
- Add a Hide Subtitles/Show Subtitles item to the Subtitles menu
- Add a Hide Second Subtitles/Show Second Subtitles item to the
  Subtitles menu
- Add buttons for controlling visibility of subtitles to the SUBTITLES
  tab of the Quick Settings Panel
- Add a key binding mapping v to cycle sub-visibility
- Add a key binding mapping Alt-v to cycle secondary-sub-visibility
- Add a new OSD messages Subtitles Hidden and Subtitles Visible
- Add a new OSD messages Second Subtitles Hidden and Second Subtitles
  Visible
- Add secondary-sub-visibility to watch-later-options
- Add logging of watch-later-options

These changes add a graphical user interface for the mpv features that
control subtitle visibility.
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.

Support subtitle visibility
3 participants