Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.07 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.07 KB

Rust Radio Ruby Runner

This is an all-Ruby replacement of the previous ices0 with Perl module version of Rust Radio.

It uses ruby-shout to stream to a SHOUTcast server and Icecast server.

It reads FLAC files and encodes to Vorbis using ruby-audio and encodes to MP3 using icanhasaudio.

Note that some of these libs have been forked for minor tweaks.

USAGE

Add a show to the database:

$ bundle exec bin/rustradio add_show /path/to/liveshow.flac16

Start the stream:

$ bundle exec bin/rustradio play

Start the web console:

$ bundle exec bin/rustradio web

The web console can also be started using puma:

$ bundle exec puma

REQUIREMENTS

  • libmp3lame-dev
  • libsndfile1-dev
  • libshout3-dev

Deployment

Use SSH agent for deployments:

eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa