C# Class WaveBox.FolderScanning.FolderScanOperation

Inheritance: WaveBox.Core.OperationQueue.AbstractOperation
Datei anzeigen Open project: einsteinx2/WaveBox

Public Methods

Method Description
CreateSong ( string filePath, int folderId, TagLib file ) : Song
FolderScanOperation ( string path, int delayMilliSeconds ) : System
ProcessFile ( string file, int folderId ) : void
ProcessFolder ( int folderId ) : void
ProcessFolder ( string folderPath ) : void
SongNeedsUpdating ( string filePath, int folderId, bool &isNew, int &itemId ) : bool
Start ( ) : void

Private Methods

Method Description
ArtFileNeedsUpdating ( string filePath ) : bool
CreateArt ( TagLib file ) : Art
CreateArt ( string filePath ) : Art
CreateVideo ( string filePath, int folderId, TagLib file ) : Video
FileNeedsUpdating ( string filePath, int folderId, bool &isNew, int &itemId ) : bool
VideoNeedsUpdating ( string filePath, int folderId, bool &isNew, int &itemId ) : bool

Method Details

CreateSong() public method

public CreateSong ( string filePath, int folderId, TagLib file ) : Song
filePath string
folderId int
file TagLib
return WaveBox.Core.Model.Song

FolderScanOperation() public method

public FolderScanOperation ( string path, int delayMilliSeconds ) : System
path string
delayMilliSeconds int
return System

ProcessFile() public method

public ProcessFile ( string file, int folderId ) : void
file string
folderId int
return void

ProcessFolder() public method

public ProcessFolder ( int folderId ) : void
folderId int
return void

ProcessFolder() public method

public ProcessFolder ( string folderPath ) : void
folderPath string
return void

SongNeedsUpdating() public method

public SongNeedsUpdating ( string filePath, int folderId, bool &isNew, int &itemId ) : bool
filePath string
folderId int
isNew bool
itemId int
return bool

Start() public method

public Start ( ) : void
return void