mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
21 lines
605 B
Ruby
21 lines
605 B
Ruby
#!/usr/bin/ruby -w
|
|
|
|
class T_018attachments < Test
|
|
def description
|
|
return "mkvmerge / attachments / in(*)"
|
|
end
|
|
|
|
def run
|
|
merge("--sub-charset 0:ISO-8859-1 data/textsubs/vde.srt " +
|
|
"--attachment-description 'Dummy " +
|
|
"description' --attachment-mime-type text/plain --attach-file " +
|
|
"data/textsubs/vde.srt")
|
|
hash = hash_tmp
|
|
merge("--sub-charset 0:ISO-8859-1 data/textsubs/vde.srt " +
|
|
"--attachment-description 'automatic MIME " +
|
|
"type test' --attach-file data/text/cuewithtags2.cue")
|
|
return hash + "-" + hash_tmp
|
|
end
|
|
end
|
|
|