tlapse 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/tlapse +1 -2
- data/lib/tlapse/capture.rb +5 -1
- data/lib/tlapse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2ed5fc48099ad9ff7169afb1553ccc446a5ab2b
|
4
|
+
data.tar.gz: a1cea862c5d1c619cb694f21d363dead569d8bef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eac506945ef939bad47e5ea0d9e1be02eed8c7cb47a3f73b1728350686c58b2961cc58842c72e8c21bb6dd36026199cad7a583f1ed4c163d60156d35423c71ce
|
7
|
+
data.tar.gz: 45b2fba3728e23a93ac5d35e3b5617c0ed91399488daaa8a88a2886ab226bad7a212129484cf26950a0e376e54571f41bf9313dd0679f4732879fc1ccbb0c9ae
|
data/bin/tlapse
CHANGED
@@ -21,7 +21,7 @@ end
|
|
21
21
|
desc "Capture a single photo, saving it to the current directory"
|
22
22
|
command :capture do |c|
|
23
23
|
c.action do |global_options, options, args|
|
24
|
-
capture_single
|
24
|
+
Tlapse::Capture.capture_single
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
@@ -50,7 +50,6 @@ end
|
|
50
50
|
|
51
51
|
desc "Use ffmpeg to combine all .jpg files in the current directory"
|
52
52
|
command :compile do |c|
|
53
|
-
|
54
53
|
c.switch :f, :force,
|
55
54
|
desc: "Force overwrite existing output files",
|
56
55
|
negatable: false
|
data/lib/tlapse/capture.rb
CHANGED
@@ -46,7 +46,11 @@ module Tlapse
|
|
46
46
|
end_time: to,
|
47
47
|
interval: interval
|
48
48
|
)
|
49
|
-
|
49
|
+
|
50
|
+
command = "gphoto2 --capture-image-and-download"
|
51
|
+
command += " -I #{interval}"
|
52
|
+
command += " -F #{captures}"
|
53
|
+
command += ' --filename "%Y-%m-%d_%H-%M-%S.jpg"'
|
50
54
|
end
|
51
55
|
|
52
56
|
##
|
data/lib/tlapse/version.rb
CHANGED