C# Class FlacLibSharp.FastFlac

Wrapper class for fast access to some of the FLAC functions
Mostrar archivo Open project: AaronLenoir/flaclibsharp

Public Methods

Method Description
GetAlbum ( string path ) : string

Gets the first album name.

GetArtist ( string path ) : string

Gets the first artist of the track.

GetDuration ( string path ) : int

Gets the duration of the track in seconds.

GetGenre ( string path ) : string

Gets the first genre of the track.

GetMetaData ( string path ) : List

Gives you all available metadata blocks in the flac file.

GetStreamInfo ( string path ) : StreamInfo

Gives you the StreamInfo metadata

GetTitle ( string path ) : string

Gets the first title of the track.

GetTrackNumber ( string path ) : string

Gets the first track number.

GetVorbisComment ( string path ) : VorbisComment

Gives you the vorbis comment metadata (ID3V2 tags).

GetVorbisField ( string path, string fieldName ) : VorbisCommentValues

Gets the specific vorbis field name (example = ARTIST) if it is available.

Method Details

GetAlbum() public static method

Gets the first album name.
public static GetAlbum ( string path ) : string
path string
return string

GetArtist() public static method

Gets the first artist of the track.
public static GetArtist ( string path ) : string
path string
return string

GetDuration() public static method

Gets the duration of the track in seconds.
public static GetDuration ( string path ) : int
path string
return int

GetGenre() public static method

Gets the first genre of the track.
public static GetGenre ( string path ) : string
path string
return string

GetMetaData() public static method

Gives you all available metadata blocks in the flac file.
public static GetMetaData ( string path ) : List
path string
return List

GetStreamInfo() public static method

Gives you the StreamInfo metadata
public static GetStreamInfo ( string path ) : StreamInfo
path string
return StreamInfo

GetTitle() public static method

Gets the first title of the track.
public static GetTitle ( string path ) : string
path string
return string

GetTrackNumber() public static method

Gets the first track number.
public static GetTrackNumber ( string path ) : string
path string
return string

GetVorbisComment() public static method

Gives you the vorbis comment metadata (ID3V2 tags).
public static GetVorbisComment ( string path ) : VorbisComment
path string
return VorbisComment

GetVorbisField() public static method

Gets the specific vorbis field name (example = ARTIST) if it is available.
public static GetVorbisField ( string path, string fieldName ) : VorbisCommentValues
path string
fieldName string
return VorbisCommentValues