<commit_before>#!/bin/bash
# shellcheck disable=SC1090
# Script Name: AtoMiC PVRS Menu
# Author: TommyE123
# Publisher: http://www.htpcBeginner.com
# License: MIT License (refer to README.md for more details)

# DO NOT EDIT ANYTHING UNLESS YOU KNOW WHAT YOU ARE DOING.

source "$SCRIPTPATH/inc/app-setup-check.sh"
SUBCHOICE=$(whiptail --title "AtoMiC ToolKit - htpcBeginner.com" \
--menu "Which app would you like to manage?" --backtitle "$BACKTITLE" \
--fb --cancel-button "Exit" $LINES $COLUMNS "$NETLINES" \
"CouchPotato" "Movies PVR Client" \
"Headphones" "Music PVR Client" \
"Lazy Librarian" "Book PVR Client" \
"Mylar" "Comics PVR Client" \
"Radarr" "Works with movies à la Couchpotato." \
"SickGear" "TV Shows PVR Client" \
"SickRage" "Automatic Video Library Manager for TV Shows." \
"Sonarr" "Smart TV show PVR for newsgroup and bittorrent users." \
"Watcher" "Automated movie NZB searcher and snatcher" \
"Go Back" "Back to Main Menu" 3>&1 1>&2 2>&3)

exitstatus=$?
if [[ $exitstatus = 0 ]]; then
    source "$SCRIPTPATH/inc/app-constant-reset.sh"
    case "$SUBCHOICE" in
        "CouchPotato" )
            source "$SCRIPTPATH/couchpotato/couchpotato-menu.sh" ;;
        "Headphones" )
            source "$SCRIPTPATH/headphones/headphones-menu.sh" ;;
        "Lazy Librarian" )
            source "$SCRIPTPATH/lazylibrarian/lazylibrarian-menu.sh" ;;
        "Mylar" )
            source "$SCRIPTPATH/mylar/mylar-menu.sh" ;;
        "Radarr" )
            source "$SCRIPTPATH/radarr/radarr-menu.sh" ;;
        "SickGear" )
            source "$SCRIPTPATH/sickgear/sickgear-menu.sh" ;;
        "SickRage" )
            source "$SCRIPTPATH/sickrage/sickrage-menu.sh" ;;
        "Sonarr" )
            source "$SCRIPTPATH/sonarr/sonarr-menu.sh" ;;
        "Watcher" )
            source "$SCRIPTPATH/watcher/watcher-menu.sh" ;;
        "Go Back" )
            source "$SCRIPTPATH/menus/menu-main.sh" ;;
        *)
            source "$SCRIPTPATH/inc/invalid-option.sh" ;;
    esac
else
    source "$SCRIPTPATH/inc/thankyou.sh"
    echo
    sleep 1
    exit 0
fi<commit_msg>Minor cosmetic update to PVR menu<commit_after>#!/bin/bash
# shellcheck disable=SC1090
# Script Name: AtoMiC PVRS Menu
# Author: TommyE123
# Publisher: http://www.htpcBeginner.com
# License: MIT License (refer to README.md for more details)

# DO NOT EDIT ANYTHING UNLESS YOU KNOW WHAT YOU ARE DOING.

source "$SCRIPTPATH/inc/app-setup-check.sh"
SUBCHOICE=$(whiptail --title "AtoMiC ToolKit - htpcBeginner.com" \
--menu "Which app would you like to manage?" --backtitle "$BACKTITLE" \
--fb --cancel-button "Exit" $LINES $COLUMNS "$NETLINES" \
"CouchPotato" "Movies PVR Client" \
"Headphones" "Music PVR Client" \
"Lazy Librarian" "Book PVR Client" \
"Mylar" "Comics PVR Client" \
"Radarr" "Works with movies à la Couchpotato" \
"SickGear" "TV Shows PVR Client" \
"SickRage" "Automatic Video Library Manager for TV Shows" \
"Sonarr" "Smart TV show PVR for newsgroup and bittorrent users" \
"Watcher" "Automated movie NZB searcher and snatcher" \
"Go Back" "Back to Main Menu" 3>&1 1>&2 2>&3)

exitstatus=$?
if [[ $exitstatus = 0 ]]; then
    source "$SCRIPTPATH/inc/app-constant-reset.sh"
    case "$SUBCHOICE" in
        "CouchPotato" )
            source "$SCRIPTPATH/couchpotato/couchpotato-menu.sh" ;;
        "Headphones" )
            source "$SCRIPTPATH/headphones/headphones-menu.sh" ;;
        "Lazy Librarian" )
            source "$SCRIPTPATH/lazylibrarian/lazylibrarian-menu.sh" ;;
        "Mylar" )
            source "$SCRIPTPATH/mylar/mylar-menu.sh" ;;
        "Radarr" )
            source "$SCRIPTPATH/radarr/radarr-menu.sh" ;;
        "SickGear" )
            source "$SCRIPTPATH/sickgear/sickgear-menu.sh" ;;
        "SickRage" )
            source "$SCRIPTPATH/sickrage/sickrage-menu.sh" ;;
        "Sonarr" )
            source "$SCRIPTPATH/sonarr/sonarr-menu.sh" ;;
        "Watcher" )
            source "$SCRIPTPATH/watcher/watcher-menu.sh" ;;
        "Go Back" )
            source "$SCRIPTPATH/menus/menu-main.sh" ;;
        *)
            source "$SCRIPTPATH/inc/invalid-option.sh" ;;
    esac
else
    source "$SCRIPTPATH/inc/thankyou.sh"
    echo
    sleep 1
    exit 0
fi
{'fraction_non_alphanumeric': 0.136026775041836, 'fraction_numerical': 0.007650011953143677, 'mean_word_length': 2.7323818019625334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2803341', 'n_tokens_mistral': 1589, 'n_tokens_neox': 1541, 'n_words': 348}