2016-06-18, 17:16
Hello,
It's now not possible to export movies.
After checking code source, I've find at least one issue in MediaEntityExporter:
instead of
My 2 cents.
Have a nice day
Alain
It's now not possible to export movies.
After checking code source, I've find at least one issue in MediaEntityExporter:
Code:
protected MediaEntityExporter(Path templatePath, TemplateType type) throws Exception {
// check if template exists and is valid
if (Files.isDirectory(templatePath)) {
throw new Exception("illegal template");
}
Path configFile = templatePath.resolve("template.conf");
if (Files.exists(configFile)) {
throw new Exception("illegal template");
}
instead of
Code:
protected MediaEntityExporter(String pathToTemplate, TemplateType type) throws Exception {
// check if template exists and is valid
templateDir = new File(pathToTemplate);
if (!templateDir.exists() || !templateDir.isDirectory()) {
throw new Exception("illegal template");
}
File configFile = new File(pathToTemplate, "template.conf");
if (!configFile.exists() || !configFile.isFile()) {
throw new Exception("illegal template");
}
My 2 cents.
Have a nice day
Alain