this post was submitted on 08 Jul 2024
40 points (95.5% liked)

Selfhosted

38768 readers
424 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

What would be the easiest self hosted way to share a music collection privately?

I am thinking of just granting guest access to the nas folder via wireguard or a simple caddy instance but also more sophisticated versions.

It would be good (but not a must) to have a search feature enabled.

Any recommendations?

all 26 comments
sorted by: hot top controversial new old
[–] [email protected] 19 points 1 month ago* (last edited 1 month ago)

I'm running a plex server on my NAS and use plexamp to stream music.

[–] [email protected] 14 points 1 month ago (2 children)
[–] [email protected] 15 points 1 month ago

Navidrome is another server that works pretty well, implements the subsonic protocol ( so all the apps that can cache and stream to your mobile device work). You can have multiple logins, or just share out playlists and albums individually to non-authenticated users.

[–] atzanteol 3 points 1 month ago (2 children)

Subsonic is perfect for this. Interface is a bit... dated, but the functionality is there.

[–] [email protected] 5 points 1 month ago

Subsonic is also a protocol (and opensubsonic) which supports many other clients, if you want. Personally my music collection is just hosted on gonic, a server-only subsonic implementation and I stream it to whatever clients I want.

[–] Voroxpete 4 points 1 month ago (1 children)

But use Airsonic instead, it's a fork that's free in both the beer and speech sense.

There's also Navidrome, which is a unique backend, but works with existing Subsonic clients. Check out both, see which one you like better.

[–] atzanteol 1 points 1 month ago* (last edited 1 month ago) (1 children)

I was just about to reply that I liked supporting the developer of the original code and that it wasn't too expensive (I bought a "lifetime premium" for something like $30 USD I think) . But it seems the licensing has gotten ridiculous since then and is now a subscription. :-(

[–] Voroxpete 1 points 1 month ago

I bought a "lifetime premium" for something like $30 USD I think

Same

[–] [email protected] 11 points 1 month ago

I use jellyfin

[–] [email protected] 10 points 1 month ago

Jellyfin is ideal for privately sharing music. Plex is similar but not FOSS.

[–] [email protected] 7 points 1 month ago* (last edited 1 month ago)

There have been a few mentions of Navidrome. I find it works well for sharing at an album or even artist level. It can do playlists as well. But you must explicitly choose what to share, at which point it's generates a unique URL and will generate a web player and zip if you enable the option to download.

You can, of course, just make user accounts and distribute credentials.

If you're needing to offer browsable folders to easily copy, basically a filesystem-like experience, it's probably not the best tool.

Edit: one more thing to point out is that navidrome, jellyfin, and airsonic all construct music libraries differently. Navidrome is using tags, jellyfin uses file names, airsonic uses directory structure. Not sure about Plex.

[–] [email protected] 5 points 1 month ago (1 children)

Sharing over LAN or Internet? To desktops, mobile devices? For file sync or streaming?

[–] [email protected] 2 points 1 month ago (3 children)

Over the internet for file sync. Desktop devices.

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

Then I would approach it as just regular file syncing. Syncthing is probably the most popular piece of software, though I haven't used personally used it over the Internet.

If you don't want to sync every file, perhaps your NAS has a native desktop file sync client? Or I'd run something basic like Filebrowser and let them download the individual files/folders they want, though it doesn't do syncing.

[–] [email protected] 1 points 1 month ago (1 children)

Imho easy mode is just throwing it on Plex and making sure your port is set up on your router for external access, then just sharing your music folder in Plex.

No need for a domain or anything

[–] [email protected] 0 points 1 month ago (1 children)

Plex should not be accessed externally using a port forward. Always use app.plex.tv as it prevents unauthenticated users from seeing the instance.

[–] [email protected] 1 points 1 month ago (1 children)

If I don't port forward, my friends that I've shared with can't see the instance

[–] [email protected] 1 points 1 month ago (1 children)

You do not need to port forward to share a Plex instance over the Internet. App.plex.tv manages the inbound connections automatically. All you need to do is manage invites to your friends. They log in with their email/password or with Google SSO to app.plex.tv and your content will be available over a secure connection with no port forwarding.

[–] [email protected] 1 points 1 month ago

Good to know, I'll turn it off when I get home from work, thanks

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

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

Fewer Letters More Letters
NAS Network-Attached Storage
NAT Network Address Translation
Plex Brand of media server package
SSO Single Sign-On
VPN Virtual Private Network

[Thread #859 for this sub, first seen 9th Jul 2024, 11:55] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 2 points 1 month ago

I also use jellyfin, and I can listen to stuff along side some friends too with SyncPlay!

[–] [email protected] 2 points 1 month ago

I don't know why people are recommending apps like Navidrome and Jellyfin when it isn't a music server that you're looking for but a way to share the music collection.

With that said, I can think of 2 approaches, and (likely) the easier option will be to use the help of such a server. Both will require a VPN server in the cloud which will be redirected via NAT/reverse-proxy into your network.

  1. Use something like Navidrome with LDAP/Auth solutions like Authelia. User has to authenticate themselves to access their account on the service like something in the cloud.

  2. To offer more barebones access to the underlying storage directly: set up NFSv4 for Kerberos.

[–] [email protected] 2 points 1 month ago

Does castopod work for this?

[–] [email protected] -1 points 1 month ago* (last edited 1 month ago)

Funkwhale is pretty cool.