audio_addict 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/audio_addict/auto_properties.rb +1 -1
- data/lib/audio_addict/config.rb +1 -1
- data/lib/audio_addict/radio.rb +4 -4
- data/lib/audio_addict/version.rb +1 -1
- metadata +14 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91453f066ec4703611e4661a6d4a0c31aea11a287b6707e17ce901afbe52d8d8
|
4
|
+
data.tar.gz: 1230f8e7dc1de069d6fc3379ebcff09d0a339ec2f0a9a5ebf703a7f4e19f2f3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2067364585f243a622f2b7f3ffc040e49e26fbb1c7569c7f4ed8929b45ce7fd3563f07628a2252eacac2b6f134cbbcce702f0dc921c7f44c315da97a39f44d30
|
7
|
+
data.tar.gz: 66ae0609a8e6c4b846fd599e2376a81d517d757c2d6ace61d9cf2325e6a4732c3c1d436e6a8c5901b9cef49274b9d36ed6e0df2c76a8c07447e40834d8638946
|
data/lib/audio_addict/config.rb
CHANGED
data/lib/audio_addict/radio.rb
CHANGED
@@ -37,7 +37,7 @@ module AudioAddict
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def initialize(network)
|
40
|
-
@network = network
|
40
|
+
@network = network.to_sym
|
41
41
|
end
|
42
42
|
|
43
43
|
def inspectable
|
@@ -45,15 +45,15 @@ module AudioAddict
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def name
|
48
|
-
NETWORKS[network
|
48
|
+
NETWORKS[network]
|
49
49
|
end
|
50
50
|
|
51
51
|
def domain
|
52
|
-
DOMAINS[network
|
52
|
+
DOMAINS[network]
|
53
53
|
end
|
54
54
|
|
55
55
|
def url_template
|
56
|
-
channel_path = network ==
|
56
|
+
channel_path = network == :zenradio ? 'zr%{channel_key}' : '%{channel_key}'
|
57
57
|
"http://prem2.#{domain}:80/#{channel_path}?%{listen_key}"
|
58
58
|
end
|
59
59
|
|
data/lib/audio_addict/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audio_addict
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: colsole
|
@@ -175,45 +174,45 @@ dependencies:
|
|
175
174
|
- !ruby/object:Gem::Version
|
176
175
|
version: '4'
|
177
176
|
- !ruby/object:Gem::Dependency
|
178
|
-
name:
|
177
|
+
name: logger
|
179
178
|
requirement: !ruby/object:Gem::Requirement
|
180
179
|
requirements:
|
181
180
|
- - ">="
|
182
181
|
- !ruby/object:Gem::Version
|
183
|
-
version: '
|
182
|
+
version: '1'
|
184
183
|
- - "<"
|
185
184
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
185
|
+
version: '3'
|
187
186
|
type: :runtime
|
188
187
|
prerelease: false
|
189
188
|
version_requirements: !ruby/object:Gem::Requirement
|
190
189
|
requirements:
|
191
190
|
- - ">="
|
192
191
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
192
|
+
version: '1'
|
194
193
|
- - "<"
|
195
194
|
- !ruby/object:Gem::Version
|
196
|
-
version: '
|
195
|
+
version: '3'
|
197
196
|
- !ruby/object:Gem::Dependency
|
198
|
-
name:
|
197
|
+
name: ostruct
|
199
198
|
requirement: !ruby/object:Gem::Requirement
|
200
199
|
requirements:
|
201
200
|
- - ">="
|
202
201
|
- !ruby/object:Gem::Version
|
203
|
-
version: '
|
202
|
+
version: '0'
|
204
203
|
- - "<"
|
205
204
|
- !ruby/object:Gem::Version
|
206
|
-
version: '
|
205
|
+
version: '2'
|
207
206
|
type: :runtime
|
208
207
|
prerelease: false
|
209
208
|
version_requirements: !ruby/object:Gem::Requirement
|
210
209
|
requirements:
|
211
210
|
- - ">="
|
212
211
|
- !ruby/object:Gem::Version
|
213
|
-
version: '
|
212
|
+
version: '0'
|
214
213
|
- - "<"
|
215
214
|
- !ruby/object:Gem::Version
|
216
|
-
version: '
|
215
|
+
version: '2'
|
217
216
|
description: Command line for playlist management and voting for AudioAddict radio
|
218
217
|
networks
|
219
218
|
email: db@dannyben.com
|
@@ -259,7 +258,6 @@ metadata:
|
|
259
258
|
changelog_uri: https://github.com/DannyBen/audio_addict/blob/master/CHANGELOG.md
|
260
259
|
source_code_uri: https://github.com/DannyBen/audio_addict
|
261
260
|
rubygems_mfa_required: 'true'
|
262
|
-
post_install_message:
|
263
261
|
rdoc_options: []
|
264
262
|
require_paths:
|
265
263
|
- lib
|
@@ -267,15 +265,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
267
265
|
requirements:
|
268
266
|
- - ">="
|
269
267
|
- !ruby/object:Gem::Version
|
270
|
-
version: 3.
|
268
|
+
version: '3.1'
|
271
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
270
|
requirements:
|
273
271
|
- - ">="
|
274
272
|
- !ruby/object:Gem::Version
|
275
273
|
version: '0'
|
276
274
|
requirements: []
|
277
|
-
rubygems_version: 3.
|
278
|
-
signing_key:
|
275
|
+
rubygems_version: 3.6.2
|
279
276
|
specification_version: 4
|
280
277
|
summary: AudioAddict Command Line
|
281
278
|
test_files: []
|