refactor!: rename title field to name

This commit is contained in:
ThetaDev 2022-12-27 23:28:25 +01:00
parent 5188527b94
commit 1b94dc1f40
88 changed files with 2142 additions and 2142 deletions

View file

@ -443,7 +443,7 @@ impl<T> YouTubeListMapper<T> {
VideoItem {
id: video.video_id,
title: video.title,
name: video.title,
length: length_text.and_then(|txt| util::parse_video_length(&txt)),
thumbnail: video.thumbnail.into(),
channel: video
@ -501,7 +501,7 @@ impl<T> YouTubeListMapper<T> {
VideoItem {
id: video.video_id,
title: video.headline,
name: video.headline,
length: video.accessibility.and_then(|acc| {
ACCESSIBILITY_SEP_REGEX
.captures(&acc)