this post was submitted on 08 Jul 2024
41 points (97.7% liked)

Selfhosted

39435 readers
2 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?

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 19 points 4 months ago* (last edited 4 months ago)

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

[–] [email protected] 14 points 4 months ago (2 children)
[–] [email protected] 15 points 4 months 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.

[–] [email protected] 3 points 4 months ago (2 children)

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

[–] [email protected] 5 points 4 months 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.

[–] [email protected] 4 points 4 months 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.

[–] [email protected] 1 points 4 months ago* (last edited 4 months 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. :-(

[–] [email protected] 1 points 4 months ago

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

Same

[–] [email protected] 10 points 4 months ago

I use jellyfin

[–] [email protected] 10 points 4 months ago

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

[–] [email protected] 7 points 4 months ago* (last edited 4 months 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] 3 points 4 months ago* (last edited 4 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
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 4 months ago

Does castopod work for this?

[–] [email protected] 2 points 4 months ago

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

[–] [email protected] 2 points 4 months 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] 0 points 4 months ago* (last edited 4 months ago)

Funkwhale is pretty cool.