Skip to content

Conversation

@0b01
Copy link

@0b01 0b01 commented Jan 25, 2026

Save manually added external subtitle files (via sub-add or drag-and-drop) to watch-later configuration so they are restored when reopening the file.

  • Handle sub-files specially to write external subtitle paths
  • Skip auto-loaded subtitles (from sub-auto) as they'll reload automatically
  • Deduplicate watch-later-options before writing to handle -add on defaults

Read this before you submit this pull request:
https://github.com/mpv-player/mpv/blob/master/DOCS/contribute.md

Reading this link and following the rules will get your pull request reviewed
and merged faster. Nobody wants lazy pull requests.

Save manually added external subtitle files (via sub-add or drag-and-drop)
to watch-later configuration so they are restored when reopening the file.

- Add sub-files to the default watch-later-options list
- Handle sub-files specially to write external subtitle paths
- Skip auto-loaded subtitles (from sub-auto) as they'll reload automatically
- Deduplicate watch-later-options before writing to handle -add on defaults
@CounterPillow
Copy link
Contributor

Why open a new PR? You can rewrite git history on your other one.

Dude, how do you not know how to use your own product?

@0b01
Copy link
Author

0b01 commented Jan 25, 2026

I was made abundantly clear that the original PR is not up to mark. I have sorted out my changes and opened this PR with a clean commit history with the hope of getting it merged.

@Dudemanguy
Copy link
Member

The sub-files-add/sub-files-append behavior is because that's a special option that purposely doesn't resolve. But that could be changed. I'm not sure how I feel about special casing external files that are dragged and dropped. That feels a bit wrong here.

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.

3 participants