mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-03-10 14:13:53 +01:00
fix bug where duration was falsely multiplies by 1000
This commit is contained in:
parent
7cae108ffa
commit
ec475aa1af
@ -178,7 +178,7 @@ fn main() {
|
||||
cover: None,
|
||||
file_size: song_file_metadata.len(),
|
||||
duration_millis: if let Some(dur) = song_tags.duration() {
|
||||
dur as u64 * 1000
|
||||
dur as u64
|
||||
} else {
|
||||
if skip_duration {
|
||||
eprintln!(
|
||||
|
Loading…
Reference in New Issue
Block a user