extractSearchTerms dropped a filename's {tmdb-…} ID whenever the movie was
already tagged (name+release-date+media-kind present), returning a bare title
and ignoring the embedded ID — so a search on a tagged or previously-searched
file came back as a fuzzy title list. That branch now also parses the filename,
so the direct ID lookup fires regardless of prior tagging.
Also rank movie title-search results so exact title matches sort to the top of
the fuzzy provider list, and recover the release year from the filename
(ParseFilename strips it from the title without reporting it) to pick the
default entry: exact+year, then exact, then year-only, then the provider's own
order (a stable sort, so relevance survives within each band). Applied in the
search sheet, the queue metadata action, and both AppleScript commands with
identical ranking so scripted indexes stay aligned; the sheet now highlights
the default pick. Bracketed years win over bare dot/space years so
resolutions like .1920.1080p don't win.
Bump the fork version to 1.9.5mkv2.
Co-Authored-By: Claude Code <noreply@anthropic.com>
The trailing counter in MARKETING_VERSION/CURRENT_PROJECT_VERSION now
counts batches of fork changes over a fixed upstream base (1.9.5), so
fork builds are distinguishable without pretending upstream released
it. Increment the counter with each committed batch; restart at 1 when
upstream's base version moves.
Co-Authored-By: Claude Code <noreply@anthropic.com>
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>