markjamesm / MusicSharp

MusicSharp is a lightweight TUI music player written in C#.
https://markjames.dev/blog/developing-a-cli-music-player-csharp/
GNU General Public License v3.0
57 stars 11 forks source link

checks for File Validity before opening it (Issue #26) #29

Closed DomDom3333 closed 3 years ago

DomDom3333 commented 3 years ago

Added checks for File validity before opening them. This should resolve Issue #26 . Ps.: Excuse the Pull Request mess....

markjamesm commented 3 years ago

Thanks for submitting this fix, I tested it and it works great!

I changed the PlayNullFile test in WinPlayer.cs so that it passes now, and I made a few formatting fixes as per Stylecop in Winplayer.Cs.