C# Class MediaPortal.TagReader.TagReader

This class will manage all tagreader plugins See the ITag.cs for more information about tagreader plugins It will load all tagreader plugins and when Mediaportal wants information for a given music file it will check which tagreader plugin supports it and ask it to read the information which is then returned to mediaportal
Mostrar archivo Open project: MediaPortal/MediaPortal-1

Public Methods

Method Description
ReadTag ( string strFile ) : MediaPortal.TagReader.MusicTag

This method is called by mediaportal when it wants information for a music file The method will check which tagreader supports the file and ask it to extract the information from it

WriteLyrics ( string strFile, string strLyrics ) : bool

Private Methods

Method Description
IsAudio ( string fileName ) : bool
TagReader ( ) : System

Constructor This will load all tagreader plugins from plugins/tagreaders

Method Details

ReadTag() public static method

This method is called by mediaportal when it wants information for a music file The method will check which tagreader supports the file and ask it to extract the information from it
public static ReadTag ( string strFile ) : MediaPortal.TagReader.MusicTag
strFile string filename of the music file
return MediaPortal.TagReader.MusicTag

WriteLyrics() public static method

public static WriteLyrics ( string strFile, string strLyrics ) : bool
strFile string
strLyrics string
return bool