cleanup, set path

This commit is contained in:
jb-alvarado 2022-10-14 14:06:50 +02:00
parent b18692863d
commit 2f7041d15b
2 changed files with 1 additions and 8 deletions

View File

@ -18,16 +18,9 @@ fn video_audio_input() {
let logo_path = fs::canonicalize("./assets/logo.png").unwrap();
config.processing.logo = logo_path.to_string_lossy().to_string();
println!("{:?}", config.processing.logo);
println!("--is file {:?}", logo_path.is_file());
let media_obj = Media::new(0, "./assets/with_audio.mp4", true);
println!("{media_obj:?}");
let media = gen_source(&config, media_obj, &Arc::new(Mutex::new(vec![])));
println!("{:?}", media.filter);
println!("category {:?}", media.category);
let test_filter_cmd = Some(
vec_strings![
"-filter_complex",

View File

@ -38,7 +38,7 @@ fn get_date_tomorrow() {
#[test]
fn test_delta() {
let mut config = PlayoutConfig::new(None);
let mut config = PlayoutConfig::new(Some("../assets/ffplayout.yml".to_string()));
config.mail.recipient = "".into();
config.processing.mode = Playlist;
config.playlist.day_start = "00:00:00".into();