Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.AudioCoverArt
Loads audio file and returns cover art.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 12.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
MBS( "Files.AudioCoverArt"; FilePath { ; FileName } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
FilePath | The native file path to the audio file. | "/Users/cs/Desktop/test.mp3" | |
FileName | The desired file name. | test.jpg | Optional |
Result
Returns container value or error.
Description
Loads audio file and returns cover art.Should work for MP3, MP4 and FLAC files.
May return JPEG, PNG, GIF or BMP depending on what the file contains.
Result can be assigned to container. Result is empty, if there is no art found.
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.
See also
Release notes
- Version 12.1
- Added Files.AudioCoverArt function
Blog Entries
- New in MBS FileMaker Plugin 12.1
- Neues MBS FileMaker Plugin 12.1
- MBS FileMaker Plugin 12.1 - More than 6700 Functions In One Plugin
- MBS FileMaker Plugin, version 12.1pr4
This function checks for a license.
Created 21st February 2022, last changed 21st February 2022