Commit Graph
30 Commits
Author SHA1 Message Date
Scott GarrettandClaude Code 13255140e9 Rank metadata search results and honor filename IDs on tagged files
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>
2026-11-29 23:01:43 -05:00
Brett Pynn 85854a2f06 Add preference to allow 4k hd video metadata auto detection (#164) 2026-10-05 07:57:25 +02:00
Damiano Galassi ce011a4d37 Cleanup the Save As destination feature a bit 2026-09-23 21:29:18 +02:00
mindprint c8fb950854 Add a Save As location preference (#145)
Add a General preferences option controlling where the Save As panel
opens: the last used folder (default), the same folder as the
imported file, or a custom folder chosen by the user.
2026-09-23 21:15:08 +02:00
arnnalddo fd08aeb766 Make some strings localizable 2024-07-03 11:21:58 +02:00
Damiano Galassi fbc464e643 Rework the preference to avoid stringly typed properties. 2020-02-07 15:31:10 +01:00
Damiano Galassi 2694bdee45 Improve MediaKind usage. 2020-02-04 17:54:08 +01:00
Damiano Galassi 4f2da7ba58 Do not set the hd video tag if the movie is 4k. 2019-11-13 13:44:43 +01:00
Damiano Galassi 942afa630a Do not set the 4k tag automatically. 2019-11-09 10:55:25 +01:00
Damiano Galassi 8cbbfc41d4 4k tag. 2019-10-25 09:08:11 +02:00
Damiano Galassi 79c73c33f6 Avoid using a regex to get the channels count. 2019-04-22 10:01:31 +02:00
Damiano Galassi 797b40e327 Do not set the hd tag to 4k video. 2019-03-16 12:02:21 +01:00
Damiano Galassi 85494f3c57 Fix more queue regressions, use applescript to add files to iTunes. 2019-01-31 12:34:41 +01:00
Damiano Galassi 5725b0f830 Convert to Swift 5, convert QueueController to Swift. 2019-01-27 11:46:31 +01:00
Damiano Galassi e29abf03bb Improve file name parsing fallback. 2018-10-22 10:32:24 +02:00
Damiano Galassi 983151aeeb Import MP42Foundation. 2018-05-02 13:06:16 +02:00
Damiano Galassi 870b5b0f7f Add a way to format the release date. 2018-03-12 12:28:13 +01:00
Damiano Galassi 85cca4cc0a Import old filename format settings. 2018-03-06 18:40:17 +01:00
Damiano Galassi 2265bbc1d7 Add more formatting options to the file output name prefs. 2018-03-06 17:38:37 +01:00
Damiano Galassi 160449af18 Add a media type enum. 2018-02-11 15:34:59 +01:00
Damiano Galassi 3cc367a00d Convert SBDocument to swift. 2018-02-10 14:53:39 +01:00
Damiano Galassi 94f5f85124 Refactor the document window controller and the prefs controller. Some regression still in there. 2018-02-08 17:50:39 +01:00
Damiano Galassi f093013a8c Add a nice filename prefs icon, and rename some labels. 2017-12-11 15:25:10 +01:00
Damiano Galassi 89f7c558e0 Replace : and / correctly. 2017-12-11 12:24:48 +01:00
Damiano Galassi 477ffe293a Add SBQueueSetOutputFilenameAction action. 2017-12-06 14:20:41 +01:00
Damiano Galassi aa7308d052 Working file name format. 2017-12-01 13:51:20 +01:00
Damiano Galassi 170146391c Use the metadata as search terms only if the media kind is set. 2017-11-12 14:43:20 +01:00
Damiano Galassi 022a9b893a Rework the firstSourceURL method. 2017-10-09 17:05:52 +02:00
Damiano Galassi 32eba2590c Remove isHdVideo in MP42Utilites, cleanup some switch cases. 2017-10-09 15:00:31 +02:00
Damiano Galassi ecc0568c3e Refactor the code that extract the search terms. 2017-10-09 14:30:19 +02:00