PRODUCT_NAME becomes SublerMKV (the interpolated bundle id follows to
org.galad.SublerMKV) and all Application Support data moves to its own
SublerMKV/ folder with the queue renamed queue.sbmkvqueue, so fork builds
and an installed upstream Subler.app never share prefs, files, or a
LaunchServices registration.
PRODUCT_MODULE_NAME stays pinned to "Subler" deliberately: XIB bindings
reference Swift classes module-qualified (Subler.LanguageTransformer), and
letting the module follow the product made the queue-options nib throw
"cannot find value transformer" mid-binding-load, freezing every checkbox
and popup in that window at XIB design state.
Queue.saveToDisk now creates its parent folder before the atomic write;
the write error is swallowed, so on a fresh install the queue would
otherwise silently never persist.
Co-Authored-By: Claude Code <noreply@anthropic.com>
A "Build sup2vob CLI" run-script phase on the Subler target runs the
submodule's Makefile (incremental — a no-op unless the conversion
sources changed) and installs the product to Contents/MacOS/sup2vob.
Every Subler build refreshes the CLI; a terminal sup2vob can be a
symlink into the bundle instead of a copied `make install`.
extractsubs finds that bundle-internal sup2vob automatically: PATH
first, then the script's own ../MacOS/sup2vob sibling, so running the
copy inside Subler.app/Contents/Resources works with no install at all
(verified with sup2vob absent from PATH: same 1920x1080 .sub/.idx).
The phase walks the source tree, so it opts the Subler target out of
ENABLE_USER_SCRIPT_SANDBOXING — a build-time shell-script file-access
setting only, no effect on the app's runtime security posture.
Co-Authored-By: Claude Code <noreply@anthropic.com>
extractsubs pulls the subtitle tracks out of mkv/mp4 files with ffmpeg
stream copy — .srt/.ass/.ssa/.vtt text, .sup for PGS (then converted to
.sub/.idx with sup2vob --full) — defaulting to English tracks, --all for
every language. Output names follow the shape the app's importers probe
(<input>.<track>[.<type>].<lang>.<ext>), so extracted files drag back
into Subler already named and tagged.
The script lives in Utilities/ beside ParseFilename and is copied into
the app bundle's Resources by the build (like ParseFilename, but nothing
in the app invokes it — it's for terminal use). Dependencies are checked
up front (ffprobe/ffmpeg/sup2vob on PATH; mkvtoolnix plus python3 only
for the S_TEXT/WEBVTT rescue path).
Co-Authored-By: Claude Code <noreply@anthropic.com>
A standalone fork must not pull its updates from subler.org's appcast:
the feed serves upstream builds signed with the upstream Ed key, so the
whole integration goes — the Check for Updates menu item and the
SPUStandardUpdaterController, the SUFeedURL/SUAllowsAutomaticUpdates/
SUPublicEDKey Info.plist entries, their six localized titles, and the
Sparkle SPM package reference. The app now has no package dependencies.
Also captures the Xcode 27.2 settings migration (deployment target now
$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET), so plain xcodebuild works with
no CLI override — verified with a clean build), the 1.9.5mkv marketing
version, and the matching MP42Foundation submodule bump. README and
CLAUDE.md lose the now-stale Sparkle and 10.13 notes.
Co-Authored-By: Claude Code <noreply@anthropic.com>