seek method
Seek relative to current position (positive = forward, negative = backward)
Implementation
Future<bool> seek(int offsetMicroseconds) async {
try {
final player = _state.selectedPlayer.isNotEmpty
? _state.selectedPlayer
: null;
return await _service.seek(offsetMicroseconds, player);
} catch (e) {
debugPrint('Error seeking: $e');
_updateState(_state.copyWith(errorMessage: 'Failed to seek'));
return false;
}
}