v3.8 - perform cleanup after each video process

This commit is contained in:
RandomNinjaAtk 2024-08-08 10:37:21 +00:00 committed by GitHub
parent 754a6d0e08
commit 0e38188047
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
#!/usr/bin/with-contenv bash
scriptVersion="3.7"
scriptVersion="3.8"
scriptName="Video"
### Import Settings
@ -679,6 +679,8 @@ VideoProcess () {
fi
mv $videoDownloadPath/incomplete/* "$videoPath/$lidarrArtistFolderNoDisambig"/
# clean/clear download folder
rm -rf "$videoDownloadPath"/incomplete/*
done
fi