View Single Post
  #11  
Old 22.06.2022, 19:00
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,484
Default

@Jiaz: Remembering syntax or tag names corresponding to each placeholder is a tough ask. Perhaps a uniform syntax for all placeholders, without using tag names?

FYI for if/else, foobar uses:

Code:
%filename% - $if(%artist%,%artist%,unknown artist).%filename_ext%

OR

Code:
%filename% - $if2(%artist%,unknowm artist).%filename_ext%

Output, ff artist tag is present:
Code:
song name - artist name.mp3

Output, if artist tag is absent/missing:
Code:
song name - unknown artist.mp3

Not that is wish to see it implemented in any particular way. Similar implementation in foolbar came to mind, which I though will share.
Reply With Quote