muzak 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64f9b1939f3f50d2a64717f9becb02ed072f37e2
4
- data.tar.gz: ff514441823414639bb1df7917517fae7e991eac
3
+ metadata.gz: 867c8b61267ab0bbce8139849e0bc3387d9048f4
4
+ data.tar.gz: 2715df6706d0acdbe70351057995d2c5736a68ba
5
5
  SHA512:
6
- metadata.gz: d49e644fb6ad60237635b412ec0c0595fcc51e60d3e2491deb9ad0aa4959afc074bd18fd0bf9d44e456baf60ed506fd5d1923756c39e2cc89f93388eef2cbbe0
7
- data.tar.gz: be732cb96cf268795b9bf89f9b1eb2745c283d2fbbbd123af902bf56df13a45d97841ba3b784d56896a39d78b764cef8c80aa883d3816b0932bee18849e5e4cb
6
+ metadata.gz: 44c9b41bacd69b1587233762b6206f419a872a19df7954465d25c01eb698e182e78d126f5da5b4474ffa768ffb159bee6e4a7a892d37f6e3f8b8d456a3d0e6ba
7
+ data.tar.gz: 43dd535b13842c7951acd86ad125afd587ab9e74f933e4f30a28667d0bde681b2c2008b8e023dcf881c0b0def7c3a9214235804e5a8147a1495499fc66d99102
data/README.md CHANGED
@@ -37,3 +37,4 @@ as well as on RubyDoc.
37
37
  * GUI "frontend"?
38
38
  * current indexing/sorting logic is terrible
39
39
  * figure out how to do events/album art in VLC
40
+ * rewrite plugin event system
@@ -14,5 +14,5 @@ require_relative "muzak/instance"
14
14
  # The primary namespace for muzak.
15
15
  module Muzak
16
16
  # Muzak's current version
17
- VERSION = "0.5.0"
17
+ VERSION = "0.5.1"
18
18
  end
@@ -38,7 +38,7 @@ module Muzak
38
38
  args = DEFAULT_MPV_ARGS + configured_mpv_args
39
39
 
40
40
  @mpv = ::MPV::Session.new(user_args: args)
41
- @mpv.callbacks << ::MPV::Callback.new(self, :dispatch_event!)
41
+ @mpv.callbacks << method(:dispatch_event!)
42
42
 
43
43
  instance.event :player_activated
44
44
  end
@@ -178,7 +178,7 @@ module Muzak
178
178
  # this is an experimental flag, but it could improve
179
179
  # muzak's load times substantially when used with a network
180
180
  # mounted music library
181
- args << "--prefetch-playlist" if ::MPV::Server.has_flag?("--prefetch-playlist")
181
+ args << "--prefetch-playlist" if ::MPV::Server.flag?("--prefetch-playlist")
182
182
 
183
183
  args
184
184
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muzak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Woodruff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-03 00:00:00.000000000 Z
11
+ date: 2017-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: taglib-ruby
@@ -30,20 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.2'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 1.2.0
33
+ version: '2.0'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '1.2'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 1.2.0
40
+ version: '2.0'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: vlc-client
49
43
  requirement: !ruby/object:Gem::Requirement