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

Have the Audio File Open Dialog Filter by Filetype #9

Closed markjamesm closed 3 years ago

markjamesm commented 4 years ago

Line 164 of the Gui Class opens a new file open dialog and passes the FilePath it outputs as a string to the audio player to load. Need to determine whether or not it is possible to have this file dialog filter based on file extension. For example, .exe files should always be omitted since they aren't audio files.

Here's how the intended behavior should function (note the lack of other filetypes in the folder):

MusicSharp-open-dialog

rishi-shah commented 3 years ago

I think we can close this issue :)

markjamesm commented 3 years ago

I think we can close this issue :)

Agreed! Many thanks for taking care of this issue. 👍