Method | Description | |
---|---|---|
GetGenreCode ( string genreName ) : byte |
Returns the genre code of the specified genre name. The search is case-insensitive. |
|
GetGenreList ( ) : string[] |
Returns a copy of the list of standard genre names.
|
|
GetGenreName ( byte code ) : string |
Returns the name of genre corresponding with the given code.
|
|
TranslateToID3Friendly ( string genre ) : string |
Translates a user entered genre name to a string that can be written to an ID3 tag.
|
|
TranslateToUserFriendly ( string genre ) : string |
Translates a genre string as found in an ID3 tag to a user friendly representative.
|
Method | Description | |
---|---|---|
LoadGenereDictionary ( ) : void |
public GetGenreCode ( string genreName ) : byte | ||
genreName | string | The name of the genre. |
return | byte |
public GetGenreName ( byte code ) : string | ||
code | byte | The code of the genre. |
return | string |
public TranslateToID3Friendly ( string genre ) : string | ||
genre | string | The string representing the genre as entered by the user. |
return | string |
public TranslateToUserFriendly ( string genre ) : string | ||
genre | string | The genre name as found in the ID3 tag. |
return | string |