Skip to content

Feature request: Ask to load linked video when importing subtitles #178

@RcUchiha

Description

@RcUchiha

Hello, @trin94.

Would it be possible that, when importing a subtitle file, a dialog pops up asking whether to load the associated video?

Image

The idea is that mpvQC reads the video filename/path from the subtitle metadata, checks whether that file exists, and—if it does—shows a confirmation dialog to load it. If the associated video isn’t found (or the path can’t be resolved), the dialog shouldn’t appear and nothing else should happen. This streamlines the workflow when importing subtitles, so you don’t have to manually locate/open the video afterward.

Currently, the “Open video if found” option under Import settings… works when there’s already a saved QC document (great for resuming work), but what about when you’re just about to start a QC?

I’m proposing the same behavior at the moment of importing subtitles: if the file includes a video reference (filename or path) and the file is present, mpvQC should ask whether to load it. What used to be two steps becomes one.

I’ve attached a video and sample code below, in case it helps:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions