17 Commits
Author SHA1 Message Date
Scott GarrettandClaude Code f20ad7ee45 Search metadata directly from IDs embedded in file names
ParseFilename's movie-IMDB pattern now recognizes parenthesized years and
brace-wrapped service IDs, so names like "Movie (2024) {tmdb-1015812}" no
longer truncate to "Movie (2024) {tmdb". The ID kind is captured (imdb,
tmdb, tvdb, tt; IDs widened to 7-9 digits for modern IMDb IDs) and
emitted as an "id:<kind>:<value>" line.

Parsed IDs ride along in MetadataSearchTerms.movie as a MetadataFileID.
TheMovieDB answers direct lookups (movie/{id} for TMDb IDs, find +
external_source=imdb_id for IMDb IDs) as a movieIDSearch; the search
sheet, the queue metadata action, and the AppleScript fetch-metadata
command try the direct lookup first and fall back to the title search
when the ID is unknown or the provider doesn't support it. Index-based
AppleScript result commands keep the name search by design.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-28 13:10:25 -05:00
Damiano Galassi 2b8a1ac11d Use a swift standard library method to split strings. 2020-02-04 12:35:31 +01:00
Damiano Galassi e29abf03bb Improve file name parsing fallback. 2018-10-22 10:32:24 +02:00
Damiano Galassi be122c0b47 Update the iTunes Store scraper. 2018-08-16 14:18:04 +02:00
Damiano Galassi 2f64ac7a22 Remember recent destinations in queue options. 2018-03-16 18:11:21 +01:00
Damiano Galassi 160449af18 Add a media type enum. 2018-02-11 15:34:59 +01: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
Damiano Galassi 27148ccdde Cosmetics. 2017-08-09 13:35:59 +02:00
Damiano Galassi 422e1c9853 Convert SBMetadataResult to Swift. 2017-08-09 09:27:43 +02:00
Damiano Galassi 427614c3e0 Fix ParseFilename not working after the swift rewrite. 2017-08-07 10:41:12 +02:00
Damiano Galassi b10c99ba58 Remember the preferred artwork type in the ArtworkSelectorController 2017-08-06 20:24:20 +02:00
Damiano Galassi 320d9cdd81 Partial rewrite of SBMetadataSearchController in Swift. 2017-08-04 17:02:08 +02:00
Damiano Galassi 0f4410499e Cosmetics 2017-08-04 11:15:05 +02:00
Damiano Galassi 447d822058 Cosmetics. 2017-08-01 20:16:11 +02:00
Damiano Galassi 1d3620331b Synchronise the cancelled var. 2017-08-01 12:27:23 +02:00
Damiano Galassi 23f626be9f Migrate the chapter importer to Swift. 2017-07-31 17:52:08 +02:00