mpv-player / mpv-player/mpv

Keyboard shortcut next and previous secondary subtitle file

Open Beginner friendly
#17,693 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

For the normal subtitles, these shortcuts exist:

  • Next subtitle file J
  • Previous subtitle file Shift+J

But for the secondary subtitles, there are not yet keyboard shortcuts to go to the next and previous subtitle file.

The keys left and right of J on the keyboard are not yet used. I would like to propose:

  • Next secondary subtitle file K
  • Previous secondary subtitle file Shift+K

or alternatively:

  • Next secondary subtitle file H
  • Previous secondary subtitle file Shift+H

Implementing this will help people that use the keyboard and use dual subtitles.

Alternative behavior of the wanted feature

This is currently not implemented. Note that other keyboard shortcuts related to subtitles do support a version for primary and secondary subtitles such as:

  • G-S and G-Shift+S on subtitle selection (visibility)
  • V and Alt+V on subtitle visibility (selection)

Implementing this is a trivial change, however documentation also needs to be updated.

Log File

No response

Sample Files

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing J and Shift+J subtitle-file keyboard bindings and the documentation for subtitle shortcuts. Add matching next/previous bindings for secondary subtitles using the chosen key pair, update the related documentation, and verify both primary and secondary subtitle navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.