Skip to content

Commit

Permalink
Let resolve calls take a URL to use as a hint when fetching results
Browse files Browse the repository at this point in the history
  • Loading branch information
jwheare committed May 30, 2009
1 parent 5c44dbd commit 760842b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions playdar.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,12 @@ Playdar.Client.prototype = {
}
},

resolve: function (art, alb, trk, qid) {
resolve: function (artist, album, track, qid, url) {
var query = {
artist: art,
album: alb,
track: trk,
artist: artist || '',
album: album || '',
track: track || '',
url: url || '',
qid: qid || Playdar.Util.generate_uuid()
};
// Update resolving progress status
Expand Down

0 comments on commit 760842b

Please sign in to comment.