spotify-to-mp3 0.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +9 -2
- data/bin/spotify-to-mp3 +2 -2
- data/spotify-to-mp3.gemspec +1 -1
- metadata +61 -37
data/README.markdown
CHANGED
@@ -4,9 +4,11 @@ A simple command line utility to download MP3 files of Spotify tracks
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
### Mac OS X (Lion)
|
7
|
+
### Mac OS X (Snow Leopard & Lion)
|
8
8
|
|
9
|
-
$ gem install spotify-to-mp3
|
9
|
+
$ sudo gem install spotify-to-mp3
|
10
|
+
|
11
|
+
Probably `sudo` can be ommited if using [rvm](http://beginrescueend.com/) or similar.
|
10
12
|
|
11
13
|
### Linux (Ubuntu 11.04)
|
12
14
|
|
@@ -40,6 +42,10 @@ Make sure you have rubygems installed and configured:
|
|
40
42
|
|
41
43
|
## Changelog
|
42
44
|
|
45
|
+
2011-10-03
|
46
|
+
|
47
|
+
- Make it work on ruby 1.8.7 (Snow Leopard)
|
48
|
+
|
43
49
|
2011-09-26
|
44
50
|
|
45
51
|
- Both Spotify URLs and plain song names are accepted
|
@@ -54,3 +60,4 @@ Make sure you have rubygems installed and configured:
|
|
54
60
|
- Filter Grooveshark results by artist, title and length
|
55
61
|
- Split code in multiple files
|
56
62
|
- --sync option to add/remove \*.mp3 files to match songs file
|
63
|
+
- It seems Grooveshark API fails after hundreds of calls
|
data/bin/spotify-to-mp3
CHANGED
@@ -144,8 +144,8 @@ class App
|
|
144
144
|
private
|
145
145
|
|
146
146
|
def filename
|
147
|
-
"#{@raw_grooveshark_song.artist} - #{@raw_grooveshark_song.name}.mp3"
|
148
|
-
|
147
|
+
name = "#{@raw_grooveshark_song.artist} - #{@raw_grooveshark_song.name}.mp3"
|
148
|
+
name.tr('/', '-') # / is not allowed in file names
|
149
149
|
end
|
150
150
|
|
151
151
|
def download_url(url)
|
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.4'
|
5
|
+
s.version = '0.4.1'
|
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,45 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spotify-to-mp3
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 1
|
10
|
+
version: 0.4.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Francesc
|
12
|
+
authors:
|
13
|
+
- "Francesc Ros\xC3\xA0s"
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-10-03 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: grooveshark
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
26
35
|
name: colorize
|
27
|
-
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
38
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
33
46
|
type: :runtime
|
34
|
-
|
35
|
-
version_requirements: *70201790963620
|
47
|
+
version_requirements: *id002
|
36
48
|
description: Download MP3 files of Spotify tracks
|
37
49
|
email: francescrosasbosque@gmail.com
|
38
|
-
executables:
|
50
|
+
executables:
|
39
51
|
- spotify-to-mp3
|
40
52
|
extensions: []
|
53
|
+
|
41
54
|
extra_rdoc_files: []
|
42
|
-
|
55
|
+
|
56
|
+
files:
|
43
57
|
- Gemfile
|
44
58
|
- Gemfile.lock
|
45
59
|
- README.markdown
|
@@ -47,26 +61,36 @@ files:
|
|
47
61
|
- spotify-to-mp3.gemspec
|
48
62
|
homepage: https://github.com/frosas/spotify-to-mp3
|
49
63
|
licenses: []
|
64
|
+
|
50
65
|
post_install_message:
|
51
66
|
rdoc_options: []
|
52
|
-
|
67
|
+
|
68
|
+
require_paths:
|
53
69
|
- .
|
54
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
55
71
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 3
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
version: "0"
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
80
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
hash: 3
|
85
|
+
segments:
|
86
|
+
- 0
|
87
|
+
version: "0"
|
66
88
|
requirements: []
|
89
|
+
|
67
90
|
rubyforge_project:
|
68
|
-
rubygems_version: 1.8.
|
91
|
+
rubygems_version: 1.8.6
|
69
92
|
signing_key:
|
70
93
|
specification_version: 3
|
71
94
|
summary: Spotify to MP3
|
72
95
|
test_files: []
|
96
|
+
|