Billy Barrow 1 month ago
parent
commit
3a97da42a2
2 changed files with 10 additions and 2 deletions
  1. 0 2
      src/Application.vala
  2. 10 0
      webmify.service

+ 0 - 2
src/Application.vala

@@ -27,9 +27,7 @@ namespace Webmify {
             print(@"Dequeue \"$filename\"\n");
             var video_file = File.new_for_path(path);
             var video_info = new VideoInfo(video_file);
-            print("re\n");
             video_info.read_info();
-            print("red\n");
 
             var profiles = construct_profiles();
             var profile = profiles.first(p => p.suitable_for(video_info));

+ 10 - 0
webmify.service

@@ -0,0 +1,10 @@
+[Unit]
+Description=Webmify Transcoder
+After=multi-user.target
+
+[Service]
+ExecStart=/usr/bin/webmify in out work
+Type=simple
+
+[Install]
+WantedBy=multi-user.target