Using subfolders with bitrate and coverartsize when converting
This commit is contained in:
parent
cbffe2baaa
commit
61677a6c6f
@ -467,9 +467,18 @@ if [[ ! -f /tmp/music-sync-filelist ]]; then
|
|||||||
CleanUp
|
CleanUp
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ $convert == false ]]; then
|
|
||||||
|
if [[ $convert == true ]]; then
|
||||||
|
temp=${temp}/bitrate-${bitrate}
|
||||||
|
if [[ $convertart == true ]]; then
|
||||||
|
temp="${temp}/coverart-${coverartsize}"
|
||||||
|
else
|
||||||
|
temp="${temp}/coverart-original"
|
||||||
|
fi
|
||||||
|
VerboseOutput 2 "Conversion enabled. Using $temp as temp-folder"
|
||||||
|
else
|
||||||
if [[ $temp != "/tmp/converted" ]]; then
|
if [[ $temp != "/tmp/converted" ]]; then
|
||||||
VerboseOutput 2 "Conversion not enabled. Ignoring cache folder"
|
VerboseOutput 2 "Conversion not enabled. Ignoring temp folder"
|
||||||
fi
|
fi
|
||||||
temp=$source
|
temp=$source
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user