@@ -173,7 +173,7 @@ class PlexMarker {
|
||||
|
||||
bool containsPosition(Duration position) {
|
||||
final posMs = position.inMilliseconds;
|
||||
return posMs >= startTimeOffset && posMs <= endTimeOffset;
|
||||
return posMs >= startTimeOffset && posMs < endTimeOffset;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -406,6 +406,9 @@ class _PlexVideoControlsState extends State<PlexVideoControls> with WindowListen
|
||||
void _skipMarker() {
|
||||
if (_currentMarker != null) {
|
||||
final endTime = _currentMarker!.endTime;
|
||||
setState(() {
|
||||
_currentMarker = null;
|
||||
});
|
||||
widget.player.seek(endTime);
|
||||
widget.onSeekCompleted?.call(endTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user