Skip to content

Commit

Permalink
length already in ms
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroMS25 committed Apr 4, 2024
1 parent 3e5321a commit 1535f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/youtube/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl From<Video> for YoutubeTrack {
YoutubeTrack {
title: video.title,
author: Some(video.channel.name),
length: video.duration * 1000,
length: video.duration,
video_id: video.id,
url: video.url,
thumbnail: video.thumbnails.remove_optional(0).map(|t| t.url)
Expand Down

0 comments on commit 1535f19

Please sign in to comment.