sonarr_purge_season
Purge a season by deleting its episode files in Sonarr and removing matching torrents in qBittorrent (including cross-seeds). Use confirm to execute or dry-run.
Instructions
Purge a whole season everywhere: delete its episode files in Sonarr AND remove the matching torrent(s) in qBittorrent-via-qui, cross-seeds included (destructive).
The torrents are located via the season's history downloadId(s) and their qui cross-seed siblings. include_loose_matches=False drops name/release-matched siblings (keeps content_path matches). delete_torrent_files also deletes the torrents' files from disk. Set confirm=True to execute; False for a dry-run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| series_id | Yes | ||
| season_number | Yes | ||
| delete_torrent_files | No | ||
| include_loose_matches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |