mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-05 21:55:24 +00:00
get correct duration
This commit is contained in:
parent
fdbb84a766
commit
31e7aa9b70
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user