Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  


Sets audio tags for audio file.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Files 9.4 Yes Yes Yes Yes No
MBS( "Files.SetAudioTags"; FilePath; JSON )   More


Parameter Description Example value
FilePath The native file path to the audio file. "/Users/cs/Desktop/test.mp3"
JSON The JSON object with new properties.


Returns OK or error.


Sets audio tags for audio file.
Please provide JSON object with new tags. If tags are NULL values, we remove them. If they are text values, we update the texts.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.


Write tags back to field:

Set Variable [ $r ; Value: MBS("Files.SetAudioTags"; AudioTags::FilePath; AudioTags::JSON) ]
Show Custom Dialog [ "Tags written" ; $r ]

See also

Example Databases

Blog Entries

Release notes

  • Version 9.4
    • Added Files.SetAudioTags to change ID tags for audio files, e.g. ID3v2 tags in MP3 files.

Created 12nd September 2019, last changed 12nd September 2019

Files.RevealFile   -   Files.SetComment

Feedback: Report problem or ask question.

MBS Xojo tutorial videos