mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-17 18:58:58 +01:00
Merge pull request #119 from 73k05/master
Fix mkdir: cannot create directory : File name too long
This commit is contained in:
commit
640ba915a9
1
AAXtoMP3
1
AAXtoMP3
@ -351,6 +351,7 @@ do
|
||||
genre=$(get_metadata_value genre)
|
||||
artist=$(get_metadata_value artist)
|
||||
title=$(get_metadata_value title | $SED 's/'\:'/'-'/g' | $SED 's/- /-/g' | xargs -0)
|
||||
title=${title:0:100}
|
||||
if [ "x${targetdir}" != "x" ] ; then
|
||||
output_directory="${targetdir}/${genre}/${artist}/${title}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user