Logo
Explore Help
Sign In
laurent/nabarr
1
0
Fork 0
You've already forked nabarr
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
719528a06b6f64fbe88508959e1f0f0e2c30e855
nabarr/media/tmdb/struct.go

14 lines
206 B
Go
Raw Normal View History

feat: enrich RSS items without IDs via TMDB title search 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
package tmdb
type movieSearchResponse struct {
Results []struct {
Id int `json:"id"`
} `json:"results"`
}
type tvSearchResponse struct {
Results []struct {
Id int `json:"id"`
} `json:"results"`
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 89ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API