mkvtoolnix/tests/test-017chapters.rb

19 lines
501 B
Ruby
Raw Normal View History

2004-08-22 14:28:12 +00:00
#!/usr/bin/ruby -w
class T_017chapters < Test
2004-08-25 17:23:07 +00:00
def description
return "mkvmerge / chapters from XML and simple OGM style files " +
2004-08-22 14:28:12 +00:00
"/ in(txt, XML)"
end
def run
2004-09-28 12:22:06 +00:00
merge("--sub-charset 0:ISO-8859-1 data/textsubs/vde.srt " +
2004-09-28 12:31:25 +00:00
"--chapter-charset ISO-8859-1 --chapters data/text/shortchaps.txt")
2004-08-22 14:28:12 +00:00
hash = hash_tmp
2004-09-28 12:22:06 +00:00
merge("--sub-charset 0:ISO-8859-1 data/textsubs/vde.srt " +
"--chapters data/text/vmap.chapters.xml")
2004-08-22 14:28:12 +00:00
return hash + "-" + hash_tmp
end
end