mirror of
https://github.com/Royce551/FRESHMusicPlayer-Core.git
synced 2025-01-22 10:51:56 -05:00
Music player component for .NET apps
FRESHMusicPlayer.Player | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md |
banner goes here eventually
FRESHMusicPlayer-Core
audio library abstraction library - designed to be used for the FRESHMusicPlayer project but can be used on anything :)
- Support/Discussion Discord Server
- Documentation (WIP)
Features
- Abstracts music playback into a simple API
- todo: add more stuff here
Usage
using FRESHMusicPlayer;
var player = new Player();
string path = "Can be a file path, or a URL to a network stream";
player.PlayMusic(path); // Clear the queue, add the track to the queue, and play
// or
player.Queue.Add(path);
player.PlayMusic(); // Plays through the queue
Platforms
Windows - NAudio is required for audio playback
Other platforms - You'll need to include the VLC audio plugin in the output directory of your app for audio playback to work. The user will also need to have a global installation of VLC available. Hoping to replace this with something lighterweight in the future.