title: Start and end at specified timestamps when playing video using python-vlc
body: <p>I have a list of youtube videos to be played in vlc using python. <br>
  I am using <code>tafy</code> and <code>python-vlc</code> libraries for the same. <br>
  I have managed to play the videos in order using the above libraries.<br>
  But now I want to play the videos between certain timestamps ( different for each video ). <br>
  So does an API exist in <code>tafy</code> or <code>python-vlc</code> which would enable me to play the given video from a specified start timestamp to an end timestamp?</p>
  <p>Update: Demo code</p>
  <pre><code>import pafy
  import vlc
  
  url = &quot;https://www.youtube.com/watch?v=bMt47wvK6u0&quot;
  video = pafy.new(url)
  best = video.getbest()
  playurl = best.url
  
  
  Instance = vlc.Instance()
  player = Instance.media_player_new()
  Media = Instance.media_new(playurl)
  Media.get_mrl()
  player.set_media(Media)
  player.play()
  sleep(10)
  while player.is_playing():
      sleep(1)
  </code></pre>
  <p>So now this plays a complete single video. I want to play it within certain ranges.</p>