2021-02-19 15:15:53 +00:00
|
|
|
#!/usr/bin/ruby -w
|
|
|
|
|
|
|
|
# T_717bluray_identification
|
|
|
|
describe "mkvmerge / Blu-ray directory structure identification"
|
|
|
|
|
|
|
|
file = "data/bluray/ganster_squad/BDMV/PLAYLIST/00100.mpls"
|
|
|
|
|
2021-02-19 22:00:43 +00:00
|
|
|
test "identification" do
|
|
|
|
json = identify_json(file)
|
2021-07-07 13:32:05 +00:00
|
|
|
json["container"]["properties"]["playlist_file"] = json["container"]["properties"]["playlist_file"].map { |pl_file| pl_file.gsub(%r{\\}, '/').gsub(%r{.*/data/}, 'data/') }
|
2022-05-15 15:50:36 +00:00
|
|
|
json.delete("identification_format_version")
|
2021-02-19 22:00:43 +00:00
|
|
|
json.to_json.md5
|
|
|
|
end
|
|
|
|
|
|
|
|
test_merge file
|