mpv-player / mpv-player/mpv

Make sub-file-paths work with fuzzy or exact (or both) & make them load extra file names.

Open
#4,778 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I also would like to ask if it were to be possible to make a whitelist of files they can also search
e.g; sub-file-extras=english.srt,spanish.srt,russian.txt,french.txt,*.txt

I understand that ALL is a thing, but whenever it meets with multiple files it just loads all of them and it becomes a mess, specially if the folders are not organized or if you are running a series and have to download subs for them, it just auto-loads everything, which is bad, I feel like this way it will be much better organized and will help people who also want to use .txt as subs.

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 tracing the existing sub-file-paths handling and the behavior of the ALL option in the subtitle file-loading path. Define how exact names, fuzzy matches, and wildcard patterns should interact, then verify that only the requested subtitle files load when multiple files are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.