z4box 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/z4box/version.rb +2 -1
- data/lib/z4box.rb +8 -3
- 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: a385c1ab2a17ca2abce1ff1a3716a11e75193f6f1895fcc3825e5bb2d7ca711f
|
4
|
+
data.tar.gz: 72301a6e03785029ec8fd681db130568d887e37e8e88478cd5a87e4cb5b20e14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef5ccf48026db04b0943cc55e708f00d6b515be9c026d953eb1d3311b0f9a9077c1271bb634cf0af0a39a1180daf8139f46b1acfd6aa5e451353e5f1ee36d3ce
|
7
|
+
data.tar.gz: 68d9928366a16fc196ad052d3e7feba25ca773a580918a77641b5c54468acb53421464120bb5d3e0507e6018b8676eb343fca97d035ef2af7a89ee2efced2855
|
data/lib/z4box/version.rb
CHANGED
data/lib/z4box.rb
CHANGED
@@ -155,10 +155,15 @@ module Z4box
|
|
155
155
|
# define output stream
|
156
156
|
s = ":screen-fps=30 :screen-caching=100 --sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1024,height=768 }:standard{access=http, mux=ts, dst=:8080}'"
|
157
157
|
# start vlc server.
|
158
|
-
|
159
|
-
|
158
|
+
Process.detach( fork {
|
159
|
+
`cvlc #{r} #{s} &`
|
160
|
+
} )
|
161
|
+
sleep 5
|
162
|
+
|
160
163
|
@@VLC = VLC::Client.new('127.0.0.1', 9595)
|
161
|
-
|
164
|
+
# Process.detach( fork {
|
165
|
+
@@VLC.connect
|
166
|
+
# } )
|
162
167
|
|
163
168
|
##
|
164
169
|
# add items to playlist.
|