Fix artUrl staying the same when the new value is empty

This commit is contained in:
Ksaper 2021-07-26 07:13:04 +03:00
parent d3b5cdeb12
commit aa4ddbe863
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ fi
tmp_cover_path="${tmp_dir}cover.png"
if [ -f ${tmp_dir}cover.png ]; then
rm ${tmp_dir}cover.png
fi
if [ ! -d "$tmp_dir" ]; then
mkdir -p $tmp_dir
fi