Skip to content

Commit

Permalink
fix missing hd url
Browse files Browse the repository at this point in the history
  • Loading branch information
pidoubleyou authored Jan 28, 2023
1 parent e6f5d9a commit 60c6998
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class ZdfVideoUrlOptimizer {
private static final String NORMAL_1496_13_13 = "1496k_p13v13.mp4";
private static final String NORMAL_1496_13_14 = "1496k_p13v14.mp4";
private static final String NORMAL_1628_13_15 = "1628k_p13v15.mp4";
private static final String NORMAL_1628_13_17 = "1628k_p13v17.mp4";
private static final String NORMAL_2256_14_11 = "2256k_p14v11.mp4";
private static final String NORMAL_2256_14_12 = "2256k_p14v12.mp4";
private static final String NORMAL_2296_14_13 = "2296k_p14v13.mp4";
Expand All @@ -28,6 +29,7 @@ public class ZdfVideoUrlOptimizer {
private static final String NORMAL_2328_35_13 = "2328k_p35v13.mp4";
private static final String NORMAL_2328_35_14 = "2328k_p35v14.mp4";
private static final String NORMAL_2360_35_15 = "2360k_p35v15.mp4";
private static final String NORMAL_2360_35_17 = "2360k_p35v17.mp4";

private static final String HD_3256 = "3256k_p15v12.mp4";
private static final String HD_3296 = "3296k_p15v13.mp4";
Expand All @@ -36,11 +38,14 @@ public class ZdfVideoUrlOptimizer {
private static final String HD_3328_14 = "3328k_p36v14.mp4";
private static final String HD_3328_35_14 = "3328k_p35v14.mp4";
private static final String HD_3360_36_15 = "3360k_p36v15.mp4";
private static final String HD_3360_36_17 = "3360k_p36v17.mp4";
private static final String HD_6628_61_17 = "6628k_p61v17.mp4";

private static final Map<String, String[]> NORMAL_OPTIMIZE = new HashMap<>();
private static final Map<String, String[]> HD_OPTIMIZE = new HashMap<>();

static {
NORMAL_OPTIMIZE.put(NORMAL_1628_13_17, new String[] {NORMAL_2360_35_17});
NORMAL_OPTIMIZE.put(NORMAL_2256_14_11, new String[] {NORMAL_2328_35_11});
NORMAL_OPTIMIZE.put(NORMAL_2256_14_12, new String[] {NORMAL_2328_35_12});
NORMAL_OPTIMIZE.put(NORMAL_2296_14_13, new String[] {NORMAL_2328_35_13});
Expand All @@ -51,6 +56,9 @@ public class ZdfVideoUrlOptimizer {
NORMAL_OPTIMIZE.put(NORMAL_1496_13_14, new String[] {NORMAL_2328_35_14, NORMAL_2296_14_14});
NORMAL_OPTIMIZE.put(NORMAL_1628_13_15, new String[] {NORMAL_2360_35_15});


HD_OPTIMIZE.put(NORMAL_2360_35_17, new String[] {HD_6628_61_17, HD_3360_36_17});
HD_OPTIMIZE.put(NORMAL_1628_13_17, new String[] {HD_6628_61_17, HD_3360_36_17});
HD_OPTIMIZE.put(NORMAL_1456_13_12, new String[] {HD_3328_12, HD_3256});
HD_OPTIMIZE.put(NORMAL_2256_14_12, new String[] {HD_3328_12, HD_3256});
HD_OPTIMIZE.put(NORMAL_2328_35_12, new String[] {HD_3328_12, HD_3256});
Expand Down

0 comments on commit 60c6998

Please sign in to comment.