Skip to content

wuvt/pload

Repository files navigation

Pload

Pload is a web-based playlist loader for johnny-six.

It integrates a playlist builder with search using ElasticSearch. Users select a time range for their show, what johnny-six queue they want to play from, and what DJ they want johnny-six to log as. They then build or upload a playlist, using tracks from the search or direct URLs as they see fit.

To retrieve tracks, Johnny-Six polls the API, which returns the next unplayed track in the current show slot, marking it as played.

Local Development

  1. Copy config/config_example.json to config/config.json.
  2. Generate a random SECRET_KEY for config.json.
  3. Run docker-compose up
  4. On first run, run docker exec -it pload_app_1 flask initdb to create the necessary database tables.