get correct duration

This commit is contained in:
Bruno Morais 2019-09-05 20:39:17 -04:00
parent fdbb84a766
commit 31e7aa9b70

View File

@ -308,7 +308,7 @@ static class MPRISRemote : public IPlaybackRemote {
metadata.album = GetMetadataString(curTrack, track::Album);
metadata.discNumber = curTrack->GetInt32(track::DiscNum);
metadata.trackNumber = curTrack->GetInt32(track::TrackNum);
metadata.length = curTrack->GetInt64(track::Duration);
metadata.length = curTrack->GetInt64(track::Duration)*1000*1000;
metadata.available = true;
}
}