### Install Commitizen and Pre-commit Source: https://github.com/dark-alex-17/managarr/blob/main/CONTRIBUTING.md Installs the Commitizen tool and pre-commit prerequisite via pip. ```shell python3 -m pip install commitizen pre-commit ``` -------------------------------- ### Install Rust Toolchain Source: https://github.com/dark-alex-17/managarr/blob/main/CONTRIBUTING.md Installs the stable Rust toolchain including rustup, rustc, and cargo. ```shell curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` -------------------------------- ### Example Managarr Configuration File Source: https://github.com/dark-alex-17/managarr/blob/main/README.md This YAML configuration demonstrates how to set up Managarr with multiple instances of Radarr, Sonarr, and Lidarr. It includes examples for API tokens, SSL, environment variables, and custom headers. ```yaml theme: default radarr: - host: 192.168.0.78 port: 7878 api_token: someApiToken1234567890 ssl_cert_path: /path/to/radarr.crt # Use the specified SSL certificate to connect to this Servarr # Enables SSL regardless of the value of the 'ssl' # See the SSL Configuration section below for more information - host: 192.168.0.79 port: 7878 api_token: someApiToken1234567890 ssl: true # Use SSL to connect to this Servarr # This will assume that you have the SSL certificate installed to your system trust store # See the SSL Configuration section below for more information - uri: http://htpc.local/radarr # Example of using the 'uri' key instead of 'host' and 'port' api_token: someApiToken1234567890 sonarr: - host: 192.168.0.89 port: 8989 api_token_file: /root/.config/sonarr_api_token # Example of loading the API token from a file instead of hardcoding it in the configuration file - name: Anime Sonarr # An example of a custom name for a secondary Sonarr instance host: 192.168.1.89 port: 8989 api_token: someApiToken1234567890 lidarr: - host: 192.168.0.86 port: 8686 api_token: ${MY_LIDARR_API_TOKEN} # Example of configuring using environment variables monitored_storage_paths: # Filter which Root Folders or Disk Storage you want displayed in the UI's 'Stats' block # Note: Setting these values does not affect what shows up in the 'Root Folders' tab of the UI. - /nfs # An example disk (i.e. ' list disk-space' command) you want displayed in the UI under 'Storage:' - /media # An example root folder you want displayed in the UI # Root folders collapse up to the super-directory to reduce duplication in the UI. For example: # if you have root folders '/media/tv', '/media/cartoons' and '/media/reality', and you set this # monitored path, the UI will show '/media/[tv,cartoons,reality]' under Root Folders - host: 192.168.1.86 port: 8686 api_token: someApiToken1234567890 ssl_cert_path: /path/to/lidarr_1.crt custom_headers: # Example of adding custom headers to all requests to the Servarr instance traefik-auth-bypass-key: someBypassKey1234567890 SOME-OTHER-CUSTOM-HEADER: ${MY_CUSTOM_HEADER_VALUE} ``` -------------------------------- ### Install Binfmt for Act Source: https://github.com/dark-alex-17/managarr/blob/main/CONTRIBUTING.md Configures binfmt to allow Act to run different architectures locally. ```shell sudo docker run --rm --privileged tonistiigi/binfmt --install all ``` -------------------------------- ### Install Managarr via Nix Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Install Managarr on NixOS or spawn a temporary shell environment. ```shell nix-env --install managarr # Alternatively, for non-NixOS users, you can spawn a temporary shell with Managarr available like so: nix-shell -p managarr ``` -------------------------------- ### Example Multi-Instance Configuration for Managarr Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Demonstrates configuring multiple instances of Radarr and Sonarr, including custom names, weights for tab ordering, and SSL certificate paths. ```yaml theme: default radarr: - host: 192.168.0.78 # No name specified, so this instance's name will default to 'Radarr 1' port: 7878 api_token: someApiToken1234567890 ssl_cert_path: /path/to/radarr.crt - name: International Movies host: 192.168.0.79 port: 7878 api_token: someApiToken1234567890 sonarr: - name: Anime weight: 1 # This instance will be the first tab in the TUI uri: http://htpc.local/sonarr api_token: someApiToken1234567890 - name: TV Shows weight: 2 # This instance will be the second tab in the TUI host: 192.168.0.89 port: 8989 api_token: someApiToken1234567890 ``` -------------------------------- ### Install Servarr Certificate on Debian-based Systems Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Steps to install a Servarr certificate into the system's trust store on Debian-based systems using `ca-certificates`. ```shell sudo mv /path/to/your/servarr.pem /usr/local/share/ca-certificates/servarr.pem sudo update-ca-certificates ``` -------------------------------- ### Install Managarr via Homebrew Source: https://context7.com/dark-alex-17/managarr/llms.txt Install or upgrade Managarr on macOS or Linux using Homebrew. ```bash # Add the tap and install brew tap Dark-Alex-17/managarr brew install managarr # Upgrade to newer version brew upgrade managarr ``` -------------------------------- ### Install Managarr via Cargo Source: https://context7.com/dark-alex-17/managarr/llms.txt Use Cargo to install the application from crates.io, optionally using --locked for dependency consistency. ```bash # Install from crates.io cargo install managarr # If you encounter issues, try with --locked cargo install --locked managarr ``` -------------------------------- ### Apply Custom Theme via CLI Flag Source: https://github.com/dark-alex-17/managarr/blob/main/themes/README.md Example of activating a custom theme using the `--theme` command-line argument. This is useful for testing themes without modifying configuration files. ```shell managarr --theme my-theme ``` -------------------------------- ### Start Sonarr Task Source: https://context7.com/dark-alex-17/managarr/llms.txt Initiates a specific task within Sonarr. Requires the task name. ```bash managarr sonarr start-task --task-name RefreshSeries ``` -------------------------------- ### Start Managarr TUI Source: https://context7.com/dark-alex-17/managarr/llms.txt Starts the Managarr Text User Interface (TUI) with default settings, a specific theme, or a custom themes file. ```bash managarr ``` ```bash managarr --theme dracula ``` ```bash managarr --themes-file /path/to/my-themes.yml --theme my-custom-theme ``` ```bash managarr --servarr-name "Anime" ``` -------------------------------- ### Install and Upgrade Managarr via Chocolatey Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Manage Managarr installation on Windows using the Chocolatey package manager. ```powershell choco install managarr # Some newer releases may require a version number, so you can specify it like so: choco install managarr --version=0.7.0 ``` ```powershell choco upgrade managarr # To upgrade to a specific version: choco upgrade managarr --version=0.7.0 ``` -------------------------------- ### Start Lidarr Task Source: https://context7.com/dark-alex-17/managarr/llms.txt Initiates a specific task within Lidarr. Requires the task name. ```bash managarr lidarr start-task --task-name RefreshArtist ``` -------------------------------- ### Apply Custom Theme via config.yml Source: https://github.com/dark-alex-17/managarr/blob/main/themes/README.md Example of how to specify a custom theme by name within the `config.yml` file. This is one method to activate your custom theme. ```yaml theme: my-theme radarr: ... sonarr: ... ``` -------------------------------- ### Install Managarr via Cargo Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Install the application directly from Crates.io using the Rust package manager. ```shell cargo install managarr # If you encounter issues installing, try installing with '--locked' cargo install --locked managarr ``` -------------------------------- ### Custom Theme Configuration (YAML) Source: https://context7.com/dark-alex-17/managarr/llms.txt Example of a custom theme configuration file for Managarr TUI, defining colors for various UI elements. ```yaml # themes.yml - name: my-custom-theme theme: background: enabled: true color: "#1a1b26" default: color: "#c0caf5" primary: color: "#7aa2f7" secondary: color: "#bb9af7" success: color: "#9ece6a" failure: color: "#f7768e" warning: color: "#e0af68" help: color: "#7dcfff" downloaded: color: "#9ece6a" downloading: color: "#7aa2f7" missing: color: "#f7768e" unmonitored: color: "#565f89" unreleased: color: "#7dcfff" system_function: color: "#bb9af7" ``` -------------------------------- ### Specify Custom Themes File via CLI Source: https://github.com/dark-alex-17/managarr/blob/main/themes/README.md Example of using the `--themes-file` command-line argument to load custom themes from a specific file path. This is helpful during theme development. ```shell managarr --themes-file /path/to/my/testing-themes.yml ``` -------------------------------- ### Automate Movie Addition Source: https://context7.com/dark-alex-17/managarr/llms.txt A bash script example demonstrating how to iterate through a list of TMDB IDs and add them to Radarr. ```bash #!/bin/bash # Example: Add all movies from a TMDB list # Get list of TMDB IDs from an external source TMDB_IDS="550 278 238 240 424" ROOT_FOLDER="/media/movies" QUALITY_PROFILE_ID=1 for tmdb_id in $TMDB_IDS; do echo "Adding movie with TMDB ID: $tmdb_id" managarr radarr add movie \ --tmdb-id "$tmdb_id" \ --root-folder-path "$ROOT_FOLDER" \ --quality-profile-id "$QUALITY_PROFILE_ID" \ --minimum-availability released \ --monitor movie-only done ``` -------------------------------- ### Display Sonarr Subcommand Help Source: https://github.com/dark-alex-17/managarr/blob/main/README.md To get detailed information about commands specific to Sonarr management, use the subcommand help. This will list all available Sonarr-related actions and their options. ```shell $ managarr sonarr --help ``` -------------------------------- ### Parse Radarr Data with jq Source: https://context7.com/dark-alex-17/managarr/llms.txt Examples of piping Managarr CLI output into jq for filtering and data extraction. ```bash # Find all unmonitored movies managarr radarr list movies | jq '[.[] | select(.monitored == false)]' # Get total size of all movies managarr radarr list movies | jq '[.[].sizeOnDisk] | add / 1073741824 | round' # Output in GB # Find movies missing files managarr radarr list movies | jq '[.[] | select(.hasFile == false and .monitored == true)] | length' # Export movie titles and years managarr radarr list movies | jq -r '.[] | "\(.title) (\(.year))"' ``` -------------------------------- ### Acquire Servarr Certificate Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Use this shell command to obtain the certificate for your Servarr's domain if it's not installed in the system's trust store. ```shell openssl s_client -show-certs -connect : /path/to/your/servarr.pem ``` -------------------------------- ### Get Movie Details and History Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieve metadata, import history, and cast information for a specific movie ID. ```bash # Get detailed information about a specific movie managarr radarr get movie-details --movie-id 277 # Get download/import history for a movie managarr radarr get movie-history --movie-id 277 # Get movie credits (cast and crew) managarr radarr list movie-credits --movie-id 277 ``` -------------------------------- ### Download Lidarr Release Source: https://context7.com/dark-alex-17/managarr/llms.txt Downloads a specific release from Lidarr. Requires the release GUID and indexer ID. ```bash managarr lidarr download-release \ --guid "release-guid" \ --indexer-id 1 ``` -------------------------------- ### Get Sonarr Details and History Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for retrieving series details and history for series, seasons, or episodes. ```bash managarr sonarr get series-details --series-id 1 ``` ```bash managarr sonarr list episode-history --episode-id 100 ``` ```bash managarr sonarr list season-history --series-id 1 --season-number 1 ``` ```bash managarr sonarr list series-history --series-id 1 ``` -------------------------------- ### Define Custom Managarr Theme Source: https://github.com/dark-alex-17/managarr/blob/main/themes/README.md Example of a custom theme configuration in YAML, showcasing all available customization options for TUI elements. Ensure colors are valid hex codes. ```yaml - name: my-theme theme: background: # Disable for transparent backgrounds enabled: true # Color of the full system background color: "#233237" awaiting_import: # Color for items awaiting import color: "#FFAA42" indeterminate: # Color for when item status is unknown color: "#FFAA42" default: # Default color for text and uncolored elements color: "#FFFFFF" downloaded: # Color for downloaded items (when monitored) color: "#00FF00" downloading: # Color for items currently downloading color: "#762671" failure: # Color for errors, no seeders, disabled indexers, # failed indexer test results, etc. color: "#DE382B" help: # Color for help text like hotkeys and tooltips color: "#00FFFF" missing: # Color for missing items color: "#DE382B" primary: # Primary color for table/list items (without custom coloring), # selected UI elements (e.g. table/list items, current tab, etc.), # gauge bars, etc. color: "#2CB5E9" secondary: # Color for selected tabs, Warn log events, Paragraph headers (e.g. "Name: "), # and uncolored Message box contents color: "#FFC706" success: # Color for downloaded and imported and available items, # good peer styling (more seeders than leechers), # passing indexer test results, and enabled indexers color: "#39B54A" system_function: # Color for system functions like selected UI elements (e.g. checkboxes, yes/no prompts), # or loading spinner color: "#FFC706" unmonitored: # Color for unmonitored items color: "#808080" unmonitored_missing: # Color for unmonitored items that are also missing color: "#FFC706" unreleased: # Color for unreleased items color: "#00FFFF" warning: # Color for fewer seeders than leechers color: "#FF00FF" ``` -------------------------------- ### Radarr Configuration with SSL Enabled Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Use this configuration when your Servarr's domain CA is installed in the system's trust store. Managarr will connect using SSL. ```yaml radarr: - host: 192.168.0.78 port: 7878 api_token: yourApiTokenHere ssl: true ``` -------------------------------- ### Download Sonarr Episode Release Source: https://context7.com/dark-alex-17/managarr/llms.txt Use this command to download a specific episode release from Sonarr. Requires release GUID, indexer ID, and episode ID. ```bash managarr sonarr download episode-release \ --guid "release-guid" \ --indexer-id 1 \ --episode-id 100 ``` -------------------------------- ### Run Managarr Demo Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Execute the demo script to test Managarr without connecting to a live HTPC. ```shell curl https://raw.githubusercontent.com/Dark-Alex-17/managarr-demo/main/managarr-demo.sh > /tmp/managarr-demo.sh && bash /tmp/managarr-demo.sh ``` -------------------------------- ### Retrieve Configuration Path Source: https://context7.com/dark-alex-17/managarr/llms.txt Command to display the location of the active configuration file. ```bash # Print the default configuration file path managarr config-path # Output: /home/user/.config/managarr/config.yml (varies by OS) ``` -------------------------------- ### Basic Configuration File Source: https://context7.com/dark-alex-17/managarr/llms.txt Define connections for Radarr, Sonarr, and Lidarr instances in the YAML configuration file. ```yaml # config.yml theme: default radarr: - host: 192.168.0.78 port: 7878 api_token: your_radarr_api_token_here sonarr: - host: 192.168.0.89 port: 8989 api_token: your_sonarr_api_token_here lidarr: - host: 192.168.0.86 port: 8686 api_token: your_lidarr_api_token_here ``` -------------------------------- ### Advanced Multi-Instance Configuration Source: https://context7.com/dark-alex-17/managarr/llms.txt Configure multiple instances with SSL, custom names, weights, and environment variable support for API tokens. ```yaml # config.yml - Advanced multi-instance setup theme: dracula radarr: - name: Movies host: 192.168.0.78 port: 7878 api_token: someApiToken1234567890 ssl_cert_path: /path/to/radarr.crt - name: International Movies weight: 2 host: 192.168.0.79 port: 7878 api_token: someApiToken0987654321 ssl: true sonarr: - name: Anime weight: 1 uri: http://htpc.local/sonarr api_token: someApiToken1234567890 - name: TV Shows weight: 2 host: 192.168.0.89 port: 8989 api_token_file: /root/.config/sonarr_api_token lidarr: - host: 192.168.0.86 port: 8686 api_token: ${MY_LIDARR_API_TOKEN} monitored_storage_paths: - /nfs - /media ``` -------------------------------- ### Use Custom Configuration File Source: https://context7.com/dark-alex-17/managarr/llms.txt Specify a non-default configuration file path via CLI argument or environment variable. ```bash # Specify a custom config file managarr --config-file /path/to/custom/config.yml # Or use environment variable export MANAGARR_CONFIG_FILE=/path/to/custom/config.yml managarr ``` -------------------------------- ### Display Managarr CLI Help Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Run this command to view all available top-level commands and global options for the Managarr CLI. This is useful for understanding the CLI's capabilities and structure. ```shell $ managarr --help ``` -------------------------------- ### Specify Configuration File with --config-file Flag Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Use the --config-file flag to explicitly tell Managarr which configuration file to use. This is helpful when managing multiple Managarr configurations. ```shell managarr --config-file /path/to/config.yml ``` -------------------------------- ### Run Managarr via Docker Source: https://context7.com/dark-alex-17/managarr/llms.txt Execute Managarr as a container with a mounted configuration file. ```bash docker run --rm -it \ -v /home/user/.config/managarr/config.yml:/root/.config/managarr/config.yml \ darkalex17/managarr:latest ``` -------------------------------- ### Manual Search and Download Source: https://context7.com/dark-alex-17/managarr/llms.txt Trigger manual or automatic searches and download specific releases. ```bash # Trigger manual search for releases managarr radarr manual-search --movie-id 277 # Download a specific release managarr radarr download-release \ --guid "release-guid-here" \ --indexer-id 1 \ --movie-id 277 # Trigger automatic search managarr radarr trigger-automatic-search --movie-id 277 ``` -------------------------------- ### List Sonarr Series and Episodes Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for listing series, episodes, and episode files in Sonarr. ```bash managarr sonarr list series ``` ```bash managarr sonarr list episodes --series-id 1 ``` ```bash managarr sonarr list episode-files --series-id 1 ``` -------------------------------- ### Search and Add Movies Source: https://context7.com/dark-alex-17/managarr/llms.txt Search for movies by title and add them to the library with specific configuration parameters. ```bash # Search for a movie by title managarr radarr search-new-movie --query "Inception" # Add a movie to your library managarr radarr add movie \ --tmdb-id 27205 \ --root-folder-path "/media/movies" \ --quality-profile-id 1 \ --minimum-availability announced \ --monitor movie-only \ --tag 1 --tag 2 ``` -------------------------------- ### Print Managarr Configuration File Path Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Run this command to display the default location of the Managarr configuration file for your operating system. This is essential for locating and editing your settings. ```shell managarr config-path ``` -------------------------------- ### Manage Radarr Root Folders and Tags Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for managing root folder paths and metadata tags. ```bash managarr radarr list root-folders ``` ```bash managarr radarr add root-folder --root-folder-path "/media/movies" ``` ```bash managarr radarr delete root-folder --root-folder-id 1 ``` ```bash managarr radarr list tags ``` ```bash managarr radarr add tag --name "4K" ``` ```bash managarr radarr delete tag --tag-id 1 ``` -------------------------------- ### Edit Movie Settings Source: https://context7.com/dark-alex-17/managarr/llms.txt Update monitoring status, quality profiles, and tags for an existing movie. ```bash # Enable monitoring for a movie managarr radarr edit movie \ --movie-id 277 \ --enable-monitoring \ --quality-profile-id 2 \ --minimum-availability released # Add tags to a movie managarr radarr edit movie \ --movie-id 277 \ --tag 1 --tag 3 # Clear all tags from a movie managarr radarr edit movie \ --movie-id 277 \ --clear-tags ``` -------------------------------- ### List Lidarr Track Files Source: https://context7.com/dark-alex-17/managarr/llms.txt Lists track files for a specific album in Lidarr. Requires the album ID. ```bash managarr lidarr list track-files --album-id 10 ``` -------------------------------- ### List Lidarr Indexers Source: https://context7.com/dark-alex-17/managarr/llms.txt Fetches a list of all configured indexers in Lidarr. ```bash managarr lidarr list indexers ``` -------------------------------- ### List Sonarr Quality Profiles Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a list of all configured quality profiles in Sonarr. ```bash managarr sonarr list quality-profiles ``` -------------------------------- ### Generate Shell Completions Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands to generate shell completion scripts for Bash, Zsh, Fish, and PowerShell. ```bash # Generate Bash completions managarr completions bash > /etc/bash_completion.d/managarr # Generate Zsh completions managarr completions zsh > ~/.zfunc/_managarr # Generate Fish completions managarr completions fish > ~/.config/fish/completions/managarr.fish # Generate PowerShell completions managarr completions powershell > managarr.ps1 ``` -------------------------------- ### List Sonarr Root Folders Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a list of all configured root folders in Sonarr. ```bash managarr sonarr list root-folders ``` -------------------------------- ### List Lidarr Tracks Source: https://context7.com/dark-alex-17/managarr/llms.txt Lists tracks for a specific album in Lidarr. Requires artist and album IDs. ```bash managarr lidarr list tracks --artist-id 1 --album-id 10 ``` -------------------------------- ### List Lidarr Quality Profiles Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a list of all configured quality profiles in Lidarr. ```bash managarr lidarr list quality-profiles ``` -------------------------------- ### Specify Servarr Instance in CLI Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Use the `--servarr-name` flag in the Managarr CLI to select a specific Servarr instance when multiple are configured. ```shell managarr --servarr-name "International Movies" ``` -------------------------------- ### Download Sonarr Releases Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for downloading specific series or season releases. ```bash managarr sonarr download series-release \ --guid "release-guid" \ --indexer-id 1 \ --series-id 1 ``` ```bash managarr sonarr download season-release \ --guid "release-guid" \ --indexer-id 1 \ --series-id 1 \ --season-number 2 ``` -------------------------------- ### Manage Radarr Collections Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for listing and editing Radarr collection settings. ```bash managarr radarr list collections ``` ```bash managarr radarr edit collection \ --collection-id 1 \ --enable-monitoring \ --minimum-availability released \ --quality-profile-id 2 \ --root-folder-path "/media/movies" \ --search-on-add ``` -------------------------------- ### Run GitHub Actions Locally with Act Source: https://github.com/dark-alex-17/managarr/blob/main/CONTRIBUTING.md Executes a specific GitHub workflow locally for testing purposes. ```shell act -W .github/workflows/release.yml --input_type bump=minor ``` -------------------------------- ### List Lidarr Albums Source: https://context7.com/dark-alex-17/managarr/llms.txt Lists albums for a specific artist in Lidarr. Requires the artist ID. ```bash managarr lidarr list albums --artist-id 1 ``` -------------------------------- ### Tail Application Logs Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands to stream application logs to the terminal, with an option to disable color output. ```bash # Tail Managarr application logs managarr tail-logs # Tail logs without color managarr tail-logs --no-color ``` -------------------------------- ### List Sonarr Tags Source: https://context7.com/dark-alex-17/managarr/llms.txt Fetches a list of all tags currently used in Sonarr. ```bash managarr sonarr list tags ``` -------------------------------- ### Test Lidarr Indexers Source: https://context7.com/dark-alex-17/managarr/llms.txt Initiates a test for all configured indexers in Lidarr. ```bash managarr lidarr test-all-indexers ``` -------------------------------- ### List Lidarr Metadata Profiles Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a list of all configured metadata profiles in Lidarr. ```bash managarr lidarr list metadata-profiles ``` -------------------------------- ### Manage Radarr Indexers Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for listing, editing, testing, and deleting indexers in Radarr. ```bash managarr radarr list indexers ``` ```bash managarr radarr edit indexer \ --indexer-id 1 \ --name "My Indexer" \ --enable-rss \ --enable-automatic-search \ --priority 10 \ --seed-ratio "1.5" ``` ```bash managarr radarr test-indexer --indexer-id 1 ``` ```bash managarr radarr test-all-indexers ``` ```bash managarr radarr delete indexer --indexer-id 1 ``` -------------------------------- ### View Radarr Logs and System Status Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for retrieving system information, logs, and managing background tasks. ```bash managarr radarr list logs --events 100 ``` ```bash managarr radarr list logs --events 100 --output-in-log-format ``` ```bash managarr radarr get system-status ``` ```bash managarr radarr get host-config ``` ```bash managarr radarr get security-config ``` ```bash managarr radarr list tasks ``` ```bash managarr radarr start-task --task-name RefreshMovie ``` -------------------------------- ### List Sonarr Language Profiles Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a list of all configured language profiles in Sonarr. ```bash managarr sonarr list language-profiles ``` -------------------------------- ### Manage Radarr Blocklist and History Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for managing the blocklist and viewing or modifying history events. ```bash managarr radarr list blocklist ``` ```bash managarr radarr delete blocklist-item --blocklist-item-id 1 ``` ```bash managarr radarr clear-blocklist ``` ```bash managarr radarr list history --events 100 ``` ```bash managarr radarr mark-history-item-as-failed --history-item-id 456 ``` -------------------------------- ### Manage Radarr Downloads Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for listing active downloads and deleting specific download items. ```bash managarr radarr list downloads --count 100 ``` ```bash managarr radarr delete download --download-id 123 ``` -------------------------------- ### Search and Add Sonarr Series Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for searching for new series and adding them to the library. ```bash managarr sonarr search-new-series --query "Breaking Bad" ``` ```bash managarr sonarr add series \ --tvdb-id 81189 \ --title "Breaking Bad" \ --root-folder-path "/media/tv" \ --quality-profile-id 1 \ --language-profile-id 1 \ --series-type standard \ --monitor all \ --tag 1 ``` -------------------------------- ### Radarr Configuration with Custom SSL Certificate Path Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Configure Managarr to use a specific certificate file when SSL is enabled and the CA is not in the system's trust store. ```yaml radarr: - host: 192.168.0.78 port: 7878 api_token: yourApiTokenHere ssl_cert_path: /path/to/your/certificate.crt ``` -------------------------------- ### Search New Lidarr Artist Source: https://context7.com/dark-alex-17/managarr/llms.txt Searches for a new artist to add to Lidarr. Requires a query string. ```bash managarr lidarr search-new-artist --query "Pink Floyd" ``` -------------------------------- ### Extract Tarball on Linux/MacOS Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Use this command to extract the Managarr binary to the specified directory. Note that this command may require administrator privileges. ```bash tar -C /usr/local/bin -xzf managarr-.tar.gz ``` -------------------------------- ### List Lidarr Artists Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a list of all artists in the Lidarr library. ```bash managarr lidarr list artists ``` -------------------------------- ### Add Lidarr Artist Source: https://context7.com/dark-alex-17/managarr/llms.txt Adds a new artist to Lidarr. Requires foreign artist ID, name, root folder, quality profile, metadata profile, and monitoring settings. ```bash managarr lidarr add artist \ --foreign-artist-id "83d91898-7763-47d7-b03b-faaef2a1d379" \ --artist-name "Pink Floyd" \ --root-folder-path "/media/music" \ --quality-profile-id 1 \ --metadata-profile-id 1 \ --monitor all-albums \ --monitor-new-items all ``` -------------------------------- ### Perform Sonarr Searches Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands for manual and automatic searches for series, seasons, or episodes. ```bash managarr sonarr manual-search series --series-id 1 ``` ```bash managarr sonarr manual-search season --series-id 1 --season-number 2 ``` ```bash managarr sonarr manual-search episode --episode-id 100 ``` ```bash managarr sonarr trigger-automatic-search series --series-id 1 ``` ```bash managarr sonarr trigger-automatic-search season --series-id 1 --season-number 2 ``` ```bash managarr sonarr trigger-automatic-search episode --episode-id 100 ``` -------------------------------- ### Toggle Sonarr Monitoring Source: https://context7.com/dark-alex-17/managarr/llms.txt Commands to toggle monitoring status for series, seasons, or episodes. ```bash managarr sonarr toggle-series-monitoring --series-id 1 ``` ```bash managarr sonarr toggle-season-monitoring --series-id 1 --season-number 2 ``` ```bash managarr sonarr toggle-episode-monitoring --episode-id 100 ``` -------------------------------- ### Add Lidarr Root Folder Source: https://context7.com/dark-alex-17/managarr/llms.txt Adds a new root folder to Lidarr with specified settings including name, path, quality profile, metadata profile, monitoring, and tags. ```bash managarr lidarr add root-folder \ --name "Music Library" \ --root-folder-path "/media/music" \ --quality-profile-id 1 \ --metadata-profile-id 1 \ --monitor all-albums \ --monitor-new-items all \ --tag 1 ``` -------------------------------- ### List Radarr Library Movies Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieve a list of movies and filter results using jq. ```bash # List all movies in your Radarr library managarr radarr list movies # Example output (JSON): # [ # { # "id": 277, # "title": "Ad Astra", # "year": 2019, # "monitored": true, # "hasFile": true, # ... # } # ] # Extract specific movie ID using jq managarr radarr list movies | jq '.[] | select(.title == "Ad Astra") | .id' # Output: 277 ``` -------------------------------- ### Toggle Lidarr Artist Monitoring Source: https://context7.com/dark-alex-17/managarr/llms.txt Toggles the monitoring status for a specific artist in Lidarr. Requires the artist ID. ```bash managarr lidarr toggle-artist-monitoring --artist-id 1 ``` -------------------------------- ### Commitizen Commands Source: https://github.com/dark-alex-17/managarr/blob/main/CONTRIBUTING.md Commands for interacting with Commitizen to manage commit styles and information. ```shell cz example ``` ```shell cz info ``` ```shell cz commit ``` -------------------------------- ### Refresh Sonarr Downloads Source: https://context7.com/dark-alex-17/managarr/llms.txt Triggers a refresh of the download list in Sonarr. ```bash managarr sonarr refresh downloads ``` -------------------------------- ### Toggle Lidarr Album Monitoring Source: https://context7.com/dark-alex-17/managarr/llms.txt Toggles the monitoring status for a specific album in Lidarr. Requires the album ID. ```bash managarr lidarr toggle-album-monitoring --album-id 10 ``` -------------------------------- ### Add Sonarr Tag Source: https://context7.com/dark-alex-17/managarr/llms.txt Adds a new tag to Sonarr. Requires a name for the tag. ```bash managarr sonarr add tag --name "Anime" ``` -------------------------------- ### Add Sonarr Root Folder Source: https://context7.com/dark-alex-17/managarr/llms.txt Adds a new root folder to Sonarr. Requires the path to the root folder. ```bash managarr sonarr add root-folder --root-folder-path "/media/tv" ``` -------------------------------- ### List Lidarr Album History Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves the history of a specific album in Lidarr. Requires artist and album IDs. ```bash managarr lidarr list album-history --artist-id 1 --album-id 10 ``` -------------------------------- ### List Lidarr Track History Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves the history of a specific track in Lidarr. Requires artist, album, and track IDs. ```bash managarr lidarr list track-history --artist-id 1 --album-id 10 --track-id 100 ``` -------------------------------- ### List Lidarr Artist History Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves the history of a specific artist in Lidarr. Requires the artist ID. ```bash managarr lidarr list artist-history --artist-id 1 ``` -------------------------------- ### Clear Sonarr Blocklist Source: https://context7.com/dark-alex-17/managarr/llms.txt Clears the blocklist in Sonarr. ```bash managarr sonarr clear-blocklist ``` -------------------------------- ### List Lidarr All History Events Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a specified number of recent history events from Lidarr. ```bash managarr lidarr list history --events 500 ``` -------------------------------- ### Clear Lidarr Blocklist Source: https://context7.com/dark-alex-17/managarr/llms.txt Clears the blocklist in Lidarr. ```bash managarr lidarr clear-blocklist ``` -------------------------------- ### Edit Radarr Global Indexer Settings Source: https://context7.com/dark-alex-17/managarr/llms.txt Command to modify settings that apply to all configured indexers. ```bash managarr radarr edit all-indexer-settings \ --allow-hardcoded-subs \ --availability-delay 0 \ --maximum-size 0 \ --minimum-age 0 \ --prefer-indexer-flags \ --retention 0 \ --rss-sync-interval 60 ``` -------------------------------- ### View Lidarr Logs Source: https://context7.com/dark-alex-17/managarr/llms.txt Retrieves a specified number of recent log events from Lidarr. ```bash managarr lidarr list logs --events 200 ``` -------------------------------- ### Manual Lidarr Search Source: https://context7.com/dark-alex-17/managarr/llms.txt Performs a manual search for an artist's discography or a specific album in Lidarr. Requires the respective ID. ```bash managarr lidarr manual-search artist --artist-id 1 ``` ```bash managarr lidarr manual-search album --album-id 10 ``` -------------------------------- ### Extract Movie ID using Managarr CLI and jq Source: https://github.com/dark-alex-17/managarr/blob/main/README.md Use this command to extract the movie ID from the 'Ad Astra' movie using the Managarr CLI and jq for JSON parsing. This is useful for scripting and automation. ```shell $ managarr radarr list movies | jq '.[] | select(.title == "Ad Astra") | .id' 277 ``` -------------------------------- ### Delete Sonarr Series Source: https://context7.com/dark-alex-17/managarr/llms.txt Deletes a series from Sonarr. Use the --delete-files-from-disk flag to also remove associated files. ```bash managarr sonarr delete series \ --series-id 1 \ --delete-files-from-disk ``` -------------------------------- ### Trigger Lidarr Automatic Search Source: https://context7.com/dark-alex-17/managarr/llms.txt Triggers an automatic search for an artist or album in Lidarr. Requires the respective ID. ```bash managarr lidarr trigger-automatic-search artist --artist-id 1 ``` ```bash managarr lidarr trigger-automatic-search album --album-id 10 ``` -------------------------------- ### Delete a Movie Source: https://context7.com/dark-alex-17/managarr/llms.txt Remove a movie from the library, optionally deleting files from disk and adding list exclusions. ```bash # Delete a movie (keep files on disk) managarr radarr delete movie --movie-id 277 # Delete a movie and its files from disk managarr radarr delete movie \ --movie-id 277 \ --delete-files-from-disk \ --add-list-exclusion ``` -------------------------------- ### Refresh Sonarr Series Source: https://context7.com/dark-alex-17/managarr/llms.txt Refreshes all series in Sonarr or a specific series by its ID. ```bash managarr sonarr refresh all-series ``` ```bash managarr sonarr refresh series --series-id 1 ``` -------------------------------- ### Delete Sonarr Download Source: https://context7.com/dark-alex-17/managarr/llms.txt Deletes a completed download from Sonarr using its download ID. ```bash managarr sonarr delete download --download-id 123 ``` -------------------------------- ### Delete Sonarr Episode File Source: https://context7.com/dark-alex-17/managarr/llms.txt Removes a specific episode file from Sonarr based on its episode file ID. ```bash managarr sonarr delete episode-file --episode-file-id 500 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.