330236735d3876000d5e1f37f59b48e2c3f8acaa
MKV docs can now import .srt/.ssa/.ass subtitle files, written as S_TEXT/UTF8 by MP42MkvRemuxer (submodule bump). Video/audio adds and other subtitle formats stay refused by both sides. - DocumentWindowController: split selectFile: validation so MKV docs get an Import panel restricted to matroskaSubtitleExtensions (kept in sync with the remuxer's gate); showImportSheet routes MKV docs to importSubtitleTracksForMatroska, which imports each file with a plain MP42FileImporter (no track-selection sheet), attaches the conversion-settings defaults addTrack: asserts on, and assigns the next display trackId. Drag-drop already funnels through showImportSheet. didSelect skips organizeAlternateGroups/inferMediaCharacteristics on MKV docs — same TrackEntry-pairing protection as delete. - Document: the tagsChanged check already caught additions; the post-remux snapshot now appends the added tracks behind the kept ones, matching the TrackEntry order in the written file, so a later tags-only save pairs correctly instead of double-appending. - ScriptCommand: the AppleScript "save as" command called mp4.write(to:) directly, which muxed a QuickTime MP4 over a Matroska document. Route isMatroska documents through Document.save(saveAsOperation) so writeMatroska picks the tag-writer/remux path and enforces the mkv destination. Verified with the /tmp/subler-mkv-test harness (matrix PASS=276: add srt/ass, add+drop mix, no-cues source, bad-file and drop-all refusals, idempotent re-save, post-add tag edit) and against the live app (scripted import + save on a fixture copy; output checked with mkvmerge/mkvextract/ffmpeg and reopened cleanly). Co-Authored-By: Claude Code <noreply@anthropic.com>
README
What is this repository for?
Subler is an Mac OS X app created to mux and tag mp4 files. The main features includes:
- Creation of tx3g subtitles tracks, compatible with all Apple's devices (iPod, AppleTV, iPhone, QuickTime?).
- Mux video, audio, chapters, subtitles and closed captions tracks from mov, mp4 and mkv.
- Raw formats: H.264 Elementary streams (.h264, .264), AAC (.aac), AC3 (.ac3), Scenarist (.scc), VobSub? (.idx).
- metadata editing and TMDb, TVDB and iTunes Store support.
Build and run
Clone the repository and include all submodules
git clone --recurse-submodules https://github.com/SublerApp/Subler.git
If you already cloned without submodules and need to add the submodules manually, cd into the ./Subler directory and clone the dependency submodules with
git submodule update --init --recursive
Open Subler.xcodeproj in XCode
Build and run the project by selecting the 'Subler' scheme (Product -> Scheme -> Subler) and clicking the 'Run' button in Xcode’s toolbar.
Description
This is a fork of Subler 1.9.5. I have added full support for the editing of MKV tags (where allowed; MKV is restrictive on allowed tags), and fixed a number of bugs and filename parsing annoyances.
10 MiB
0 Stars
1 Watchers
0 Forks
Languages
Swift
92.4%
Perl
4.7%
Shell
1.7%
Objective-C
0.6%
Rich Text Format
0.6%