mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-27 05:14:47 +00:00
16a9a7d1e6
Fix for bug 689.
18 lines
523 B
Ruby
18 lines
523 B
Ruby
#!/usr/bin/ruby -w
|
|
|
|
class T_205X_cuesheets < Test
|
|
def description
|
|
return "mkvextract / cue sheets / in(MKV)"
|
|
end
|
|
|
|
def run
|
|
merge("#{tmp}-src", "data/simple/v.mp3 --chapters data/text/cuewithtags2.cue")
|
|
sys("../src/mkvextract cuesheet #{tmp}-src --engage no_variable_data > #{tmp} 2>/dev/null")
|
|
hash = hash_tmp(false)
|
|
sys("../src/mkvextract tracks #{tmp}-src --engage no_variable_data --cuesheet 0:#{tmp} > /dev/null 2>/dev/null")
|
|
hash += "-" + hash_tmp("#{tmp}.cue")
|
|
return hash
|
|
end
|
|
end
|
|
|