I’ve tried a few options over the years, including SMB and NFS, XBMC as well as HTML with javascript I found online.

I don’t have a large collection of music (fewer than 100 albums), so hand coding things was actually one of the quicker options to setup. That’s despite then hassle of hand coding the URL to each FLAC file as well as the album art. But sometimes the javascript doesn’t handle large collections of FLAC and each implementation I tried had different quirks so I’ve sunk a lot of time into that in other ways without a satisfactory result.

I’ve heard of Emby, Jellyfin, Plex, Roon and Servio. I just need something that’s simple to set up and access. I don’t need fancy features beyond the ability to play the music with a pleasant UI that can be accessed from the web (HTTP, not HTTPS). I’d be running this from a Raspberry Pi 3B which already has the lighttpd server running.

I’m also considering just getting a portable, 128GB FLAC player with a minijack connection and moving on with my life without getting involved in networking at all.

Any recommendations for an uncomplicated way to approach to doing this?

Edit: Thanks so much for the helpful and enthusiastic comments! I tried Navidrome and had it up and running in ten minutes thanks to this tutorial video: https://invidious.nerdvpn.de/watch?v=7V5UUJlSknY

I had to install docker-compose on the RPi. Then I got an error which turned out to be because I also needed a separate docker daemon which I installed following these instructions: https://www.simplilearn.com/tutorials/docker-tutorial/raspberry-pi-docker

In just 10+ minutes I had my music collection accessible from all my devices - thanks again!

  • rsolva@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 months ago

    I use Navidrome, it’s a single binary and gives you your own Spotify, kinda. It can be use with many other apps, in addition to the web interface, as it supports the subsonic protocol.

      • tux7350@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 months ago

        Another tip, please be very careful when exposing ports to the public. With docker you’re already mitigating your attack surfaces but an open port allows anyone to make a connection and there are lots of bots out there looking for open ports and vulnerabilities. A good alternative would be to setup wireguard and instead then connect through that or if you like simplicity check out Tailscale.

        • FarraigePlaisteach@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 months ago

          Thanks for that. I’ll look into tail scale (since you mentioned the magic word, ‘simplicity’). My domain doesn’t have any links to the pages on my server, and Navidrome is username and password protected. Would that be safe enough? I am using unencrypted http, though.

          • tux7350@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            3 months ago

            Unencrypted HTTP can mean that anyone can see your traffic as it passes through their network. Your ISP will see that traffic. If you’re streaming pirated music and you’re in a country that cares about those things, might not go very well. From a security stand point though, you still wouldn’t want to trust the authentication on the open port. A vulnerability may exist that you don’t know about. It’s always better to keep them closed and add another layer or two between your home computer and the public.

            Tailscale let’s you tunnel into your home network without opening any ports, and it encrypts the traffic. Much safer way of doing it.

        • Prison Mike@links.hackliberty.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          3 months ago

          Especially with music, if any of this is plain HTTP (or any other plaintext, non-encrypted protocol) and you live in a lawsuit happy jurisdiction you might end up with piracy letters in the mail.

            • Prison Mike@links.hackliberty.org
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 months ago

              Plain HTTP means anyone between you and the server can see those credentials and gain access.

              It it using HTTP Basic Auth by chance? It would be so easy to put nginx (or some other reverse proxy with TLS) in front and just pass the authentication headers.

              • FarraigePlaisteach@lemmy.worldOP
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                3 months ago

                I don’t know what kind of authentication it uses, but it dots appear to be susceptible to brute force https://github.com/navidrome/navidrome/issues/242

                But if I add a reverse proxy I would need it to just affect that one service/port. I’m running a publicly facing static (amateur/hobby) website - and other services - from there too and I’d prefer it to remain public.

                • themelm@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  3 months ago

                  All of my public facing sites are behind a reverse proxy. I use Nginx Proxy Manager it runs from docker and has an easy webgui. It takes care of things like https certificates and stuff to.

      • friend_of_satan@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        I saw in your update you mentioned installing docker-compose. Modern docker has “compose” as a verb, and should work as docker compose. I haven’t tested this on raspberry pi though.

        • FarraigePlaisteach@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          You’re right. It’s just that the package to installed is called docker-compose (if I remember right. I’m on mobile now). So the command to install was: apt install docker-compose, and the command was: docker compose. Thanks man.

    • NathanUp@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Seconding Navidrome. I stream from my Navidrome server to my phone, and then via DLNA from my phone to my HiFiBerry / stereo system. It’s very nice.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    3 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    HTTP Hypertext Transfer Protocol, the Web
    IP Internet Protocol
    NAS Network-Attached Storage
    Plex Brand of media server package
    SMB Server Message Block protocol for file and printer sharing; Windows-native
    VPN Virtual Private Network

    [Thread #971 for this sub, first seen 16th Sep 2024, 05:35] [FAQ] [Full list] [Contact] [Source code]

  • rhys@lemmy.rhys.wtf
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    I use Jellyfin in a way that sounds like what you want. You run a Jellyfin server wherever your FLACs are, access it via the web, and play things through your browser — or through Finamp on Android, in my case.

    • Kelo@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      I can vouch for Jellyfin - Nothing harder than setting up docker and connecting via Finamp. Been a very “set it and forget it” experience for me.

  • 9point6@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Plex is probably the easiest and most convenient, I think jellyfin is viable too, but I don’t use it.

    If you’ve got the money, Roon or Audirvana are the gold standard of self hosted music

    If you want something similar, but free, look into things like volumio or subsonic based solutions.

    • dmention7@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      Seconding Plex / Plexamp if the use case involves streaming remotely. Probably the easiest to get up and running for remote access.

      I’m not sure about the capabilities of hosting on a Pi, but it should be straightforward to run a couple different apps in parallel to test and compare features (I’m currently doing exactly that with Plex and Jellyfin)

  • StrawberryPigtails@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Currently I use Jellyfin and found it simple enough to setup. My personal setup is https on the public internet using Caddy as a reverse proxy to handle the https part, but you can set it up for local network access only using http.

    Jellyfin itself is not the greatest music player ever, (UI is more setup for movies and tv) but there are music-centric apps that use it as a backend that are really good, for most platforms. On my phone and tablet, I really like Finamp, and on the desktop I use Sonixd.

    I’m also considering just getting a portable, 128GB FLAC player with a minijack connection and moving on with my life without getting involved in networking at all.

    I used this setup for the better part of 20 years. Nothing wrong with it, my music collection simply expanded to the point where it simply wasn’t feasible to store all of it on my iPod anymore and from day to day I never really know what I’m going to be in the mood to listen to. Setting up a streaming service made more sense for me.

  • Blxter@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    I use Plex (Plexamp) and I can not complain. I don’t really access via the web browser however, I use the app for dedicated music playback.

  • ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    I’ve been very happy with Navidrome. I have it accessible on a subdomain, so I can just use it from wherever I want. Feishin is a great frontend for Linux desktop, and Tempo is a great frontend for Android.

    My friend uses Jellyfin instead of Navidrome, and he’s also happy with it. Both the frontends that I mentioned work with Jellyfin as well.