/// <summary> /// The query to execute. /// </summary> public override string GetQuery(QueryInfo query) { if (query.Equals (last_query, QueryField.Artist)) return null; string url = "http://ws.audioscrobbler.com/1.0/artist/{0}/toptracks.xml"; return ParseQuery (url, query.Artist); }
/// <summary> /// The query to execute. /// </summary> public override string GetQuery(QueryInfo query) { if (query.Equals (last_query, QueryField.Username)) return null; string url = "http://ws.audioscrobbler.com/1.0/user/{0}/topartists.xml"; return ParseQuery (url, query.Username); }
/// <summary> /// The query to execute. /// </summary> public override string GetQuery(QueryInfo query) { if (query.Equals (last_query, QueryField.Artist, QueryField.Album)) return null; string url = "http://ws.audioscrobbler.com/1.0/album/{0}/{1}/info.xml"; return ParseQuery (url, query.Artist, query.Album); }
/// <summary> /// The query to execute. /// </summary> public override string GetQuery(QueryInfo query) { if (query.Equals (last_query, QueryField.Artist, QueryField.Title)) return null; string url = "http://lyricwiki.org/api.php?artist={0}&song={1}&fmt=xml"; return ParseQuery (url, query.Artist, query.Title); }
/// <summary> /// The query to execute. /// </summary> public override string GetQuery(QueryInfo query) { if (query.Equals (last_query, QueryField.Artist, QueryField.Title)) return null; string url = "http://ws.audioscrobbler.com/1.0/track/{0}/{1}/similar.xml"; return ParseQuery (url, query.Artist, query.Title); }