2004-08-22 14:28:12 +00:00
|
|
|
#!/usr/bin/ruby -w
|
|
|
|
|
|
|
|
class T_018attachments < Test
|
2004-08-25 17:23:07 +00:00
|
|
|
def description
|
|
|
|
return "mkvmerge / attachments / in(*)"
|
2004-08-22 14:28:12 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def run
|
2013-10-19 11:08:26 +00:00
|
|
|
merge("--sub-charset 0:ISO-8859-1 data/subtitles/srt/vde.srt " +
|
2004-09-28 12:22:06 +00:00
|
|
|
"--attachment-description 'Dummy " +
|
2004-08-30 22:17:55 +00:00
|
|
|
"description' --attachment-mime-type text/plain --attach-file " +
|
2013-10-19 11:08:26 +00:00
|
|
|
"data/subtitles/srt/vde.srt")
|
2004-08-22 14:28:12 +00:00
|
|
|
hash = hash_tmp
|
2013-10-19 11:08:26 +00:00
|
|
|
merge("--sub-charset 0:ISO-8859-1 data/subtitles/srt/vde.srt " +
|
2004-09-28 12:22:06 +00:00
|
|
|
"--attachment-description 'automatic MIME " +
|
2004-08-30 22:17:55 +00:00
|
|
|
"type test' --attach-file data/text/cuewithtags2.cue")
|
2004-08-22 14:28:12 +00:00
|
|
|
return hash + "-" + hash_tmp
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|