mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
14 lines
319 B
Ruby
Executable File
14 lines
319 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
class T_0288identify_files_by_amg < Test
|
|
def description
|
|
"mkvmerge / identify on files created by AMG"
|
|
end
|
|
|
|
def run
|
|
content = JSON.load(capture_bash("../src/mkvmerge -J data/mkv/amg_sample.mkv"))["tracks"].size.to_s
|
|
IO.write(tmp, content + "\n", mode: 'wb')
|
|
hash_tmp
|
|
end
|
|
end
|