18 Commits

Author SHA1 Message Date
dev
da86a1d419 feat: fallback to TMDB external_ids when Trakt rejects tmdbId
All checks were successful
Docker / docker (push) Successful in 1m49s
When Trakt returns a non-404 error (e.g. 403) for a tmdbId lookup,
fetch the imdbId from TMDB's /external_ids endpoint and retry the
Trakt call using the imdbId. Trakt often knows a movie/show by its
imdbId even when it does not recognise the tmdbId.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 18:44:56 +00:00
dev
719528a06b feat: enrich RSS items without IDs via TMDB title search
Some checks failed
Build / build (push) Failing after 13m30s
Items from RSS feeds that have no media ID (tmdb/imdb/tvdb) are now
enriched automatically using TMDB's search API. The release name is
parsed to extract a clean title and year, then searched against TMDB
to retrieve the TMDB ID before validation.

- Add media/tmdb package with SearchMovies, SearchShows, and
  ExtractTitleAndYear (parses torrent release names)
- Add EnrichFeedItemWithTmdbId to media.Client, called in rss/process.go
  before the ID validation switch
- Add --run-now flag to nabarr run to trigger all feeds immediately
- Wire media.Client through rss.Client and rssJob
- Merge feature/add-tag-option (tag support for Sonarr/Radarr)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 16:53:54 +00:00
l3uddz
79507adb4a feat: respect pvr exclusions (#37) 2022-04-14 16:18:06 +01:00
l3uddz
19a5e73c19 refactor: imports 2022-04-01 20:42:05 +01:00
l3uddz
a4d8a0e4cc fix(rss): improve dispatching of tmdb items to appropriate pvr's (#33) 2021-11-21 13:24:13 +00:00
l3uddz
0a0f300536 omdb: make Rated accessible via filters
Closes #28
2021-09-18 09:56:42 +01:00
l3uddz
5091d78acf misc: rss and media changes (#27)
* refactor: tweak rss processing

* media: override trakt network with tvdb network if trakts is empty

* media: dont merge tvdb language with trakt language

* media: resolve issue with imdb ids
2021-03-05 22:35:16 +00:00
James Bayliss
bf23d93209 media: merge tvdb and trakt languages 2021-02-24 18:57:39 +00:00
James Bayliss
f0bf97293c omdb: strip non numeric from ImdbVotes
Closes #24
2021-02-23 18:55:16 +00:00
l3uddz
10a70f1da2 media: support rss movie items with tmdb ids (#22) 2021-02-21 22:30:56 +00:00
l3uddz
db9fdc97a2 refactor: http retry for retryable errors (#20) 2021-02-21 14:01:21 +00:00
James Bayliss
c2b98de737 refactor(media/tvdb): update log message 2021-02-19 23:33:33 +00:00
l3uddz
e5bcb5b381 media: add support for legacy tvdb api (#16) 2021-02-19 23:31:23 +00:00
l3uddz
e1945cf714 refactor: add cache tests and remove cache merge task (#14) 2021-02-19 19:15:38 +00:00
l3uddz
54cfd68810 media: add Language and Country to Omdb struct (#13) 2021-02-17 22:48:36 +00:00
James Bayliss
495c5a5c1a media: add ImdbVotes field to Omdb struct 2021-02-15 20:06:42 +00:00
James Bayliss
aadc5ece4f trakt: strip non alphanumeric characters from imdb id 2021-02-15 19:17:32 +00:00
l3uddz
ce3807b819 initial code (#6)
* initial code commit
2021-02-14 16:18:26 +00:00