radicast

command module
v0.0.0-...-20dd8ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2017 License: MIT Imports: 27 Imported by: 0

README

wercker status

radicast

  • record radiko
  • serve rss for podcast

REQUIRE

  • rtmpdump
  • swftools
  • ffmpeg or avconv
  • or docker (see docker section)

INSTALL

$ go get github.com/soh335/radicast

USAGE

SETUP CONFIG.JSON
$ radicast --setup > config.json
EDIT CONFIG.JSON
$ vim config.json
$ cat config.json

{
  "FMT": [
    "0 0 17 * * *"
  ]
}

cron specification is here

LAUNCH
$ radicast
$ curl 127.0.0.1:3355/rss # podcast rss
RELOAD CONFIG.JSON
  • reload config when receive HUP signal

DOCKER

$ 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

SEE ALSO

LICENSE

  • MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址