Posts About programming

Icecast is a simple music server that can be run from the Linux command line. I use it for a quick and simple streaming of my music library. Unfortunately, the artist and song titles are sometimes displayed with garbage characters inside them, and are truncated. Curious about what was causing this, and to try and fix it, I investigated.

Although my company works with web servers that run Linux (with case-sensitive filesystems), our development machines are typically OS X, which like Windows, uses case-insensitive filesystems. Because of this, we can’t create files that differ only in letter case. Unfortunately, we can’t always constrain our clients and third parties from doing the same. Sometimes we have to fix it for them by removing files with duplicate names (except for case).