wco_models 3.1.0.230 → 3.1.0.231
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.
- checksums.yaml +4 -4
- data/app/models/wco/newsvideo.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abf6576ef1eac2559acf8a4f64756b5a6102eb5a3a6805aa2fd530f865397eca
|
|
4
|
+
data.tar.gz: 3106e032c1d73d21a31e4ecaeec7f9693b49570429b62d21f71efea71010ab0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 316a6bbdf4cc0a4639fdd1bd5843af8bb864013ea75204dd3c3e08a19fb3ca19bdebf0d9114ba004a9b1a36b8aecd1e0b3527d33ea28d873f74c0258996037f3
|
|
7
|
+
data.tar.gz: 200bb3433af5b8e0f655f5c9e66cea6c3b6c44a0efd5826b814a12c0cda4a8469aa446babd6eb0ad0bacfedef5726cf337be5241717f94a5b3637562c2916f58
|
data/app/models/wco/newsvideo.rb
CHANGED
|
@@ -67,8 +67,8 @@ class Wco::Newsvideo
|
|
|
67
67
|
## get base files locally
|
|
68
68
|
cmd = "cd #{Rails.root.join('tmp', @newsvideo.id)} ; "
|
|
69
69
|
@newsvideo.newspartials.each_with_index do |part, idx|
|
|
70
|
-
cmd = "#{cmd} wget -O newspartial_#{idx}.webm #{part.video.video.url} ; "
|
|
71
|
-
cmd = "#{cmd} wget -O newspartial_#{idx}.wav #{part.audio.url} ; "
|
|
70
|
+
cmd = "#{cmd} wget -nc -O newspartial_#{idx}.webm #{part.video.video.url} ; "
|
|
71
|
+
cmd = "#{cmd} wget -nc -O newspartial_#{idx}.wav #{part.audio.url} ; "
|
|
72
72
|
end
|
|
73
73
|
puts! cmd, 'cmd'
|
|
74
74
|
out = `#{cmd}`
|
|
@@ -77,7 +77,7 @@ class Wco::Newsvideo
|
|
|
77
77
|
## get overlays
|
|
78
78
|
cmd = "cd #{Rails.root.join('tmp', @newsvideo.id)} ; "
|
|
79
79
|
@newsvideo.newsoverlays.each_with_index do |overlay, idx|
|
|
80
|
-
cmd = "#{cmd} wget -O overlay_#{idx}.mp4 #{overlay.video.video.url} ; "
|
|
80
|
+
cmd = "#{cmd} wget -nc -O overlay_#{idx}.mp4 #{overlay.video.video.url} ; "
|
|
81
81
|
end
|
|
82
82
|
puts! cmd, 'cmd'
|
|
83
83
|
out = `#{cmd}`
|