Commit Graph
13 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 a368ad473e Use the right episode number to fetch TheMovieDB episodes images. 2019-11-25 09:33:01 +01:00
Damiano Galassi f002ec6b58 Avoid requesting a too large number of results from TheMovieDB. 2019-03-16 12:02:48 +01:00
Damiano Galassi d3907a7882 Download all the themoviedb results, add a rather crude retry-after implementation. 2018-08-16 17:40:04 +02:00
Damiano Galassi 5e58a9f03b Do not parse vote_average and vote_count in themoviedb json response. 2018-06-28 15:55:11 +02:00
Damiano Galassi 4208ac312a Get the squared tv artwork in tmdb too. 2017-11-28 11:08:57 +01:00
Damiano Galassi 320d9cdd81 Partial rewrite of SBMetadataSearchController in Swift. 2017-08-04 17:02:08 +02:00
Damiano Galassi 23f626be9f Migrate the chapter importer to Swift. 2017-07-31 17:52:08 +02:00
Damiano Galassi 505fe4cb51 Some Swift experiment with the metadata importers. 2017-07-27 20:50:26 +02:00
Damiano Galassi 44fd52451e Fix single episode search. 2017-06-30 15:54:15 +02:00
Damiano Galassi 84de4b6d65 Expand TheMovieDB importer to make it work with tv shows too. 2017-06-30 15:47:19 +02:00
Damiano Galassi c654526d91 OCD 2017-06-27 19:06:29 +02:00
Damiano Galassi 31f4098af4 Convert the TheMovieDB metadata importer to swift. 2017-06-27 19:00:25 +02:00