vollbremsung 0.0.10 → 0.0.11
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 +8 -8
- data/bin/vollbremsung +2 -2
- data/lib/vollbremsung.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
M2NmMTg4ZmU3NzI5OTk4OWM0NDA1NjhjNzE0NTZmNjViMGU1MWQ5NQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDUwYmMxMjdjY2M5NTgyOTRjMGIzYjg1MzJkN2EwOTY4ODI1OWU5Yg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YmVlYjJjYTExYjdjOWMxMDdmNjhiMjRiNWZlZWUxZGMwZjY1NzQ2MDcyYTU3
|
|
10
|
+
MjIxMjhjODdjZTQ4OTI2NTFhY2QyMDNjOGY1NmQxZDRjYzcxN2JhMDFmZDdh
|
|
11
|
+
MWI1NDNjZGZiYWY3OThmYWEwZTIzYjA3MjYzZWFhMDM5Njc5OGY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MDI2ZTFiYTAxZDQ3MzliOGQzYmRmNDU2ZWQ0YzZhMzRmYzFiYzg2YTJhOWUw
|
|
14
|
+
ZDY1ZTdhMWU1OGVkMDA5YzJiOWIxZTQ1ZjU4ODg3MWU0ZjBmZTZmMzBlYjkx
|
|
15
|
+
YThmNmUwODBmNDA3YzhhYjRjNTVlMjA4NmU1YjVmZDRkMTNlMWQ=
|
data/bin/vollbremsung
CHANGED
|
@@ -54,7 +54,7 @@ OptionParser.new do |opts|
|
|
|
54
54
|
options[:recursive] = true
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
opts.on("-t", "--title", "Set the MP4 title to the filename") do |flag|
|
|
57
|
+
opts.on("-t", "--title", "Set the MP4 metadata title tag to the filename") do |flag|
|
|
58
58
|
options[:title] = true
|
|
59
59
|
end
|
|
60
60
|
|
|
@@ -129,7 +129,7 @@ if File.directory?(TARGET_PATH)
|
|
|
129
129
|
|
|
130
130
|
scope = options[:recursive] ? "/**/*" : "/*"
|
|
131
131
|
|
|
132
|
-
Dir[TARGET_PATH + scope].sort.each do |file|
|
|
132
|
+
Dir[File.absolute_path(TARGET_PATH) + scope].sort.each do |file|
|
|
133
133
|
unless File.directory?(file)
|
|
134
134
|
if Vollbremsung::CONVERT_TYPES.include?(File.extname(file).downcase[1..-1])
|
|
135
135
|
puts "* " + file[TARGET_PATH.length+1..-1]
|
data/lib/vollbremsung.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Vollbremsung
|
|
2
2
|
|
|
3
3
|
USAGE = "Usage: vollbremsung [options] <target>"
|
|
4
|
-
VERSION = '0.0.
|
|
4
|
+
VERSION = '0.0.11'
|
|
5
5
|
CONVERT_TYPES = ['mkv','avi','mov','flv','mpg','wmv','ogm']
|
|
6
6
|
FFMPEG_OPTIONS = "-map 0 -acodec copy -vcodec copy -scodec copy"
|
|
7
7
|
X264_DEFAULT_PRESET = "veryfast"
|