Comment by ๐Ÿ›ธ bluesman

Re: "Brought my internet radio station into Gemini"

In: s/Geminispace

I'm using a reverse proxy to serve the songs off a pi 5 in my house so I wanted low bandwidth, reasonable quality and I didn't want to re-encode. I jumped through hoops getting liquid soap running on the pi. The default install would seg fault. Why liquid soap? It's the only way I could figure out how to get a randomized song order on each iteration - at least without disconnecting clients when the playlist "recycled". Metadata was a nightmare. I gave up on having per song metadata and just set info for the entire stream.

All the tunes are served out of a ramdisk so I don't destroy the poor SD card over time.

It was a fun learning experience for sure. Not a lot of listeners though. No surprise. I can say with absolute confidence it's the only 100% original music station in Geminispace.

๐Ÿ›ธ bluesman

Jan 27 ยท 3 months ago

3 Later Comments โ†“

๐ŸŽฎ jprjr [OP] ยท Jan 27 at 17:53:

At one point I looked into Azuracast, which I believe integrates liquidsoap. It's pretty sweet but complex.

Mine is using Music Player Daemon, with an app I wrote (the chatbot) that connects to it and controls it, ensuring there's always music in the queue.

I know what you mean about the client disconnects - for MPD, I had to set a global sample rate + bit depth + channel count. Usually if any of those parameters change between tracks it disconnects clients, which makes sense.

MPD supports setting it per-output - but if you do the global setting, that also enables crossfading between tracks with different properties, since they all get normalized.

โ˜•๏ธ Homer ยท Jan 28 at 15:35:

I forgot that Lagrange didn't have support for some of the codecs and that's why they didn't work. Sorry.

๐ŸŽฎ jprjr [OP] ยท Jan 28 at 17:03:

@Homer all good!! I didn't realize I typo'd the web links and you helped me fix that

Original Post

๐ŸŒ’ s/Geminispace

๐ŸŽฎ jprjr:

โ€” Game That Tune Radio

Brought my internet radio station into Gemini โ€” Hi there everybody, just thought I'd share a small project I've been working on. I've been helping run an internet radio station featuring videogame music, and I thought it'd be neat to give it a Gemini presence. If your client supports it, you can stream music. There's links to a few different audio codecs (MP3, Opus, Vorbis, AAC). You can also use a client certificate to register an IRC...

๐Ÿ’ฌ 13 comments ยท 6 likes ยท Jan 25 ยท 3 months ago