rbtune 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/player/mplayer.rb +2 -1
- data/lib/rbtune/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5e280b91c967fad699e9d8741a7ad90721431d592b26fd1a838c224cb1c0f94
|
4
|
+
data.tar.gz: b68ed39a2b494f2af7f6626e3d30959917a64a43d8c2b4a6e888bbca338b3333
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6de553a844e73b388e26284e51d157c01ac931802e043158a621c943f7ceedadcced7d6c59cb1d69098f4d1aec84f22c5160d2c4159ec36789da24dbf981189
|
7
|
+
data.tar.gz: b5769b820fc79b85bc4f3fe7c8d4ec12829a0deb86963fecc036d2e8d84304dc91f3052e38b068469d722d6236f6a5cb1aa84d1f765741e839258cc937f9aa25
|
data/lib/player/mplayer.rb
CHANGED
@@ -5,6 +5,8 @@ require "player/player"
|
|
5
5
|
|
6
6
|
class Mplayer < Player
|
7
7
|
|
8
|
+
WAIT_LIMIT = 3
|
9
|
+
|
8
10
|
def initialize(url)
|
9
11
|
@url=url
|
10
12
|
self['cache'] = 64
|
@@ -46,7 +48,6 @@ class Mplayer < Player
|
|
46
48
|
psec = dsec
|
47
49
|
wait = 0
|
48
50
|
i = 0
|
49
|
-
WAIT_LIMIT = 3
|
50
51
|
while dsec <= sec
|
51
52
|
dsec = duration(file)
|
52
53
|
if dsec == psec
|
data/lib/rbtune/version.rb
CHANGED