Lookup
Looks up a TV show from Sonarr by file path and retrieves its metadata.
If found, the following variables will be set:
| Variable | Description | Type | Example |
|---|---|---|---|
Series.Title | The TV show title | string | Dexter |
Series.Id | The Sonarr series ID | number | 42 |
Series.Year | The year the show aired | number | 2006 |
Sonarr.seriesId | The Sonarr series ID | number | 42 |
OriginalLanguage | The ISO 639-2 language code | string | eng |
tvepisode.Title | The episode title | string | Crocodile |
tvepisode.Season | The season number | number | 1 |
tvepisode.Episode | The episode number | number | 2 |
tvepisode.AirDate | The air date | date | 2006-10-12 |
tvepisode.Overview | The episode overview | string | Dexter tries to kill... |
File Path
The full file path to lookup in Sonarr (if empty, the original library file will be used)
Server Tab
These options override the plugin settings for this flow element.
Server
The URL of the Sonarr server. Only set this to override the plugin settings server, for example to use a different Sonarr instance.
Leave empty to use the plugin settings.
API Key
The API key for the Sonarr server. Only set this to override the plugin settings API key.
Leave empty to use the plugin settings.
Mappings
Path mappings (key = physical download path, value = Sonarr expected path).
These are only used if Server is also set on this flow element, otherwise the plugin settings mappings are used.
Server and API Key support variables, for example {SonarrUrl}, so a single flow can use a different Sonarr instance per library.
Outputs
- TV Show found
- TV Show NOT found