Commit 89c1341d authored by angermue's avatar angermue
Browse files

Extension of PostProcessorPanel.publishButtonActionPerformed() for uploading mp4 podcasts.

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@29 0463f305-d864-43cb-8a47-61cf597d4139
parent e58b90ae
......@@ -59,7 +59,7 @@ public class PostProcessorPanel extends GradientPanel {
// batch mode flag
private boolean batch = false;
/** Creates new form PostProcessorPanel */
public PostProcessorPanel(Recording recording) throws IOException {
this(recording, false);
......@@ -1136,7 +1136,7 @@ public class PostProcessorPanel extends GradientPanel {
String user = userField.getText();
String host = serverField.getText();
SftpHelper session = new SftpHelper(user, host);
// calculate paths
String path = pathField.getText();
if (!path.endsWith("/"))
......@@ -1214,6 +1214,9 @@ public class PostProcessorPanel extends GradientPanel {
session.publish(audio_filename.substring(0, audio_filename.length() - 4) + ".mp2",
basePath, batch);
//mp4 podcast
session.publish(recording.getDirectory() + recording.getFileBase() + ".mp4", basePath, batch);
System.out.println("Published\n");
// remote call to update online searchbase
......
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