youegraillot / lidarr-on-steroids

Lidarr with some muscles thanks to deemix
365 stars 28 forks source link

clean-downloads script does not clean the downloads folder #42

Closed Rincewind-T closed 1 year ago

Rincewind-T commented 1 year ago

Describe the bug The clean-downloads script does not seem to do its work. Downloaded files stay in the download folder even after successful import or after upgrade.

To Reproduce The script is set up via "Custom Scripts" in the "Connect" setting in Lidarr and is triggered "On Release Import" and "On Upgrade". Neither the one nor the other trigger seems to initiate the cleanup of the downloads folder. I am not sure if the script is not triggered correctly or something is wrong with the script itself.

Expected behavior a full cleanup of the download folder after release is fully imported into Lidarr

System info

I've never written an issue on GitHub before, so forgive me if I'm a bit clueless. :)

Rincewind-T commented 1 year ago

This is the only reference to the script in the logs:

2023-02-16 21:40:16.5|Error|clean-downloads.sh|Info|Cleaning empty folders

youegraillot commented 1 year ago

please provide log and your setup (docker-compose.yml or something else) in order for me to help here it may be related to permissions but I have no way to know