Melon Media Server
Melon is a media server that scans your music files and lets you stream them. The goal is lots of customization and features, to make it the best way to view, manage, and listen to your own music library.
Download Melon Installation Guide
Features
- Shuffle modes. Shuffle randomly, favor the tracks you love, favor ones you haven't heard much, or keep albums or artists together. Track Links keep songs that flow into each other back to back, even when shuffled (like Nirvana into Mania on Madeon's Good Faith). See Shuffling.
- Play stats. Your top tracks, genres, and the times you listen the most.
- Queues on every device. Melon keeps track of the queue on each of your devices, so you can pick up where you left off on another one, control a queue playing somewhere else, or save one for later. Queues get cleaned up after 48 hours (you can change that) unless you favorite them.
- Multiple users. Send friends and family an invite code and they get their own account with their own stats, ratings, playlists, and user page.
- Plugins. Add your own endpoints, settings pages, and artwork sources. See Plugins.
Apps
Melon comes with two controllers for setting up and running your server:
- MelonGUI, the Windows app.
- MelonCLI, the terminal app for Windows, Linux, and macOS.
And for listening:
- Galia, the Windows app, written with the WASDK.
- Watermelon, the iOS app, written in Swift. It'll come out through TestFlight.
When I have completed the Galia and Watermelon apps, I will work on more first-party apps as I can, hoping to get apps on MacOS, AppleTV, and Android. I personally do not want to work on a Web App, I just dislike working in JS, so there will likely not be one first-party.
Building Your Own App
Every endpoint needs you to be signed in except logging in itself, so start with Authorization. Once you have a token, the Search endpoints are an easy way to try things out. Everything else is in the Endpoints Overview and the Models Overview.
Guides
- Installation: installing Melon for the first time, and HTTPS.
- Configure: every setting and launch argument.
- Users: user roles and inviting people.
- Playlists: how playlists and collections work.
- Search: search filters and sorting.
- Shuffling: the shuffle modes.
How It Works
A few pages on what Melon does behind the scenes:
- Artwork: how Melon finds and stores images.
- MelonInstaller: installs, updates, branches and versions.
- Melon Scanner: how scans read your files into the database.
- WebSockets: live updates, and how clients control each other.
Credits
- ATL, for reading track metadata.
- MongoDB, Melon's database.
- NAudio and NAudio.Lame, for transcoding.
- WinUIEx, window helpers for MelonGUI.
- MelonUI, which MelonCLI is built with.
- CaydoFox, for the 3D melon icon.
- Hypervis0r, for help with authentication.
- KindaConfusion, for testing, bug fixes, and code contributions.