SongKong Filename Mask Script Assistance

I am after a bit of help as my knowledge isn't great. I have started using SongKong this very morning and I am trying to create a filename mask, to help to sort out my folder/file structure. This is where I'm kinda struggling.

I have created the following...

AlbumArtist [Year] Album/AlbumArtist - Album - Track - Title

using this script...

ifnotempty(albumartist,' ')

+ '[' + (albumyear.length>4 ? albumyear.substring(0,4):albumyear) +'] '

+ ifnotempty(album, '/')

+ ifnotempty(artist,' - ')

+ ifnotempty(album,' - ')

+ ifnotempty(pad(trackno,2),' - ')

+ title

I would like to expand on the file naming by adding sample rate and bitrate info, as shown below...

AlbumArtist [Year] Album/AlbumArtist - Album - Track - Title [????? Hz | ??? kbps ]

Any idea if and how this could be done??

Thank you very muchly :)

Posted Apr 5, 2026, 10:14 AM UTC

05
Loading comments…