diff --git a/src/transcoder/transcoder.rs b/src/transcoder/transcoder.rs index 168a3e2..1cbe9b4 100644 --- a/src/transcoder/transcoder.rs +++ b/src/transcoder/transcoder.rs @@ -31,6 +31,10 @@ impl Transcoder { if ingest_files.len() < 1 { info!("There were no files found in ingest to transcode; skipping run."); } else { + // log that the transcoder is starting up + info!("Found {} files in ingest to transcode. Standby...", ingest_files.len()); + + // loop through each file found in ingest for i in ingest_files { let ingest_path = Path::new(&self.repository.ingest_dir).join(&i); if io::is_file_locked(&ingest_path.to_str().unwrap()) { @@ -47,6 +51,9 @@ impl Transcoder { // remove the source file self.repository.cleanup_file(&i); } + + // let the user know the transcode has finished + info!("Finished transcoding. Sleeping..."); } // put the loop to sleep for X minutes