Renaming files not working

I have been using this for a while, and recently when i tag the music and save them, the renaming does not work for some songs, but works for others. I cant figure out why it does that! My script is $if2(%albumartist%,%artist%)/$if($ne(%albumartist%,),%album%/)$if($gt(%totaldiscs%,1),)$if($ne(%albumartist%,), ,)$if(%_multiartist%,%artist% - ,)%title%
Im a simple guy and i just want the file to be named : Artist name (Ft. Artists (if any)) - Title .
This works only for some songs, and other files just shoes the title of the song.

EDIT: Im also using Mac Os sierra 10.12.3
and the picard version of 1.3.2

@outsidecontext, any ideas here? :slight_smile:

I think it is about this part of the script:

$if(%_multiartist%,%artist% - ,)

This will only set the artist if it is a release with multiple artists. Try replacing this with just "%artist% - " and it should work for all releases.


Omg it worked! Thank you so much! you’re an absolute legend! :smiley: