Skip to content

Instantly share code, notes, and snippets.

@technicalflaw
technicalflaw / spec.md
Created February 25, 2024 11:36 — forked from ePirat/spec.md
Icecast Protocol specification

Icecast protocol specification

What is the Icecast protocol?

When speaking of the Icecast protocol here, actually it's just the HTTP protocol, and this document will explain further how source clients need to send data to Icecast.

HTTP PUT based protocol

Since Icecast version 2.4.0 there is support for the standard HTTP PUT method. The mountpoint to which to send the data is specified by the URL path.

@technicalflaw
technicalflaw / splitmbox.py
Created April 24, 2019 17:51
Split a Unix-style mailbox into individual files
#! /usr/bin/env python
""" Split a Unix-style mailbox into individual files
Written by Aquarius <[email protected]>
Usage: splitmbox.py <mailbox-file> <directory>
This will create files numbered 01,02,03... in <directory>. The
number of prefixed zeroes will make all filenames in the
directory the same length. """