Skip to content

Commit 0e38188

Browse files
v3.8 - perform cleanup after each video process
1 parent 754a6d0 commit 0e38188

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lidarr/Video.service.bash

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/with-contenv bash
2-
scriptVersion="3.7"
2+
scriptVersion="3.8"
33
scriptName="Video"
44

55
### Import Settings
@@ -679,6 +679,8 @@ VideoProcess () {
679679
fi
680680

681681
mv $videoDownloadPath/incomplete/* "$videoPath/$lidarrArtistFolderNoDisambig"/
682+
# clean/clear download folder
683+
rm -rf "$videoDownloadPath"/incomplete/*
682684
done
683685

684686
fi

0 commit comments

Comments
 (0)