From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Function RenameByMask(Mask As String) As Boolean


Name Type Description
Mask String Mask that specifies how to rename the track's filename. It must be in a compiled form, use ISDBTools::Mask2UFText and ISDBTools::UFText2Mask functions in order to convert between the internal and user friendly forms of masks.

Method description

Renames track using Mask.

Example code

SD.RenameByMask("%A - %S")    ' Renames the file using the "<Artist> - <Title>" format

' SD represents a SongData object