Live data from Hacker News

Blackcandy: Self hosted music streaming server

github.com

261–270 of 311 posts

Re: Blackcandy: Self hosted music streaming server

#261

Earlier quoted context omitted.

All you need is this: 1. Self-hosted web server with local file system access to your media. 2. One HTML page that I will generate for you. This page will contain a media player and a play list of your media files. With this approach the solution is ridiculously simple, but you are at the mercy of the client device web browser for media codec/container support. For audio this is not so restricting but for video this…

Not a bad idea! Maybe you could create a GH page with some public domain music for a demo.

There are three examples in the repo. Look for the html files in the lib directory.

They won’t actually play media for you because I don’t include media files in the repo but you can get a very real sense of a long playlist and the usability of the media player controls and full playlist interaction.

Maybe I will work on better documentation in the future but I only wrote this to play files on my phone around the house.

Re: Blackcandy: Self hosted music streaming server

#262
post #190

I love self hosting useful apps. I wish finding more things was easier. Right now I self host a jellyfin server and home assistant. When I learned a subscription for home security was $75/mo I said “there has to be something out there” and there was. I pay the developer their $6/mo even though everything works without it. Jellyfin has been amazing for physical media backups. It’s nice to experience old VHSes and DVDs…

nginx-proxy becomes almost a must have if you have multiple services and prefer remembering domain names instead of port numbers https://github.com/nginx-proxy/nginx-proxy

That doesn't sound like a bad idea, but it's just as easy to create a bunch of LXC containers with their own MAC address and IP for me (and thus own hostname per service).

Re: Blackcandy: Self hosted music streaming server

#263

Earlier quoted context omitted.

Most self-hosted services metadata is only as good as the metadata on your audio files. I think using something like MusicBrainz Picard or beets to tag your media well is required, along with making sure that all files of a given album are in the same folder. (Plex has what seems like strict file naming conventions for music, but really all you need to do is make sure each album has all its files in one folder). If y…

So here is my question, or one of them, as someone starting this whole journey: exactly what metadata do you want outside of artist, song title, album title? Because I can see there's a lot to be had. Embedded album covers, subgenre tagging, synchronized lyrics ... hyperlinks to Discogs and MusicBrainz, maybe? Tempo in BPM? Key? ID3v2.3 or IDv2.4? Can you even do that to FLAC? And where do you get that metadata, usin…

> ID3v2.3 or IDv2.4? Can you even do that to FLAC? And where do you get that metadata, using what tools?

I rip my CDs to Ogg Vorbis, so the ID3 question is moot. Yes, FLAC supports plenty of metadata. I use beets[1] for tagging, which uses MusicBrainz as the source of truth.

> exactly what metadata do you want outside of artist, song title, album title?

Album Artist, and sort-orders for albums/artists what I like the most (but not all players use those), then yes album covers are useful. I don't really care about subgeneres, but there is a plugin for beets that will fetch those from last.fm

1: https://beets.io/

Re: Blackcandy: Self hosted music streaming server

#264
post #54

Earlier quoted context omitted.

If you haven't seen it, discogs releases a huge dataset for free that I feel like is ripe for powering a cool music recommendation engine

I haven't! I just did a quick search, is this[1] what you're talking about.. or something else? [1] https://discogs-data-dumps.s3.us-west-2.amazonaws.com/index....

Yes, that is what I'm talking about! I had once dreamed of building a service you could ask questions like "what other artists recorded in the same city in the same year as artist xyz" and have it figure it out via the discogs dataset.

Re: Blackcandy: Self hosted music streaming server

#265
post #224

Earlier quoted context omitted.

There is also path based, e.g. domain.tld/serviceA, domain.tld/serviceB

Won't work for many services, either they do some websocket stuff or they make assumptions about the URL or whatever. Subdomains are the way to go.

True enough, the app needs to support it.

Re: Blackcandy: Self hosted music streaming server

#266

Earlier quoted context omitted.

> Navidrome can work with your folder layout, too. Is that recent? When I was looking to replace libresonic I looked at Navidrome and it couldn't do that, and the developer indicated they didnt have plans to add that feature. I also settled on Gonic. Mostly for this reason.

I've used navidrome since the beginning with my own layout, you just mount the folder in the container and it goes and indexes it.

It indexes based on tags. You could theoretically have every file in one folder and still browse by artist/album/genre etc.

Re: Blackcandy: Self hosted music streaming server

#267

I’ve been searching for services that host personal music collections, but there doesn’t seem to be much available. I came across a product called Vox [1], which I might try. There are also plenty of self-hosted projects of varying quality (but I hadn’t seen Black Candy before). I'd like a service where I can upload a large folder of MP3s, and it would help organize them into albums, perform useful processing like Re…

Check out Roon if you havent already

Re: Blackcandy: Self hosted music streaming server

#268

Large microsd cards are very cheap these days. Using all this cloud stuff seems like a waste of multiple resources. And if you ever don't have a good connection then it's worthless. I've given stuff like this a try and only found it worth it on internal networks.

> Large microsd cards are very cheap these days

How reliable are they? I've had a couple of cards that I was playing music off mysteriously wipe themselves over the past year so I've subconsciously labelled SD cards as unsafe for long term storage.

Is this common or was I just unlucky?

> if you ever don't have a good connection then it's worthless

Here in Vietnam, internet is more stable even than electricity. We can be in the middle of a typhoon, trees and roofs being destroyed, no power for several days, and mobile data never even drops in speed.

Post reply on HN