Commit d97eddf0 authored by Quxl's avatar Quxl

x

parent 32166f96
......@@ -110,4 +110,49 @@ public class ExportConstant {
playShanghai.put("2", "不安全");
playShanghai.put("3", "待定");
}
public static final Map<String, String> fmtopts = new HashMap<String, String>();
static {
playShanghai.put("1", "35mm");
playShanghai.put("2", "2D DCP");
playShanghai.put("3", "3D DCP");
}
public static final Map<String, String> resolutionopts = new HashMap<String, String>();
static {
resolutionopts.put("1", "2K");
resolutionopts.put("2", "4K");
}
public static final Map<String, String> aspectopts = new HashMap<String, String>();
static {
aspectopts.put("1", "1:1.78");
aspectopts.put("2", "1:1.85");
aspectopts.put("3", "1:2.35");
aspectopts.put("4", "1:2.39");
aspectopts.put("5", "Other");
}
public static final Map<String, String> soundopts = new HashMap<String, String>();
static {
soundopts.put("1", "2.0");
soundopts.put("2", "2.1");
soundopts.put("3", "5.1");
soundopts.put("4", "7.1");
soundopts.put("5", "Atmos");
soundopts.put("6", "Auro");
soundopts.put("7", "Other");
}
public static final Map<String, String> frameopts = new HashMap<String, String>();
static {
frameopts.put("1", "24");
frameopts.put("2", "25");
}
public static final Map<String, String> kdmopts = new HashMap<String, String>();
static {
kdmopts.put("1", "Encrypted");
kdmopts.put("2", "Unencrypted");
}
}
......@@ -454,6 +454,13 @@ public class ExportServiceImpl implements ExportService {
map.put("film_format", ExportConstant.filmFormat.get(String.valueOf(map.get("film_format"))));
map.put("play_shanghai", ExportConstant.playShanghai.get(String.valueOf(map.get("play_shanghai"))));
map.put("copy_options", ExportConstant.copyopts.get(String.valueOf(map.get("copy_options"))));
map.put("format", ExportConstant.fmtopts.get(String.valueOf(map.get("format"))));
map.put("resolution_rate", ExportConstant.resolutionopts.get(String.valueOf(map.get("resolution_rate"))));
map.put("aspect_rate", ExportConstant.aspectopts.get(String.valueOf(map.get("aspect_rate"))));
map.put("sound_format", ExportConstant.soundopts.get(String.valueOf(map.get("sound_format"))));
map.put("frame_rate", ExportConstant.frameopts.get(String.valueOf(map.get("frame_rate"))));
map.put("kdm", ExportConstant.kdmopts.get(String.valueOf(map.get("kdm"))));
for(String key: new String[] {"is_viewer_metting", "is_copy_key", "is_important", "is_night"}) {
map.put(key, ExportConstant.YN.get(String.valueOf(map.get(key))));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment