test
This commit is contained in:
parent
e181ee6a79
commit
10adb23197
@ -20,11 +20,6 @@ token_from_Pref_XML() {
|
||||
}
|
||||
|
||||
token_from_api() {
|
||||
if [ -z "$PLEX_LOGIN" ] || [ -z "$PLEX_PASSWORD" ]; then
|
||||
PLEX_LOGIN=$1
|
||||
PLEX_PASSWORD=$2
|
||||
fi
|
||||
|
||||
while [ -z "$PLEX_LOGIN" ]; do
|
||||
>&2 echo -n 'Your Plex login (e-mail or username): '
|
||||
read PLEX_LOGIN
|
||||
|
||||
@ -4,6 +4,7 @@ echo "Welcome to plex-tools wrapper utility!"
|
||||
|
||||
case "$1" in
|
||||
token) source ./plex-token.sh;;
|
||||
token) source ./DBRepair.sh stop auto start exit;;
|
||||
"") echo "No plex-tools command given";;
|
||||
*) echo "'$1' is not a valid plex-tools command";;
|
||||
esac
|
||||
|
||||
Loading…
Reference in New Issue
Block a user