mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-27 05:14:47 +00:00
19 lines
511 B
Ruby
19 lines
511 B
Ruby
#!/usr/bin/ruby -w
|
|
|
|
class T_017chapters < Test
|
|
def description
|
|
return "mkvmerge / chapters from XML and simple OGM style files " +
|
|
"/ in(txt, XML)"
|
|
end
|
|
|
|
def run
|
|
merge("--sub-charset 0:ISO-8859-1 data/subtitles/srt/vde.srt " +
|
|
"--chapter-charset ISO-8859-1 --chapters data/text/shortchaps.txt")
|
|
hash = hash_tmp
|
|
merge("--sub-charset 0:ISO-8859-1 data/subtitles/srt/vde.srt " +
|
|
"--chapters data/text/vmap.chapters.xml")
|
|
return hash + "-" + hash_tmp
|
|
end
|
|
end
|
|
|