public PlaylistFind ( ScopeSpecifier scopeSpecifier, string token ) : List |
||
scopeSpecifier | ScopeSpecifier | The attribute to search for the given value. |
token | string | The value to search for in the given attribute. |
Результат | List |
public List<MpdFile> PlaylistFind(ScopeSpecifier scopeSpecifier, string token)
{
if (token == null)
throw new ArgumentNullException("token");
token = EscapeString(token);
MpdResponse response = this.getConnection().Exec("playlistfind", new string[] { this.toTag(scopeSpecifier), token });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
return MpdFile.buildList(response);
}