Skip to content
Discover shows on BBC Sounds that you never knew existed
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
templates
.gitignore
Dockerfile
README.md
build
requirements.txt
server.py
show_to_artist.sample.csv
shows.sample.csv

README.md

Discover Sounds

This is a pile of very hacky Python code made for a BBC hack day.

Given any number of artists to search for, this service will find a radio show available on BBC Sounds that contains songs by most of those artists. For example, if you search for Ramones, The Chemical Brothers and Jamie T, you might be presented with this show from Steve Lamacq.

Installation

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

How do I run it?

If you have an alternative data source for shows.csv and show_to_artist.csv, put their location in a file called .env. The file could look something like this:

SHOWS_CSV=data/shows.csv
SHOW_TO_ARTIST_CSV=data/vpid_to_artist.csv

Start the server using

python server.py

The server runs on port 5002 by default. This can be overridden by setting the environment variable PORT in the .env file.

You can’t perform that action at this time.