sub-file-paths order
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
So I have 25 episodes of anime and 2 folders with 25 .ass files in each, "sr" and "ziggy" (with the same names as MKVs, but .ass).
I start mpv with mpv *.mkv --sub-file-paths=ziggy:sr and expect all "ziggy" subtitles to have smaller id than "sr" subtitles and be chosen by default. But it seems that subtitles are always sorted alphabetically and "sr/NAME.ass" are always added before "ziggy/NAME.ass".
Is there any way to change this behaviour? (Besides renaming subtitle directories)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command with mpv *.mkv --sub-file-paths=ziggy:sr, then trace the --sub-file-paths handling and subtitle ordering. Determine whether the requested directory priority is supported or needs a change; done means the ordering is controllable as requested or the behavior is clearly documented.
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
- Mostly clear
- Newbie friendliness
- 35/100