- record radiko
- serve rss for podcast
- rtmpdump
- swftools
- ffmpeg or avconv
- or docker (see docker section)
$ go get github.com/soh335/radicast
$ radicast --setup > config.json
$ vim config.json
$ cat config.json
{
"FMT": [
"0 0 17 * * *"
]
}
cron specification is here
$ radicast
$ curl 127.0.0.1:3355/rss # podcast rss
- reload config when receive HUP signal
$ mkdir workspace
$ cd workspace
$ docker pull soh335/radicast
$ docker run --rm soh335/radicast:latest --setup > config.json
$ docker run --rm -p 3355:3355 -v `pwd`:/workspace soh335/radicast:latest --config /workspace/config.json --output /workspace/output
- MIT