Leo's Blog

This is my blog. You will find my various geeky posts here.

Simple Python Non-blocking Socket Server

I have been looking for a way to make a simple non-blocking socket server. I found a few examples on the net, that use select but they were complex and didn't show how to handle messages. How did I get to reaching this question?

The simplest way to make...

Continue reading...

Getting Icecast Metadata with Python 3

I'm currently working on making an Internet radio alarm clock. It's powered by a Raspberry Pi and an Ardiuno for controls/LCD.

I was using MPD to control the stations, but I was having stability issues, so I switched to MPG123. However I still need a way to...

Continue reading...