An open API service indexing awesome lists of open source software.

https://github.com/edporras/souvlaki_rs

Utilities used by WGOT-LP 94.7FM for audio file fetching, importing, and notifications to basecamp.
https://github.com/edporras/souvlaki_rs

Last synced: 4 months ago
JSON representation

Utilities used by WGOT-LP 94.7FM for audio file fetching, importing, and notifications to basecamp.

Awesome Lists containing this project

README

        

Souvlaki Radio Station
======================

A set of scripts for automating file fetching and importing of
syndicated audio files for WGOT-LP 94.7FM in Gainesville, FL. This
won't likely be very useful to people since it fits our very specific
needs:

* Running [Libretime](https://libretime.org/) for broadcast of
our signal
* Airing of local and various syndicated programs from a variety of
sources (RSS, [AudioPort](http://audioport.org/), self-hosted)
* Use of [Basecamp 2](https://basecamp.com/) for WGOT-LP member
and supporter communication

This gem is installed on a linux system we manage and the fetching
scripts are scheduled using
[cron](https://en.wikipedia.org/wiki/Cron). The configuration file is
written in [EDN](https://github.com/edn-format/edn), a sample of which
is included in the source.

The script is run with one or more codes specified in the
configuration file representing various sources. If files are fetched,
a notification is posted to a specific thread on a Basecamp project
we use to coordinate scheduling.

The name is based on the wonderful song by Slowdive from their
[Souvlaki](https://en.wikipedia.org/wiki/Souvlaki_(album)) release.

## Installation

Install the taglib dependency:

```sh
sudo apt-get install libtag1-dev
```

Clone the repo:

```sh
git clone https://github.com/edporras/souvlaki_rs.git
```

Setup the libretime import script:

```sh
sudo mkdir /srv/airtime/bin
sudo cp bin/libretime-import /srv/airtime/bin
sudo chown -R www-data:www-data /srv/airtime/bin/libretime-import
```

You can add the bin folder to your path so you can easily find the
`srs_fetch` script. Alternatively, if you have a ruby dev environment,
you can download the gem from the
[releases](https://github.com/edporras/souvlaki_rs/releases) page:

```sh
gem install souvlaki_rs-0.12.11.gem
```

or build it using the source:

```sh
gem install bundler
bundle install
gem build souvlaki_rs
```

then install it as above.