fix: supply positionticks for scrobbling as integer
This commit is contained in:
@@ -284,7 +284,7 @@ export async function sendPlaybackEvent(path: string, credentials: Credentials,
|
||||
IsPaused: state === State.Paused,
|
||||
RepeatMode: RepeatModeMap[repeatMode],
|
||||
ShuffleMode: 'Sorted',
|
||||
PositionTicks: position * 1_000_000,
|
||||
PositionTicks: Math.round(position * 1_000_000),
|
||||
PlaybackRate: 1,
|
||||
PlayMethod: 'transcode',
|
||||
MediaSourceId: track !== null ? queue[track].backendId : null,
|
||||
|
||||
Reference in New Issue
Block a user