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

Playlist saving and loading #5

Open markjamesm opened 4 years ago

markjamesm commented 4 years ago
markjamesm commented 3 years ago

Thinking of implementing this feature using the PlaylistsNet library to support M3U playlist files. Inside the MusicSharp TUI, there would need to be options to:

Note: See https://github.com/tmk907/PlaylistsNET/issues/10 for a current minor issue involving an optional tag, and test before integrating this library into the project.

markjamesm commented 3 years ago

I actually ended up going with the ATL Dotnet library as it is more mature and offers better documentation. See this branch for progress:

https://github.com/markjamesm/MusicSharp/tree/playlists

markjamesm commented 3 years ago

Playlist loading has been implemented successfully.

The next step is to think about how playlist saving will work. Currently, if you open a playlist and then a new file, the new file doesn't get added to the existing playlist. Maybe it should, and users have the option to save a snapshot of the playlist in this state (using a dialog box)?