Click or drag to resize

LiteFile Class

Encapsulates a single file that has been opened and parsed for ID3 tag information.
Inheritance Hierarchy
SystemObject
  Orthogonal.NTagLiteLiteFile

Namespace: Orthogonal.NTagLite
Assembly: Orthogonal.NTagLite (in Orthogonal.NTagLite.dll) Version: 3.0.4
Syntax
C#
public class LiteFile

The LiteFile type exposes the following members.

Constructors
 NameDescription
Public methodLiteFileInitializes a new instance of the LiteFile class
Top
Properties
 NameDescription
Public propertyAudioLength Gets the length of the audio data.
Public propertyAudioMode The audio channels mode.
Public propertyAudioSyncOffset Gets the offset into the file where the first audio sync (11 one bits) was found after the ID3 tag.
Public propertyBitrate The audio sampling bitrate.
Public propertyCreated Gets the created UTC time of the parsed file.
Public propertyDuration The audio duration in seconds (the play time).
Public propertyFilename Gets the name of the file which was parsed to generate this class instance.
Public propertyFrequency The audio sampling frequency.
Public propertyLength Gets the original length of the parsed file.
Public propertyModified Gets the modified UTC time of the parsed file.
Public propertyPaddingLength Gets the length of the optional padding that may follow the last frame in a v2 tag.
Public propertyPaddingOffset Gets the offset to the start of the optional padding that may follow the last frame in a v2 tag.
Public propertyTag Gets a reference to the Tag object containing ID3 V2 and V1 tag information parsed out of a file.
Top
Methods
 NameDescription
Public methodGetAudio Gets some of the leading audio data if it's available.
Public methodStatic memberGetGenreItems Gets a set of standard genre items.
Public methodStatic memberGetMediaGroups Gets a set of standard media group names and their child items.
Public methodStatic memberLoadFromFile Loads tag information from a file.
Public methodPrint Prints a formatted dump of a LiteFile instance and all of its nested properties. The dump is returned as an indented multi-line string suitable for diagnostics display.
Public methodSortFrames Sorts the frames into the sequence the Frame IDs are defined in the config file.
Public methodSortFrames(ComparisonFrame) Sorts the frames into a sequence defined by the caller.
Public methodUpdateFile Updates a file with a V2 tag (the default behaviour). The file that is updated is the one from which the LiteFile instance was loaded.
Public methodUpdateFile(LiteUpdateTags) Updates a file with ID3 tags, replacing or removing tags according to the value of the updateTags argument. The file that is updated is the one from which the LiteFile instance was loaded.
Public methodUpdateFile(String, LiteUpdateTags) Updates a file with ID3 tags, replacing or removing tags according to the value of the updateTags argument.
Top
See Also