title: media player questions
body: <p>I'm making a media player in wpf using c#. I had 3 questions.</p>
  
  <ol>
  <li><p>I tried making a seeker</p>
  
  <p>XAML:</p>
  
  <pre><code>&lt;Slider Name="timelineSlider" Margin="40,91,26,0" ValueChanged="SeekToMediaPosition" Height="32" VerticalAlignment="Top" /&gt;
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>private void Element_MediaOpened(object sender, EventArgs e)
  {
      timelineSlider.Maximum = ply.NaturalDuration.TimeSpan.TotalMilliseconds;
  }
  
  private void SeekToMediaPosition(object sender, RoutedPropertyChangedEventArgs&lt;double&gt; e)
  {
      int SliderValue = (int)timelineSlider.Value;
      TimeSpan ts = new TimeSpan(SliderValue, SliderValue, SliderValue, SliderValue, SliderValue);
      ply.Position = ts;
  }
  </code></pre>
  
  <p>When I run the program, I open the mp3 and play it but the seeker won't move. When I click on the seeker to move it to a certain position, the song stops playing but the seeker moves. What's the problem and how do I fix it?</p></li>
  <li><p>How do I create a volume increase/decrease bar?</p></li>
  <li><p>How can I open several mp3s and queue them up like a playlist?</p></li>
  </ol>