This commit is contained in:
deathbybandaid 2023-03-14 13:58:14 -04:00
parent b046bcb3fe
commit 3924f1a4b4

View File

@ -9,6 +9,8 @@ update_from_cli() {
echo "Getting Plex Library list"
echo $("$plex_scanner_location" --list)
exit
}
update_from_api() {
@ -31,8 +33,8 @@ update_from_api() {
}
case "$2" in
api) update_from_api;;
""|cli) update_from_cli;;
cli) update_from_cli;;
""|api) update_from_api;;
*) echo "'$1' is not a valid plex-tools freshen command";;
esac