spotify-to-mp3 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +0 -3
- data/bin/spotify-to-mp3 +1 -1
- data/spotify-to-mp3.gemspec +1 -1
- metadata +5 -5
data/README.markdown
CHANGED
@@ -21,9 +21,6 @@ A simple command line utility to download MP3 files of Spotify tracks
|
|
21
21
|
|
22
22
|
## TODO
|
23
23
|
|
24
|
-
- Get best song on Grooveshark
|
25
|
-
- Best matching artist, title and length
|
26
|
-
- Best quality
|
27
24
|
- Consider multiple artists songs
|
28
25
|
- Show download progress
|
29
26
|
- Estimated download time
|
data/bin/spotify-to-mp3
CHANGED
@@ -47,7 +47,7 @@ class SpotifyToMp3
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def song_url(artist, title)
|
50
|
-
song = @client.search_songs("#{artist} #{title}").first
|
50
|
+
song = @client.search_songs("artist:\"#{artist}\" title:\"#{title}\"").first
|
51
51
|
raise "Song not found" if song.nil?
|
52
52
|
@client.get_song_url(song)
|
53
53
|
end
|
data/spotify-to-mp3.gemspec
CHANGED
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'spotify-to-mp3'
|
3
3
|
s.summary = 'Spotify to MP3'
|
4
4
|
s.description = 'Download MP3 files of Spotify tracks'
|
5
|
-
s.version = '0.
|
5
|
+
s.version = '0.3'
|
6
6
|
s.author = 'Francesc Rosàs'
|
7
7
|
s.email = 'francescrosasbosque@gmail.com'
|
8
8
|
s.homepage = 'https://github.com/frosas/spotify-to-mp3'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spotify-to-mp3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.3'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-09-20 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: grooveshark
|
16
|
-
requirement: &
|
16
|
+
requirement: &70282061059140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70282061059140
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: colorize
|
27
|
-
requirement: &
|
27
|
+
requirement: &70282061036560 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70282061036560
|
36
36
|
description: Download MP3 files of Spotify tracks
|
37
37
|
email: francescrosasbosque@gmail.com
|
38
38
|
executables:
|