node-taglib-sharp / Exports / AacFileSettings
This class contains settings related to AAC file operations. Open files will need to be re-read in order for changes to take effect.
• new AacFileSettings()
▪ Static
Readonly
SUPPORTED_TAG_TYPES: TagTypes
List of the tag types that are supported by the AAC file.
• Static
get
defaultTagTypes(): TagTypes
Gets the default types of tags for an AAC file. When opening a file, if these tag types do not exist on the file, they will be created.
• Static
set
defaultTagTypes(value
): void
Sets the default types of tags for an AAC file. When opening a file, if these tag types do not exist on the file, they will be created. See SUPPORTED_TAG_TYPES for a list of tag types that are supported by node-taglib-sharp for AAC files.
Name | Type |
---|---|
value |
TagTypes |
void
• Static
get
preferApeTagAtFileEnd(): boolean
Gets whether new APE tags should be stored at the end of the file. If true
new
APE tags will be stored at the end of the file. If false
new APE tags will be stored at
the beginning of the file (not recommended). Note, this only affects new APE tags.
Existing APE tags will not be moved unless removed and re-added.
Default
true
boolean
• Static
set
preferApeTagAtFileEnd(value
): void
Gets whether new APE tags should be stored at the end of the file. If true
new
APE tags will be stored at the end of the file. If false
new APE tags will be stored at
the beginning of the file (not recommended). Note, this only affects new APE tags.
Existing APE tags will not be moved unless removed and re-added.
Default
true
Name | Type |
---|---|
value |
boolean |
void
• Static
get
preferId3v2TagAtFileEnd(): boolean
Gets whether new ID3v2 tags should be stored at the end of the file. If true
new
ID3v2 tags will be stored at the end of the file. If false
new ID3v2 tags will be stored
at the beginning of the file. Note, this only affects new ID3v2 tags. Existing ID3v2 tags
will not be moved unless removed and re-added.
Remarks
In order to store an ID3v2 tag at the end of a file, it must have a tag footer. Tag footers are only supported in ID3v2.4. If the ID3v2 version is changed, it will cause an error to be thrown when the tag is rendered.
Default
false
boolean
• Static
set
preferId3v2TagAtFileEnd(value
): void
Sets whether new ID3v2 tags should be stored at the end of the file. If true
new
ID3v2 tags will be stored at the end of the file. If false
new ID3v2 tags will be stored
at the beginning of the file. Note, this only affects new ID3v2 tags. Existing ID3v2 tags
will not be moved unless removed and re-added.
Remarks
In order to store an ID3v2 tag at the end of a file, it must have a tag footer. Tag footers are only supported in ID3v2.4. If the ID3v2 version is changed, it will cause an error to be thrown when the tag is rendered.
Default
false
Name | Type |
---|---|
value |
boolean |
void