mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
23 lines
475 B
Ruby
23 lines
475 B
Ruby
#!/usr/bin/ruby -w
|
|
|
|
class T_0323propedit_segment_info < Test
|
|
def description
|
|
"mkvpropedit / segment info"
|
|
end
|
|
|
|
def run
|
|
hashes = []
|
|
sys "cp data/mkv/complex.mkv #{tmp}"
|
|
hashes << hash_tmp(false)
|
|
|
|
propedit "--edit info --set title='Some Wuffy' --set segment-filename='#{"long " * 200}'"
|
|
hashes << hash_tmp(false)
|
|
|
|
propedit "--edit info --set title='Some Wuffy' --delete segment-filename"
|
|
hashes << hash_tmp
|
|
|
|
hashes.join '-'
|
|
end
|
|
end
|
|
|