JOCHLSDownloader 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/JOCHLSDownloader.rb +8 -5
  2. metadata +1 -1
@@ -15,11 +15,11 @@ require 'uri'
15
15
  class CJOCHLSDownloader
16
16
 
17
17
  #Initialize CJOCHLSDownloader
18
- # ==== Attributes
19
- # * +url+ [String] the HLS source string
20
- # * +path+ [String] base path of all downloaded content
21
- # * +logfile+ [String] log file to save the logs (optional)
22
- # * +loglevel+ log level, could be Logger::FATAL, Logger::ERROR, Logger::WARN, Logger::INFO, Logger::DEBUG (optional)
18
+ #
19
+ # @param url [String] the HLS source string
20
+ # @param path [String] base path of all downloaded content
21
+ # @param logfile [String] log file to save the logs (optional)
22
+ # @param loglevel log level, could be Logger::FATAL, Logger::ERROR, Logger::WARN, Logger::INFO, Logger::DEBUG (optional)
23
23
  def initialize(url, path, logfile = nil, loglevel = Logger::INFO)
24
24
 
25
25
  @sourceurl = URI(url)
@@ -52,6 +52,7 @@ class CJOCHLSDownloader
52
52
  private
53
53
 
54
54
  #Download a m3u8 file and call to parse function
55
+ #
55
56
  # @param domain [String] Source domain to download m3u8 file
56
57
  # @param url [String] Source url path to download m3u8 file
57
58
  # @param basedir [String] local filesystem path to save the downloaded files
@@ -86,6 +87,7 @@ private
86
87
  end
87
88
 
88
89
  #Parse a m3u8 file
90
+ #
89
91
  # @param file [String] path to donwloaded m3u8 to parse
90
92
  # @param domain [String] Source domain of downloaded m3u8 file
91
93
  # @param url [String] Source url path to downloaded m3u8 file
@@ -119,6 +121,7 @@ private
119
121
  end
120
122
 
121
123
  #Send a log to file or to stderr
124
+ #
122
125
  # @param type type of log
123
126
  # @param message [String] log message
124
127
  def Log (type, message)
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.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: