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
|
||||
exit 0
|
||||
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
|
||||
VerboseOutput 2 "Conversion not enabled. Ignoring cache folder"
|
||||
VerboseOutput 2 "Conversion not enabled. Ignoring temp folder"
|
||||
fi
|
||||
temp=$source
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user