Added ability to load in a TOML file for config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2022-05-01 20:36:24 -04:00
parent d22679585a
commit 3742c44c40
3 changed files with 44 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package tech.bitgoblin;
import tech.bitgoblin.config.Config;
import tech.bitgoblin.video.Transcoder;
/**
@ -9,9 +10,11 @@ import tech.bitgoblin.video.Transcoder;
public class App {
public static void main(String[] args) {
// read our config file
Config c = new Config("~/dragoon/config.toml");
// create new Transcoder object and start the service
Transcoder t = new Transcoder("~/dragoon");
t.transcode();
//Transcoder t = new Transcoder("~/dragoon");
//t.transcode();
}
}