mirror of
https://github.com/aunetx/deezer-linux.git
synced 2025-09-22 17:28:04 +02:00
fix: mpris length should be in microseconds. Fixes #159
This commit is contained in:
parent
4aa3f25182
commit
97f774ea75
@ -23,7 +23,7 @@ index 82f5c11..8332c3a 100644
|
||||
this.emit(MediaEvents.TrackUpdated, this.track),
|
||||
(this.mprisPlayer.metadata = {
|
||||
+ ...(data?.trackInfo?.song?.DURATION && {
|
||||
+ "mpris:length": data.trackInfo.song.DURATION * 1000,
|
||||
+ "mpris:length": data.trackInfo.song.DURATION * 1000 * 1000,
|
||||
+ }),
|
||||
"mpris:trackid": this.mprisPlayer.objectPath("track/0"),
|
||||
"mpris:artUrl": track.coverUrl,
|
||||
|
Loading…
x
Reference in New Issue
Block a user