douban.fm 0.2.7 → 0.2.8

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.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
 
@@ -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
- @douban_fmn.clear_mpd_playlist(options.remote_host, options.remote_port)
238
+ @douban_fm.clear_mpd_playlist(options.remote_host, options.remote_port)
239
239
  count = 0
240
240
  end
241
241
  else
@@ -1,3 +1,3 @@
1
1
  module DoubanFM
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
  end
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.7
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-22 00:00:00.000000000 Z
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: &70283801171180 !ruby/object:Gem::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: *70283801171180
24
+ version_requirements: *70121394052760
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: highline
27
- requirement: &70283801170340 !ruby/object:Gem::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: *70283801170340
35
+ version_requirements: *70121394052040
36
36
  description: douban.fm
37
37
  email:
38
38
  - hxliang1982@gmail.com