Skip to content
This repository has been archived by the owner on Jan 9, 2018. It is now read-only.

Commit

Permalink
1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwestendorf committed Dec 28, 2012
1 parent ecfac71 commit 09270ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion Thumper/Classes/Subsonic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def build_request(resource, options)
value.collect {|array_value| "#{key}=#{array_value}"}.join("&")
end
end
url = NSURL.URLWithString(@base_url + resource + "?" + options_string.join("&") + @extra_params)
url = NSURL.URLWithString(@base_url + resource + "?" + options_string.join("&") + @extra_params + "&u=#{@username}&p=#{@password}")
NSLog "#{url.absoluteString}"
request = NSMutableURLRequest.requestWithURL(url, cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData, timeoutInterval:5.0)
request.setValue("Basic #{@auth_token}", forHTTPHeaderField:"Authorization")
Expand Down

0 comments on commit 09270ec

Please sign in to comment.