cleanup, set path
This commit is contained in:
parent
b18692863d
commit
2f7041d15b
@ -18,16 +18,9 @@ fn video_audio_input() {
|
|||||||
let logo_path = fs::canonicalize("./assets/logo.png").unwrap();
|
let logo_path = fs::canonicalize("./assets/logo.png").unwrap();
|
||||||
config.processing.logo = logo_path.to_string_lossy().to_string();
|
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);
|
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![])));
|
let media = gen_source(&config, media_obj, &Arc::new(Mutex::new(vec![])));
|
||||||
|
|
||||||
println!("{:?}", media.filter);
|
|
||||||
println!("category {:?}", media.category);
|
|
||||||
|
|
||||||
let test_filter_cmd = Some(
|
let test_filter_cmd = Some(
|
||||||
vec_strings![
|
vec_strings![
|
||||||
"-filter_complex",
|
"-filter_complex",
|
||||||
|
@ -38,7 +38,7 @@ fn get_date_tomorrow() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_delta() {
|
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.mail.recipient = "".into();
|
||||||
config.processing.mode = Playlist;
|
config.processing.mode = Playlist;
|
||||||
config.playlist.day_start = "00:00:00".into();
|
config.playlist.day_start = "00:00:00".into();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user