2005-02-10 20:20:47 +00:00
|
|
|
#!/usr/bin/ruby -w
|
|
|
|
|
|
|
|
class T_205X_cuesheets < Test
|
|
|
|
def description
|
|
|
|
return "mkvextract / cue sheets / in(MKV)"
|
|
|
|
end
|
|
|
|
|
|
|
|
def run
|
2007-07-04 14:40:52 +00:00
|
|
|
merge("#{tmp}-src", "data/simple/v.mp3 --chapters data/text/cuewithtags2.cue")
|
2011-12-03 15:03:13 +00:00
|
|
|
sys("../src/mkvextract cuesheet #{tmp}-src --engage no_variable_data > #{tmp} 2>/dev/null")
|
2005-02-10 20:20:47 +00:00
|
|
|
hash = hash_tmp(false)
|
2011-12-24 16:52:18 +00:00
|
|
|
sys("../src/mkvextract tracks #{tmp}-src --engage no_variable_data --cuesheet 0:#{tmp} > /dev/null 2>/dev/null")
|
2005-02-10 20:20:47 +00:00
|
|
|
hash += "-" + hash_tmp("#{tmp}.cue")
|
|
|
|
return hash
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|