Just a small script to pack the subtitle files (.srt) of a series into Matroska containers (.mks) so that they are perfectly tagged and available for further use.
Go to file
2024-02-22 17:01:17 +01:00
.gitignore Initial commit 2024-02-22 17:01:17 +01:00
LICENSE Initial commit 2024-02-22 17:01:17 +01:00
README.md Initial commit 2024-02-22 17:01:17 +01:00
series-srts-to-mks.py Initial commit 2024-02-22 17:01:17 +01:00

Series-SRTs-To-MKS

Just a small script to pack the subtitle files (.srt) of a series into Matroska containers (.mks) so that they are perfectly tagged and available for further use. Just a small script to pack the subtitle files (.srt) of a series into Matroska containers (.mks) so that they are perfectly tagged and available for further use. The script is somewhat rudimentary, but can certainly save a lot of work.

Dependencies

Prerequisites

Make sure that the folder structure of your subtitle files corresponds to the following example and that the script is located in the root directory:

Series XY
├── create_mks_files.py
└── Staffel 1
    ├── E01
    │   ├── English Forced.srt
    │   ├── English Full.srt
    │   ├── German Forced.srt
    │   └── German Full.srt
    ├── E02
    │   ├── English Full.srt
    │   └── German Full.srt
    └── E03
        ├── English Full.srt
        ├── German Forced.srt
        └── German Full.srt

Usage

python series-srts-to-mks.py

Result

After the script has run, there is a folder called "__mks__" in each season folder, which contains the finished Matroska containers.

Series XY
├── create_mks_files.py
└── Staffel 1
    ├── E01
    │   ├── English Forced.srt
    │   ├── English Full.srt
    │   ├── German Forced.srt
    │   └── German Full.srt
    ├── E02
    │   ├── English Full.srt
    │   └── German Full.srt
    ├── E03
    |   ├── English Full.srt
    |   ├── German Forced.srt
    |   └── German Full.srt
    └── __mks__
        ├── S01E01.mks
        ├── S01E02.mks
        └── S01E03.mks