Code: Select all
sudo filebot -rename "/volume/Media/Library/_BackOffice/Music/" -r --output "/volume/Media/Library/Music/" --format "{n.upperInitial()}/{album.upperInitial()} ({y})/{media.PartPosition!=null ? media.PartPosition+'.' : ''}{pi.pad(2)!=null ? pi.pad(2)+'.' : ''} {t.upperInitial()}" --log-file "/volume/Media/Library/_Logs/log_music.txt" --db ID3
Some of my files are songs from multiple artists and in the ID3 in the artists field, the artists are separated by /. This results in an artist's folder without any separation in the names.
I changed the script to have the names separated by a comma in the artist folder of the album, but in the two alternatives I tried, nothing happened, the result was the same as before.
In one I used
Code: Select all
sudo filebot -rename "/volume/Media/Library/_BackOffice/Music/" -r --output "/volume/Media/Library/Music/" --format "{n.upperInitial().slash(', ')}/{album.upperInitial()} ({y})/{media.PartPosition!=null ? media.PartPosition+'.' : ''}{pi.pad(2)!=null ? pi.pad(2)+'.' : ''} {t.upperInitial()}" --log-file "/volume/Media/Library/_Logs/log_music.txt" --db ID3
and in another I used
Code: Select all
sudo filebot -rename "/volume/Media/Library/_BackOffice/Music/" -r --output "/volume/Media/Library/Music/" --format "{n.upperInitial().replaceAll(' / ', ', ')}/{album.upperInitial()} ({y})/{media.PartPosition!=null ? media.PartPosition+'.' : ''}{pi.pad(2)!=null ? pi.pad(2)+'.' : ''} {t.upperInitial()}" --log-file "/volume/Media/Library/_Logs/log_music.txt" --db ID3
What am I doing wrong?