Skip to content

Commit

Permalink
Forks process the way it used to. Presign links now have a 6 hour exp…
Browse files Browse the repository at this point in the history
…iration so that they don't expire in the playlist.
  • Loading branch information
cdb84 committed Jan 15, 2021
1 parent d4c00cb commit 69c2967
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>client</groupId>
<artifactId>client</artifactId>
<packaging>jar</packaging>
<version>1.4-Beta</version>
<version>1.4-Stable</version>
<dependencyManagement>
<dependencies>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions client/src/main/java/client/AWSComboBoxListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ private void exec(String selectedValue) {
try {
subtitlePath = buildPathFor(fileName);
} catch (ValueNotFoundError e) {
e.printStackTrace();
return;
subtitlePath = "";
}
String subtitlePresign = handler.generatePresignedUrlFromKey(subtitlePath).toString();
if (!subtitlePath.equals("")) {
Expand All @@ -166,9 +165,10 @@ private void exec(String selectedValue) {
}

private void createProcessBuilder(String... args) {
ProcessBuilder pb = new ProcessBuilder(args);
try {
Runtime.getRuntime().exec(args);
} catch (IOException e) {
pb.start();
} catch (Exception e) {
e.printStackTrace();
}
}
Expand Down

0 comments on commit 69c2967

Please sign in to comment.