Update cmpl.sh

This commit is contained in:
marios 2020-04-03 14:32:04 +03:00 committed by GitHub
parent 9854acd343
commit 714d3c8cca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,10 +16,12 @@ cd /scripts
bash notif.sh "$name";
if [[ "$category" == "Anime" ]]; then
echo "Running jellyfin namer";
echo "Running jellyfin namer and subtitle converter";
if [[ -d "$root_path" ]]; then
bash subtitle-converter.sh "$root_path";
bash jellyfin-namer.sh "$root_path";
else
bash subtitle-converter.sh "$save_path";
bash jellyfin-namer.sh "$save_path";
fi
fi