mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: Incorrect playback reporting (#221)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
f259151336
commit
3b4b8a9101
5 changed files with 13 additions and 27 deletions
|
|
@ -110,9 +110,7 @@ class DirectPlaybackModel implements PlaybackModel {
|
|||
mediaSourceId: item.id,
|
||||
playSessionId: playbackInfo.playSessionId,
|
||||
positionTicks: position.toRuntimeTicks,
|
||||
failed: false,
|
||||
),
|
||||
totalDuration: totalDuration,
|
||||
);
|
||||
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -111,9 +111,7 @@ class TranscodePlaybackModel implements PlaybackModel {
|
|||
mediaSourceId: item.id,
|
||||
playSessionId: playbackInfo.playSessionId,
|
||||
positionTicks: position.toRuntimeTicks,
|
||||
failed: false,
|
||||
),
|
||||
totalDuration: totalDuration,
|
||||
);
|
||||
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue