feat: add album track numbers
fix: small fix for music item parser
This commit is contained in:
parent
dac2b17dc2
commit
9707a6eb0b
16 changed files with 487 additions and 21 deletions
|
|
@ -890,6 +890,10 @@ pub struct TrackItem {
|
|||
pub view_count: Option<u64>,
|
||||
/// True if the track is a music video
|
||||
pub is_video: bool,
|
||||
/// Album track number
|
||||
///
|
||||
/// [`None`] if the track is not fetched from an album.
|
||||
pub track_nr: Option<u16>,
|
||||
}
|
||||
|
||||
/// YouTube Music artist list item
|
||||
|
|
|
|||
Reference in a new issue