# ============================================= # <----- Update and version settings -----> # ============================================= readonly CONFIG_VERSION="1.1.0" # ONLY UPDATE THE VERSION NUMBER WHEN A CONFIGURATION FILE CHANGE HAS BEEN MADE readonly ENABLE_VERSION_CHECK=true # Set to false to disable all update checks and notifications (not recommended) # ============================================= # <----- mover-tuning start/end settings -----> # ============================================= # Auto-installer configuration (Optional) readonly ENABLE_AUTO_INSTALLER=true # Set to false to disable qBit-Api and qBit-Mover auto installer # qBit-Mover Settings # >>> NOTE: Setting "DAYS_FROM" below 2 days may not work properly <<< readonly DAYS_FROM=25 # How old torrents must be (in days) before they're paused and moved (Must be at least 2 days) readonly DAYS_TO=99 # Maximum age (days) for torrent selection (must be >= DAYS_FROM) readonly CACHE_MOUNT="/mnt/cache/" # Cache mount point in Unraid readonly QBIT_MOVER_PATH="/mnt/user/appdata/qbt-mover/" # Path to mover.py # qBittorrent instances # Supports unlimited qBittorrent instances # Arrays NAMES, HOSTS, USERS and PASSWORDS must all have the same length # NAMES array is optional - if omitted, instances will be named "qBit-Instance-1", "qBit-Instance-2", etc. readonly NAMES=("qBit-Movies" "qBit-TV" "qBit-Music") # qBittorrent instance names readonly HOSTS=("192.168.2.200:8088" "192.168.2.200:8811" "192.168.2.200:8822") # qBittorrent host:port readonly USERS=("admin" "admin" "admin") # qBittorrent usernames readonly PASSWORDS=("qbt1-password" "qbt2-password" "qbt3-password") # qBittorrent passwords # qBit-Manage integration (OPTIONAL) readonly ENABLE_QBIT_MANAGE=true # Set to false to disable qBit-Manage readonly QBIT_MANAGE_CONTAINER="qbit-manage" # qBit-Manage Docker container name readonly QBIT_MANAGE_WAIT=5 # Wait time (seconds) after stopping qBit-Manage # Duplicate finder script (OPTIONAL) readonly ENABLE_DUPLICATE_FINDER=true # Set to false to disable duplicate finder readonly DUPLICATE_FINDER_NAME="Duplicate Finder" # Name for logging/notifications # ========================================= # <----- fclones run script settings -----> # ========================================= # Path to fclones executable # # OPTION 1: System-wide installation (Recommended) # If you installed fclones system-wide (e.g., via the mover-tuning-end script) # it will be available in your PATH. # In this case, simply use: # FCLONES_PATH="fclones" # # OPTION 2: Custom binary location # If you downloaded the fclones binary manually: # 1. Download from: https://github.com/pkolaczk/fclones/releases # 2. Extract the archive # 3. Make the binary executable: chmod +x fclones # 4. Place it in a directory of your choice # 5. Set the full path below, for example: # FCLONES_PATH="/mnt/user/apps/fclones/fclones" # To verify your installation, run: $FCLONES_PATH --version readonly FCLONES_PATH="fclones" # fclones arguments for the group command # Note: --cache, file paths, and --name patterns will be added automatically readonly FCLONES_ARGS="--one-fs --hidden --follow-links" # File patterns to match (space-separated) readonly FILE_PATTERNS="*.mkv *.mp4 *.avi" # Maximum number of files to display per folder in notifications # Set to 0 for unlimited, or any positive number to limit readonly MAX_FILES_DISPLAY=5 # Display full filenames including file extensions in notifications # Set to true to show full filename with extension, false to show without extension readonly SHOW_FILE_EXTENSIONS=false # Maximum filename length in notifications before truncating # Filenames longer than this will be truncated with "..." readonly MAX_FILENAME_LENGTH=56 # Log file settings LOG_PATH="/mnt/user/appdata/qbt-mover/fclones-logs" readonly LOG_RETENTION_DAYS=5 # Search path pairs - Add or modify your folder pairs here # Format: folders["Display Name"]="source_path target_path" declare -A folders folders["Series"]="/mnt/user/data/torrents/tv/ /mnt/user/data/media/tv/" folders["Movies"]="/mnt/user/data/torrents/movies/ /mnt/user/data/media/movies/" # folders["Series-xseed"]="/mnt/user/data/torrents/tv/ /mnt/user/data/torrents/series_linkdir/" # folders["Movies-xseed"]="/mnt/user/data/torrents/movies/ /mnt/user/data/torrents/movies_linkdir/"