You are not logged in.
Hi!
I've been wondering whats a good approach to setting up a music streaming server, I have a bunch of music on my computer but I want to move it to my server.
It'd be cool if i could play it with an MPD client (I'm using ncmpcpp atm).
And get it recognized by my MPD module on my status bar and things of that nature.
Some tutorials I've found focused on playing the music on the remote machine and controlling it from the local machine, but that's not what I'm after.
Thanks in advance
Offline
I can be wrong but what do you think about Icecast?
Offline
mpd can also https://wiki.archlinux.org/index.php/Mu … lite_setup
Offline
I can be wrong but what do you think about Icecast?
Hmn i see, could work, but i dont really understand how it works even after reading the wiki page, but might try it, let's see if I cant get it to work
Offline
Be aware that you'll likely experience (possibly significant) lag with icecast. I run it for our local radio station to stream online and there's 20 - 30 seconds of delay in it.
Rocket Streaming I found recently but haven't had a chance to play with claims to be a drop-in replacement for icecast with lower latency: https://www.rocketbroadcaster.com/strea … io-server/
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
This all sounds rather complicated. I don't use mpd, but even ffplay can play a remote audio file given a proper URL (and it gets the metadata: album, title, artist, etc). I've done this ample times with no issue even when the audio source is somewhere "out there" on WAN, not as some streaming provider, but just as a file available for download. If the remote server is within the same LAN, then latency should be no issue at all. Just set up a web/file server, or use sshfs or similar, and play the remote file like it was local.
Last edited by Trilby (2020-03-29 23:58:05)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Do you want the music to be streamed from the server like a radio station (server decides what everyone listens to), or do you want clients to be able to browse your library on demand?
If it's the latter, you could use minidlna: https://wiki.archlinux.org/index.php/ReadyMedia
It sets up a upnp media server that you can access with most clients on desktops, smartphones and tvs. You just need to create a configuration with a few lines (<10) and open 2 ports in your firewall.
I don't use mpd but I found this page about setting it up to work with a dlna server: https://www.lesbonscomptes.com/pages/mpd-upnp.html
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Do you want the music to be streamed from the server like a radio station (server decides what everyone listens to), or do you want clients to be able to browse your library on demand?
If it's the latter, you could use minidlna: https://wiki.archlinux.org/index.php/ReadyMedia
It sets up a upnp media server that you can access with most clients on desktops, smartphones and tvs. You just need to create a configuration with a few lines (<10) and open 2 ports in your firewall.I don't use mpd but I found this page about setting it up to work with a dlna server: https://www.lesbonscomptes.com/pages/mpd-upnp.html
I want clients to browse and play whatever, that link looks promising, but it'd be nice if i could use an MPD player to play my stuff, like, i really like ncmpcpp, but i guess i'll look into it, thanks
Offline
Again, if you want to use an mpd server on the remote system and mpd (and an mpd client) on the local systen: mpd can operate in satellite mode.
https://wiki.archlinux.org/index.php/Mu … lite_setup
Where the remote server forwards its database and casts the files to the local one.
Offline
Xyne wrote:Do you want the music to be streamed from the server like a radio station (server decides what everyone listens to), or do you want clients to be able to browse your library on demand?
If it's the latter, you could use minidlna: https://wiki.archlinux.org/index.php/ReadyMedia
It sets up a upnp media server that you can access with most clients on desktops, smartphones and tvs. You just need to create a configuration with a few lines (<10) and open 2 ports in your firewall.I don't use mpd but I found this page about setting it up to work with a dlna server: https://www.lesbonscomptes.com/pages/mpd-upnp.html
I want clients to browse and play whatever, that link looks promising, but it'd be nice if i could use an MPD player to play my stuff, like, i really like ncmpcpp, but i guess i'll look into it, thanks
No problem, MPD is most convenient for the local network & even remote...
If you do all your music browsing trough ncmpcpp you don't even need to open an extra firewall port, simply open a control socket with ssh and add your localports, your stream & controling MPD which is http normally will now be encrypted, or only do this for the browsing part and setup streaming trough http, every platform will be able to play it, be it BSD Windows Android or whatever, you only need a player that's able to play streams..
Offline