douban.fm 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/bin/douban.fm +1 -1
- data/lib/douban.fm/version.rb +1 -1
- metadata +6 -6
data/README.md
CHANGED
@@ -71,7 +71,8 @@ Basically there are two ways to play music
|
|
71
71
|
* if "-m -i" is provided, a web server will start listening on 3000 by default, and you may
|
72
72
|
* GET /channels to get all available channels
|
73
73
|
* GET /now to get current playing channel
|
74
|
-
* GET /channel/<id> to switch to channel of the specified id
|
74
|
+
* GET /channel/<id> to switch to channel of the specified id, if id is -1, channel will be selected randomly
|
75
|
+
each time fetching playlist
|
75
76
|
|
76
77
|
## Contributing
|
77
78
|
|
data/bin/douban.fm
CHANGED
@@ -235,7 +235,7 @@ class DoubanFMCLI
|
|
235
235
|
if count == 360
|
236
236
|
logger.log('playlist has been updated for around one hour, go clear it')
|
237
237
|
|
238
|
-
@
|
238
|
+
@douban_fm.clear_mpd_playlist(options.remote_host, options.remote_port)
|
239
239
|
count = 0
|
240
240
|
end
|
241
241
|
else
|
data/lib/douban.fm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: douban.fm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-mpd
|
16
|
-
requirement: &
|
16
|
+
requirement: &70121394052760 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.1.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70121394052760
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: highline
|
27
|
-
requirement: &
|
27
|
+
requirement: &70121394052040 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 1.6.15
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70121394052040
|
36
36
|
description: douban.fm
|
37
37
|
email:
|
38
38
|
- hxliang1982@gmail.com
|