input: Write a python function to simulate a simple VLC player with basic functionalities such as play, pause, stop, and seek.
  ```python
  class SimpleVLCPlayer:
      def __init__(self):
          self.state = 'stopped'
          self.current_time = 0
  
      def play(self):
          self.state = 'playing'
  
      def pause(self):
          if self.state == 'playing':
              self.state = 'paused'
  
      def stop(self):
          self.state = 'stopped'
          self.current_time = 0
  
      def seek(self, time):
          if self.state in ['playing', 'paused']:
              self.current_time = time
  
  # Test cases
  player = SimpleVLCPlayer()
  player.play()
  assert player.state == 'playing'
  player.pause()
  assert player.state == 'paused'
  player.seek(30)
  assert player.current_time == 30
  player.stop()
  assert player.state == 'stopped'
  assert player.current_time == 0
output: def seek(self, time):
      if self.state in ['playing', 'paused']:
          self.current_time = time
  
  # Test cases
  player = SimpleVLCPlayer()
  player.play()
  assert player.state == 'playing'
  player.pause()
  assert player.state == 'paused'
  player.seek(30)
  assert player.current_time == 30
  player.stop()
  assert player.state == 'stopped'
  assert player.current_time == 0