diff options
Diffstat (limited to 'import/src/main.rs')
-rw-r--r-- | import/src/main.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/import/src/main.rs b/import/src/main.rs index e998165..1219d54 100644 --- a/import/src/main.rs +++ b/import/src/main.rs @@ -17,7 +17,7 @@ use jellycommon::{ NodePrivate, NodePublic, Rating, }; use jellymatroska::read::EbmlReader; -use jellyremuxer::import::{import_metadata, seek_index}; +use jellyremuxer::{import::import_metadata, seek_index}; use log::{info, warn}; use rand::random; use std::{ @@ -25,7 +25,6 @@ use std::{ fs::{remove_file, File}, io::{stdin, BufReader, Write}, path::PathBuf, - process::exit, }; use tmdb::{tmdb_details, tmdb_image, tmdb_search}; @@ -188,12 +187,6 @@ fn main() -> anyhow::Result<()> { let td = tmdb_details(tmdb_kind, id, &tmdb_key) .context("fetching details") .unwrap(); - if td.title.is_some() { - info!("is this correct? [y/n]"); - if stdin().lines().next().unwrap().unwrap() != "y" { - exit(0) - } - } Ok::<_, anyhow::Error>(td) }) .transpose()?; |