C# Class ttaenc.AlbumReader

Datei anzeigen Open project: sidiandi/ttaudio Class Usage Examples

Public Methods

Method Description
ExportPicture ( IPicture picture, string exportDirectory ) : string
GetAlbums ( IEnumerable audioFiles ) : ttaenc.Album[]
GetAudioFiles ( IEnumerable paths ) : IEnumerable

Recursively finds all valid audio files in a list of files or directories

GetTrack ( FileInfo audioFile ) : Track
IsAudioFile ( FileInfo file ) : bool
IsFrontCover ( FileInfo file ) : bool
IsImageFile ( FileInfo file ) : bool
ReadAlbum ( DirectoryInfo directory ) : Album

Private Methods

Method Description
CreateFilePicture ( string picturePath ) : TagLib.IPicture
GetDirectoryIndex ( string path ) : uint
GetTracks ( IEnumerable audioFiles ) : ttaenc.Track[]

Method Details

ExportPicture() public static method

public static ExportPicture ( IPicture picture, string exportDirectory ) : string
picture IPicture
exportDirectory string
return string

GetAlbums() public method

public GetAlbums ( IEnumerable audioFiles ) : ttaenc.Album[]
audioFiles IEnumerable
return ttaenc.Album[]

GetAudioFiles() public method

Recursively finds all valid audio files in a list of files or directories
public GetAudioFiles ( IEnumerable paths ) : IEnumerable
paths IEnumerable
return IEnumerable

GetTrack() public method

public GetTrack ( FileInfo audioFile ) : Track
audioFile System.IO.FileInfo
return Track

IsAudioFile() public static method

public static IsAudioFile ( FileInfo file ) : bool
file System.IO.FileInfo
return bool

IsFrontCover() public static method

public static IsFrontCover ( FileInfo file ) : bool
file System.IO.FileInfo
return bool

IsImageFile() public static method

public static IsImageFile ( FileInfo file ) : bool
file System.IO.FileInfo
return bool

ReadAlbum() public method

public ReadAlbum ( DirectoryInfo directory ) : Album
directory System.IO.DirectoryInfo
return Album