output.file(%mp3(bitrate=64), "/home/radio/liquidsoap/archive/%Y-%m-%d/%Y-%m-%d-%H_%M_%S.mp3", reopen_when={0m0s},radio)
#!/usr/local/bin/liquidsoap set("log.file.path","/home/radio/logs/radio.log"); set("tag.encodings",["UTF-8"]); radio = out(input.http("http://kashernoradio.ru/radio.mp3")); output.file(%mp3(bitrate=64), "/home/radio/archive/%Y-%m-%d/%Y-%m-%d-%H_%M_%S.mp3", reopen_when={0m0s},radio);
2015/08/24 04:32:51 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. 2015/08/24 04:32:51 [threads:3] Created thread "generic queue #1". 2015/08/24 04:32:51 [threads:3] Created thread "generic queue #2". 2015/08/24 04:32:51 [threads:3] Created thread "non-blocking queue #1". 2015/08/24 04:32:51 [threads:3] Created thread "non-blocking queue #2". 2015/08/24 04:32:51 [threads:3] Created thread "http polling" (1 total). 2015/08/24 04:32:51 [clock.wallclock_OSS:2] Error when starting output oss_out(/dev/dsp): No such file or directory in open(/dev/dsp)!
radio = mksafe(input.http("http://kashernoradio.ru/radio.mp3"))