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
|
2013-10-19 11:08:26 +00:00
|
|
|
merge("--sub-charset 0:ISO-8859-1 data/subtitles/srt/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
|
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
|
|
|
"--chapters data/text/vmap.chapters.xml")
|
2004-08-22 14:28:12 +00:00
|
|
|
return hash + "-" + hash_tmp
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|