mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 03:21:35 +00:00
16 lines
491 B
Ruby
Executable File
16 lines
491 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_717bluray_identification
|
|
describe "mkvmerge / Blu-ray directory structure identification"
|
|
|
|
file = "data/bluray/ganster_squad/BDMV/PLAYLIST/00100.mpls"
|
|
|
|
test "identification" do
|
|
json = identify_json(file)
|
|
json["container"]["properties"]["playlist_file"] = json["container"]["properties"]["playlist_file"].map { |pl_file| pl_file.gsub(%r{\\}, '/').gsub(%r{.*/data/}, 'data/') }
|
|
json.delete("identification_format_version")
|
|
json.to_json.md5
|
|
end
|
|
|
|
test_merge file
|