title: How to auto-resume the last played file in VLC
body: <p>It's annoying having to browse through my directories, find a media file and seek to the appropriate location. Every time it is not possible to watch a movie fully in one sitting. Hence, when I return to VLC later, it should automatically load and resume the last file played. Is there a hack with VLC that can allow me to do that?
  Or else, can we write a script to find the last played files from the VLC logs and play it?
  <strong>NOTE</strong>: I'm not asking to auto-resume a file when I manually search through the directories and open it. I know it can be done in the new VLC update. My question is specific: just open vlc from command line and it should start playing the last media file.</p>