Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix undefined method `rdio_url` #3

Merged
merged 1 commit into from

2 participants

@EtienneLem

rdio_urldoesn’t exist anymore.

@pengwynn
Owner

Ah nice catch

@pengwynn pengwynn merged commit 7ba73f3 into from
@EtienneLem EtienneLem deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 31, 2012
  1. @EtienneLem
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rdio.rb
View
4 lib/rdio.rb
@@ -54,7 +54,7 @@ def self.write_config
end
def self.current_track_key
- data = api.call 'getObjectFromUrl', { :url => rdio_url }
+ data = api.call 'getObjectFromUrl', { :url => bridge.current_url }
data['result']['key']
end
@@ -131,7 +131,7 @@ def self.add_to_collection(tracks)
command :browse do |c|
c.action do |global_options,options,args|
protocol = args.first == 'app' ? 'rdio' : 'http'
- exec "open '#{rdio_url protocol}'"
+ exec "open '#{bridge.current_url protocol}'"
end
end
Something went wrong with that request. Please try again.