A one-liner that pulls an AAC stream, pipes it into ffmpeg which transcodes it to mp3, then pipes it into ezstream with your settings (in the xml file) which streams it your radio.
sudo apt-get install ficy ffmpeg ezstream
col2hex <- function(colour) { | |
col_rgb <- t(col2rgb(colour)) | |
rgb2hex(red = col_rgb[,1], green = col_rgb[,2], blue = col_rgb[,3]) | |
} | |
rgb2hex <- function(red, green, blue, rgbvec = NULL) { | |
if ((missing(red) || missing(green) || missing(blue)) && is.null(rgbvec)) { | |
stop("You must supply red, green, and blue OR rgbvec") | |
} |