title: File not found using Rodio crate
body: <p>I am trying to take input from the user in the form of a String and passing it as a path for Rodio to play the audio file. When I pass it a hard-coded path it seems to work just fine but when I type the same path in as input it will give me an error.</p>
  <p>code:</p>
  <pre class="lang-rust prettyprint-override"><code>fn main() {
  
      let mut path = String::new();
      io::stdin().read_line(&amp;mut path); //to get input from the user
  
      player(&amp;path);
  }
  </code></pre>
  <pre class="lang-rust prettyprint-override"><code>fn player(path: &amp;str){
      let (stream, stream_handle) = rodio::OutputStream::try_default().unwrap();
  
      // Load a sound from a file, using a path relative to Cargo.toml
      let file = File::open(path).unwrap();
      let source = rodio::Decoder::new(BufReader::new(file)).unwrap();
      stream_handle.play_raw(source.convert_samples());
  
      // The sound plays in a separate audio thread,
      // so we need to keep the main thread alive while it's playing.
      loop {
  
      }
  }
  </code></pre>
  <p>Input: C:\Users\username\AppData\Roaming\Equinotify\songs\Olivia Rodrigo - good 4 u (Official Video).wav</p>
  <p>Input: C:\\Users\\Drago\\AppData\\Roaming\\Equinotify\\songs\\Olivia Rodrigo - good 4 u (Official Video).wav</p>
  <p>Neither input works in this scenario and gives this error:</p>
  <pre><code>thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 123, kind: Other, message: &quot;The filename, directory name, or volume label syntax is incorrect.&quot; }', src\main.rs:24:33
  </code></pre>
  <p>However, when I hardcode the exact same input it works just fine. Your help is greatly appreciated!</p>