JVCL Help:TJvID3Controller.Commit

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Writes a modified tag to the file.


Pascal

 procedureCommit;


Description

Call Commit to write a modified tag to the file specified by property FileName.
You can use WriteEncodingAs and WriteVersionAs to enforce that the frames in the tag will be written with a specific encoding, and enforce the tag to be written as a specific version, resp. It is recommended to use Version instead of WriteVersionAs.
When you call Commit the tag controller checks whether all frames in the tag are unique and whether the values of the frames are correct. Depending on the value of Options the duplicate frames are removed and invalid values are corrected or an error is raised.
The tag controller specified by AController must be active - Do this by setting Active to true or calling Open.


See Also

TJvID3Controller.Erase, TJvID3Frames.CheckFrames, TJvID3Frames.RemoveEmptyFrames


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