refactor!: rename title field to name
This commit is contained in:
parent
5188527b94
commit
1b94dc1f40
88 changed files with 2142 additions and 2142 deletions
|
|
@ -300,7 +300,7 @@ pub async fn download_video(
|
|||
) -> Result<()> {
|
||||
// Download filepath
|
||||
let download_dir = PathBuf::from(output_dir);
|
||||
let title = player_data.details.title.to_owned();
|
||||
let title = player_data.details.name.to_owned();
|
||||
let output_fname_set = output_fname.is_some();
|
||||
let output_fname = output_fname.unwrap_or_else(|| {
|
||||
filenamify::filenamify(format!("{} [{}]", title, player_data.details.id))
|
||||
|
|
|
|||
Reference in a new issue