fix: Incorrect playback reporting (#221)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-02-08 17:05:53 +01:00 committed by GitHub
parent f259151336
commit 3b4b8a9101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 27 deletions

View file

@ -110,9 +110,7 @@ class DirectPlaybackModel implements PlaybackModel {
mediaSourceId: item.id,
playSessionId: playbackInfo.playSessionId,
positionTicks: position.toRuntimeTicks,
failed: false,
),
totalDuration: totalDuration,
);
return null;

View file

@ -111,9 +111,7 @@ class TranscodePlaybackModel implements PlaybackModel {
mediaSourceId: item.id,
playSessionId: playbackInfo.playSessionId,
positionTicks: position.toRuntimeTicks,
failed: false,
),
totalDuration: totalDuration,
);
return null;