This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the webhook URL | |
webhook_url="http://127.0.0.1:6940/api/expression" | |
# # set local qbit login credentials | |
host_movies_local="http://192.168.1.250:8088" | |
host_series_local="http://192.168.1.250:8080" | |
user_local="REDACTED" | |
password_local="REDACTED" | |
# set remote qbit login credentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script deletes the oldest movies and series torrents on qbit instances on the localhost when the free disk space drops below a set value. | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport | |
log="$log_dir/freespace.$(date +"%Y-%m-%d_%H.%M").log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script removes torrents with missing files or torrents without any progress. | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport | |
log="$log_dir/incomplete.$(date +"%Y-%m-%d_%H.%M").log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script removes the oldest movies and series torrents from qbit to keep the number of torrents per instance below a set number. | |
# Only a set maximum number a torrents will be deleted in each run. | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script moves torrents to the lts catgrory if they are no longer hardlinked, qbit tmm wil then move the files to an other volume for long term seeding. | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport | |
log="$log_dir/move_noHL.$(date +"%Y-%m-%d_%H.%M").log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script moves stuck imports to post-import category on both locahost and seedbox. | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport | |
log="$log_dir/move_notImported.$(date +"%Y-%m-%d_%H.%M").log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will reannounce the imported torrents on the localhost. | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport | |
log="$log_dir/reannounce.$(date +"%Y-%m-%d_%H.%M").log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script adds the 'export' tag to torrents older than a set threshold on the seedbox. | |
# cd /volume1/scripts/upgraderr | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script moves torrents older than a set threshold to the export category. | |
# load variables | |
set -o allexport | |
source /volume1/scripts/upgraderr/upgraderr.env | |
set +o allexport | |
# set variables. |