Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.SetAudioTags
Sets audio tags for audio file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 9.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "Files.SetAudioTags"; FilePath; JSON ) More
Parameters
Parameter | Description | Example |
---|---|---|
FilePath | The native file path to the audio file. | "/Users/cs/Desktop/test.mp3" |
JSON | The JSON object with new properties. |
Result
Returns OK or error.
Description
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.
Examples
Write tags back to field:
Set Variable [ $r ; Value: MBS("Files.SetAudioTags"; AudioTags::FilePath; AudioTags::JSON) ]
Show Custom Dialog [ "Tags written" ; $r ]
See also
Release notes
- Version 9.4
- Added Files.SetAudioTags to change ID tags for audio files, e.g. ID3v2 tags in MP3 files.
Example Databases
Blog Entries
- Neue Funktionen des MBS FileMaker Plugin 9.4
- Neues MBS FileMaker Plugin 9.4
- MBS FileMaker Plugin 9.4 - More than 5900 Functions In One Plugin
- MBS FileMaker Plugin, version 9.4pr8
- TagLib to read and write ID3v2 Tags in FileMaker
This function checks for a license.
Created 12nd September 2019, last changed 12nd September 2019