This function is used to transfer metadata in or out of a track from/to the path of an audio file stored in a variable. The variable must contain an absolute path to the file.
When transferring in you have no access to the track's properties as they cannot be copied to the track receiving the metadata. You can elect to create a key/value list in in a specified variable. The list will contain all of the relevant properties defined in the Get Property statement. The key value separator is the default ≔ character. The list delimiter is \n. You would use the List Key statement to access the values. .
You can transfer all metadata, all metadata except Unhandled or you can select which metadata items are to be transferred or not transferred. While Unhandled items can be selected, they are never transferred unless the source and destination have the same audio file type. If you have specifed that Unhandled should be copied and the source and destination files have a different audio file type, all Unhandled items in the destination file are removed. Note that when transferring all fields not selected, an empty list will transfer all fields. This method will properly handle the addition of additional field types in the future.
When transferring User Defined Text Info, User Defined URLs and Comments, exclusions can be specified in named variable Transfer UDTI Exclusions. The name of the named variable is historic. It is formatted as follows:
Items can be entered one per line or separated by commas. The following case insensitive keywords can be specified to switch the field type of the listed items. All items before one of the keywords are encountered are assumed to be UDTIs.
- udtis:
- Subsequent items are User Defined Text Objects.
- urls:
- Subsequent items are User Defined URLs.
- comments:
- Subsequent items are Comments.
When transferring out there are additional options:
When transferring out the process is as follows:
If the statement succeeds, the action test state will be set to true, otherwise it will be set to false. When running stepwise the action test state will be false if there were any failures.
On a per file basis, status is retained by the use of the Save Error and Network Response properties. The following combinations can occur:
The Once setting is only meaningful when running stepwise. When Once is set a transfer is only attempted for the first selected file.