Change tidal track duration to milliseconds
CI checks / stable / fmt (push) Successful in 3s
Details
CI checks / stable / fmt (push) Successful in 3s
Details
This commit is contained in:
parent
efc36e88f8
commit
a4303b9b70
|
|
@ -61,10 +61,6 @@ impl QueueManager {
|
|||
let pos = self.current_position();
|
||||
self.current_offset = pos;
|
||||
self.play_order = (0..self.tracks.len()).collect();
|
||||
debug!(
|
||||
"offset: {}, order: {:?}",
|
||||
self.current_offset, self.play_order
|
||||
);
|
||||
}
|
||||
|
||||
pub fn shuffle_all(&mut self) {
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ impl From<Track> for crabidy_core::proto::crabidy::Track {
|
|||
title: track.title,
|
||||
artist: track.artist.name,
|
||||
album: Some(track.album.into()),
|
||||
duration: Some(track.duration as u32),
|
||||
duration: Some(track.duration as u32 * 1000),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue