streamio-cli 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -0
- data/README.md +7 -2
- data/lib/streamio-cli/version.rb +1 -1
- data/lib/streamio-cli.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,7 @@ A gem for interacting with Streamio through the command line.
|
|
9
9
|
## Usage
|
10
10
|
|
11
11
|
After installation you can use the streamio command from your
|
12
|
-
|
12
|
+
command line. To get a list of available tasks run `streamio` without
|
13
13
|
any arguments.
|
14
14
|
|
15
15
|
To get help on a specific task run `streamio help name_of_task`.
|
@@ -19,7 +19,7 @@ and available options for the export task.
|
|
19
19
|
### Export
|
20
20
|
|
21
21
|
You can use the export task to download all videos and audios
|
22
|
-
from your Streamio account. First use your
|
22
|
+
from your Streamio account. First use your command line to navigate
|
23
23
|
to a directory where you wish the export to be downloaded to.
|
24
24
|
Then use the command together with your api username and password
|
25
25
|
found under Account Settings > API when logged in to streamio.com.
|
@@ -42,5 +42,10 @@ be availible:
|
|
42
42
|
streamio-export/videos/<video_id>/<video_id>.json
|
43
43
|
streamio-export/videos/<audio_id>/<audio_id>.json
|
44
44
|
|
45
|
+
The export is idempotent - meaning that if you run it multiple
|
46
|
+
times from the same directory it will not re-download already
|
47
|
+
downloaded files. So don't worry about interupting the download
|
48
|
+
process to continue another time.
|
49
|
+
|
45
50
|
Note that it is likely that you will need a developer to actually
|
46
51
|
make use of the exported material.
|
data/lib/streamio-cli/version.rb
CHANGED
data/lib/streamio-cli.rb
CHANGED
@@ -103,7 +103,7 @@ module Streamio::CLI
|
|
103
103
|
waiting_for_speed_test = true
|
104
104
|
start_time = nil
|
105
105
|
http.request_get(uri.path) do |response|
|
106
|
-
File.open(filename, "
|
106
|
+
File.open(filename, "wb") do |file|
|
107
107
|
response.read_body do |data|
|
108
108
|
progress_bar.progress += data.length
|
109
109
|
file << data
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: streamio-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -103,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
segments:
|
105
105
|
- 0
|
106
|
-
hash: -
|
106
|
+
hash: -4078630850951257756
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
segments:
|
114
114
|
- 0
|
115
|
-
hash: -
|
115
|
+
hash: -4078630850951257756
|
116
116
|
requirements: []
|
117
117
|
rubyforge_project:
|
118
118
|
rubygems_version: 1.8.24
|