addRelease method
Handler for release.
Adds a previously searched release to the download client, if the release is still in Sonarr's search cache (30 minute cache). If the release is not found in the cache Sonarr will return a 404.
useVersion3is required to push season releases.
Required Parameters:
guid: Release GUIDindexerId: Indentifier for the indexer
Optional Parameters:
useVersion3: Push the release using Sonarr v3's route.
Implementation
Future<SonarrAddedRelease> addRelease({
required String guid,
required int indexerId,
bool useVersion3 = false,
}) async => _commandAddRelease(
_client,
guid: guid,
indexerId: indexerId,
useVersion3: useVersion3,
);