JVCL Help:TJvID3Frames.CheckIsUnique
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvID3Frames.CheckIsUnique Method
[+] TJvID3Frames Methods
[+] TJvID3Frames Properties
Search in JVCL Help
Search in all projectsSummary
Checks whether a specific frame is unique in the tag.
Pascal
functionCheckIsUnique(Frame: TJvID3Frame): Boolean;
Parameters
Parameters | Description |
Frame: TJvID3Frame | The frame to check. |
Return Value
Returns true if no duplicate frame of the specific frame was found in the tag; returns false otherwise.
Description
Call CheckIsUnique to check whether a specific frame is unique in the tag. The ID3 v2 specification forbids that there are duplicate frames in the tag. What makes a frame a duplicate of another frame depends on the frame identifier, for example:
- A text frame is a duplicate of another text frame if it has thesame frame identifier. For example, there may be only one fiAlbum frame in a tag.
- A content frame is a duplicate of another content frame if it has the same language and content descriptor.
- A picture frame is a duplicate of another picture frame if it has the same content descriptor (PictureType and Description) or both PictureType properties are set to ptOther or ptFileIcon.
When you call Commit the tag controller always checks whether all frames in the tag are unique.
See Also
TJvID3Controller.Commit, TJvID3Frames.CheckFrames
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page