Skip to content

Instantly share code, notes, and snippets.

@rabidpug
rabidpug / arr_search.sh
Last active March 3, 2026 00:11
Trigger a search for the first 20 cutoff unmet/missing episodes/movies/albums/books by oldest search time in the ARR suite
#!/bin/bash
__help() {
cat << EOF
Please call this script with \$ARR_API_KEY set, and with the following parameters:
$0 sonarr|radarr|lidarr|readarr https://domain:port cutoff|missing
EOF
exit 1
}
if [[ -z "$ARR_API_KEY" ]] || [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]]; then