z4box 0.1.0 → 0.1.1

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: a385c1ab2a17ca2abce1ff1a3716a11e75193f6f1895fcc3825e5bb2d7ca711f
4
+ data.tar.gz: 72301a6e03785029ec8fd681db130568d887e37e8e88478cd5a87e4cb5b20e14
5
5
  SHA512:
6
- metadata.gz: 305907f563563f7f133e7b3f3a3cea4c1e9dba3383e86649b4cede6f31ea722886d38e05d172e8e8b33321b7ba30e5597c18874ff7bb60adae5be99f13382c62
7
- data.tar.gz: 6b976c1975357311caf35c105ef612b6061a5a3f2b490e6b6706ec62e91fc2d4880029c923d977fad8c643ccb3273d195c5fb4a77aec1bf195bc1a06f12490b5
6
+ metadata.gz: ef5ccf48026db04b0943cc55e708f00d6b515be9c026d953eb1d3311b0f9a9077c1271bb634cf0af0a39a1180daf8139f46b1acfd6aa5e451353e5f1ee36d3ce
7
+ data.tar.gz: 68d9928366a16fc196ad052d3e7feba25ca773a580918a77641b5c54468acb53421464120bb5d3e0507e6018b8676eb343fca97d035ef2af7a89ee2efced2855
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.1"
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson