JOCHLSDownloader 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.md +5 -1
  2. metadata +1 -1
data/README.md CHANGED
@@ -7,12 +7,12 @@ Usage examples:
7
7
 
8
8
  require 'JOCHLSDownloader.rb'
9
9
 
10
- #URL from HLS apple example
11
10
  url = "https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8"
12
11
  downloadpath = "./donloadtestfiles"
13
12
  logfilename = "jochlsdownloader.log"
14
13
 
15
14
  begin
15
+
16
16
  hlsdownloader = CJOCHLSDownloader.new(url, downloadpath, logfilename, Logger::DEBUG)
17
17
 
18
18
  hlsdownloader.startdownload
@@ -20,5 +20,9 @@ begin
20
20
  puts "End!"
21
21
 
22
22
  rescue Exception => e
23
+
23
24
  puts "Error: #{e.message}, Trace: #{e.backtrace.inspect}"
25
+
24
26
  end
27
+
28
+ Note: Test URL from Apple HLS example
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: JOCHLSDownloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: