C# Class MPTagThat.GridView.LyricsSearch

Inheritance: MPTagThat.Core.ShapedForm, ILyricForm
显示文件 Open project: MediaPortal/MPTagThat Class Usage Examples

Public Properties

Property Type Description
_delegateLyricFound DelegateLyricFound
_delegateLyricNotFound DelegateLyricNotFound
_delegateStringUpdate DelegateStringUpdate
_delegateThreadException DelegateThreadException
_delegateThreadFinished DelegateThreadFinished

Public Methods

Method Description
LyricsSearch ( List tracks ) : System

Private Methods

Method Description
CreateColumns ( ) : void

Create the Columns of the Grid based on the users setting

GetStrippedPrefixArtist ( string artist, string strippedPrefixStringArray ) : string
Localisation ( ) : void
OnLoad ( object sender, EventArgs e ) : void
SaveSettings ( ) : void

Save the settings

StopThread ( ) : void
SwitchArtist ( string artist ) : string

Switches the Artist, if it is separated with a "colon"

TrimTitle ( string title ) : string

Cleans the title before submitting for Lyrics search

bgWorkerLyrics_DoWork ( object sender, DoWorkEventArgs e ) : void
bgWorkerLyrics_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
bgWorkerLyrics_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
btCancel_Click ( object sender, EventArgs e ) : void
btUpdate_Click ( object sender, EventArgs e ) : void
lyricFound ( String lyricStrings, String artist, String title, String site, int row ) : void
lyricNotFound ( String artist, String title, String message, String site, int row ) : void
threadException ( Object o ) : void
threadFinished ( string artist, string title, string message, string site ) : void

Method Details

LyricsSearch() public method

public LyricsSearch ( List tracks ) : System
tracks List
return System

Property Details

_delegateLyricFound public_oe property

public DelegateLyricFound _delegateLyricFound
return DelegateLyricFound

_delegateLyricNotFound public_oe property

public DelegateLyricNotFound _delegateLyricNotFound
return DelegateLyricNotFound

_delegateStringUpdate public_oe property

public DelegateStringUpdate _delegateStringUpdate
return DelegateStringUpdate

_delegateThreadException public_oe property

public DelegateThreadException _delegateThreadException
return DelegateThreadException

_delegateThreadFinished public_oe property

public DelegateThreadFinished _delegateThreadFinished
return DelegateThreadFinished