From 6f71569149608c6555d82c9f9069d959256affff Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Thu, 28 Apr 2022 09:00:44 -0500 Subject: [PATCH] docs(sonarr): Command line reference for `--list-release-profiles` --- wiki/Command-Line-Reference.md | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/wiki/Command-Line-Reference.md b/wiki/Command-Line-Reference.md index 3fd77b6c..bd867d89 100644 --- a/wiki/Command-Line-Reference.md +++ b/wiki/Command-Line-Reference.md @@ -90,3 +90,40 @@ Bluray-2160p Remux 204.4 400 By default, Info, Warning and Error log levels are displayed in the console. This option enables Debug level logs to be displayed. This is designed for debugging and development purposes and generally will be too noisy for normal program usage. + +## Sonarr + +### `--list-release-profiles` + +Prints a list of all [available Sonarr Release Profiles][sonarrjson] from the TRaSH Guides in YAML +format, ready to be copied & pasted directly into your `trash.yml` file. Here is an example of the +output you will see: + +```txt +./trash sonarr --list-release-profiles + +List of Release Profiles in the TRaSH Guides: + + - EBC725268D687D588A20CBC5F97E538B # Low Quality Groups + - 76e060895c5b8a765c310933da0a5357 # Optionals + - 71899E6C303A07AF0E4746EFF9873532 # P2P Groups + Repack/Proper + - 1B018E0C53EC825085DD911102E2CA36 # Release Sources (Streaming Service) + - d428eda85af1df8904b4bbe4fc2f537c # Anime - First release profile + - 6cd9e10bb5bb4c63d2d7cd3279924c7b # Anime - Second release profile + +The above Release Profiles are in YAML format and ready to be copied & pasted under the `trash_ids:` property. +``` + +You can copy & paste these directly into your `trash.yml` like this: + +```yml +sonarr: + - base_url: http://127.0.0.1:8989/sonarr + api_key: 2424b3643507485ea2e06382d3f0b8a3 + release_profiles: + - trash_ids: + - d428eda85af1df8904b4bbe4fc2f537c # Anime - First release profile + - 6cd9e10bb5bb4c63d2d7cd3279924c7b # Anime - Second release profile +``` + +[sonarrjson]: https://github.com/TRaSH-/Guides/tree/master/docs/json/sonarr