Question on Media Server

Hey guys,

Quick noob question. I was looking for a lightweight music streaming web app I could install on my SBC to play music while abroad.
When I tried with MPD apps like MyMPD, ympd or any other which uses MPD as frontend, I get an error related to Alsa/Audio Output not found.

However, if I install Navidrome, Ampache or Koel, it works just fine. But those definitely take more resources.

Is MPD requiring something else that I’m missing here? Does it even fall under the same category as Navidrome and those other ones?
Thanks!

PlexAMP works quite well…I stream my music to my bluetooth radio

Thanks for the suggestion. Plexamp would seem to be an overkiller for this case, but I’ll take it a look on my other SBC, which also has more CPU and RAM.

maybe @MichaIng can help with audio problems.

Hey Joulinar, I think it might have with this configuration (which I never touched once I installed myMPD): Music Player Daemon/Tips and tricks - ArchWiki

Not 100% sure though.

When you install MPD via dietpi-software, it is configured to use the default ALSA PCM as defined in /etc/asound.conf based on your sound card selection in dietpi-config. Check whether that one points to the correct/existing PCM as listed in aplay -l. You can also test with speaker-test, whether the default plays noise successfully.

Have you looked into Navidrome?

Navidrome Overview

Learn more about Navidrome’s features

Navidrome can be used as a standalone server, that allows you to browse and listen to your music collection using a web browser.

It can also work as a lightweight Subsonic-API compatible server, that can be used with any Subsonic compatible client.

Features

  • Very low resource usage. Runs well even on simple Raspberry Pi Zero and old hardware setups
  • Handles very large music collections
  • Streams virtually any audio format available
  • Reads and uses all your beautifully curated metadata
  • Great support for compilations (Various Artists albums) and box sets (multi-disc albums)
  • Multi-user, each user has their own play counts, playlists, favorites, etc…
  • Multi-platform, runs on macOS, Linux and Windows. Docker images are also provided
  • Ready to use, official, Raspberry Pi binaries and Docker images available
  • Automatically monitors your library for changes, importing new files and reloading new metadata
  • Themeable, modern and responsive Web interface based on Material UI and React-Admin
  • Compatible with all Subsonic/Madsonic/Airsonic clients. See below for a list of tested clients
  • Transcoding on the fly. Can be set per user/player. Opus encoding is supported
  • Translated to 17 languages (and counting)
  • Full support for playlists, with option to auto-import .m3u files and to keep them in sync
  • Smart/dynamic playlists (similar to iTunes). More info here
  • Scrobbling to Last.fm, ListenBrainz and Maloja (via custom ListenBrainz URL)
  • Sharing public links to albums/songs/playlists
  • Reverse Proxy authentication*
  • Jukebox mode allows playing music on an audio device attached to the server, and control from a client

Features supported by the Subsonic API

  • Tag-based browsing/searching
  • Simulated browsing by folders (see note below)
  • Playlists
  • Bookmarks (for Audiobooks)
  • Starred (favourites) Artists/Albums/Tracks
  • 5-Star Rating for Artists/Albums/Tracks
  • Transcoding and Downsampling
  • Get/Save Play Queue (to continue listening in a different device)
  • Last.fm and ListenBrainz scrobbling
  • Artist Bio from Last.fm
  • Artist Images from Spotify (requires configuration)
  • Album images and description from Last.fm
  • Lyrics (currently only from embedded tags)
  • Internet Radios
  • Jukebox mode
  • Shares (experimental support)

Open Source too
Apps for all the phones and whatnot…

There are tons of ways to install…docker…bare metal, easy to follow walkthru’s too

Yep, Navidrome actually seems one of the best options. Didn’t imagine it’d be low on resources given the features it has.

As for MPD, I get now why it didn’t work since I don’t have any soundcard on my SBC.

That’s basically I think why MPD doesn’t work and Navidrome does. So I’ll stick to the latter.
Thanks!

Ah, so you need a steaming server only, no jukebox player. It is actually possible to run MPD like that as well, if I am not mistaken. Comment or remove the audio_output block for this in /etc/mpd.conf. Indeed, MPD it is more meant for audio output/handling at the server-side, so dietpi-software configures it like that OOTB, but since it is light and has light frontends/web interfaces, not a bad idea to use it as pure streaming server backend either.

And on DietPi, the most obvious install option of course is dietpi-software :wink:. Nothing against other install methods, but it is at least a little weird when a moderator on a DietPi forum links other install methods, but does not mention the native DietPi method at all :smile:.

1 Like

Didn’t look into it enough…yeah…should have thought of that :wink:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.