title: Is there a way in Qt to force QMediaPlayer to buffer a file without playing it?
body: <p>When you load a file into a <code>QMediaPlayer</code> instance, it does not automatically buffer the file. The <code>MediaStatus</code> remains <code>NoMedia</code> until you play the file using <code>play()</code>, only after which it will end up as <code>BufferedMedia</code>. I can't find any way in the documentation to force the player to buffer the file without playing it - is there any way to do this?</p>
  
  <p>Right now I'm planning on muting it, playing the file, then stopping it again and unmuting it, but it makes me feel dirty. Surely there is a better way to do this?</p>
  
  <p>This is necessary, by the way, because I can't retrieve the <code>duration</code> until the file has been buffered, and I need the <code>duration</code> to select a <code>position</code> in the track to start playing from.</p>
  
  <p>Thanks</p>