Hacker News
Show HN: A modern Music Player Daemon based on Rockbox firmware
kadoban
|next
[-]
The interface and performance are just so well thought out and refined.
Plus it contains the earliest published code I ever wrote: https://github.com/tsirysndr/rockbox-zig/tree/master/apps/pl... , so that's fun for me.
tsiry
|root
|parent
[-]
I've wanted that same experience on my desktop for years. So I'm basically trying to bring Rockbox to macOS and Linux as a daemon I can use every day, with MPD-style control on top.
gman83
|next
|previous
[-]
tsiry
|root
|parent
[-]
Rockbox already brings its own decoders (20+ codecs), its own DSP chain (crossfeed, EQ, replaygain, gapless), and its own mixer. I just need the host OS to accept PCM frames. cpal is the minimal portable shim for that; pulling in libmpv would mean discarding Rockbox's audio pipeline and replacing it with FFmpeg's, which would basically defeat the point of building on Rockbox firmware.
Pay08
|next
|previous
[-]
TFNA
|root
|parent
|next
[-]
rmunn
|root
|parent
|next
|previous
[-]
<del>The server-client model means you can run the server (MPD, Rockbox Zig, whatever) on your homelab, and stream music to multiple clients. So you don't have to copy all your music onto your phone, you can just run an MPD client like M.A.L.P. and it will stream from the files on your server. Then there's just one copy of your music collection, tags, etc.: no more keeping tags up-to-date between the copies on your home server, your laptop, your phone... (Do make sure your files are backed up, of course).<del>
mongol
|root
|parent
|next
[-]
atoav
|root
|parent
|next
|previous
[-]
Hamuko
|root
|parent
|previous
[-]
atoav
|root
|parent
|next
|previous
[-]
Technically you could achieve the same with a web frontend, but then you're limited to that UI. A music player daemon is agnostic to the UI, meaning there can be different UIs or you can add music via command line, text interfaces etc.
Lammy
|root
|parent
|next
|previous
[-]
Hamuko
|root
|parent
|previous
[-]
You can also use multiple clients if you want. Some TUI, some graphical, some utility like mpdscrobble (that just watches what you listen to and scrobbles it to Last.fm).