z4box 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/z4box/version.rb +2 -1
  3. data/lib/z4box.rb +8 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 042a659cdcb212623a7b6809ef9d6b8040a5fdc7c269df6613ac2bf5822501d3
4
- data.tar.gz: 5861bfb1fbdeea9d9d2d14cd4e958d2c5fd38b76475826ca1eb09727d57002a2
3
+ metadata.gz: 006cd796da0d5f698322496ab020ece63b3ed6529ff359d8a9c6802ecaa0b83d
4
+ data.tar.gz: c4558ce9819cbbd6e8a5acc02151abb4c44f5a0876d6cb2968a0556403ac8c9b
5
5
  SHA512:
6
- metadata.gz: 305907f563563f7f133e7b3f3a3cea4c1e9dba3383e86649b4cede6f31ea722886d38e05d172e8e8b33321b7ba30e5597c18874ff7bb60adae5be99f13382c62
7
- data.tar.gz: 6b976c1975357311caf35c105ef612b6061a5a3f2b490e6b6706ec62e91fc2d4880029c923d977fad8c643ccb3273d195c5fb4a77aec1bf195bc1a06f12490b5
6
+ metadata.gz: 94168b6de3d6d4bde73b5f75d9818c1843b58631980ce349e2e888d2fbd686ea8aebdde92c165111078101376e230ddb3c1f7442cc50c13142810053b4266e4f
7
+ data.tar.gz: 5304a8bc47d4474146674b1d9c116bdffeb5dcf391d2d1dce82182a6fae7623fbdca89e0cbcfc0de72a6d9ed05950478464c98e940cfd7a6b6b488bdabc708e5
data/lib/z4box/version.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Z4box
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
+ COMMIT = `git log --format="%H" -n 1`.strip
5
6
  end
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
- `cvlc #{r} #{s} &`
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
- @@VLC.connect
164
+ # Process.detach( fork {
165
+ @@VLC.connect
166
+ # } )
162
167
 
163
168
  ##
164
169
  # add items to playlist.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: z4box
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson