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.
- Copy config/config_example.json to config/config.json.
- Generate a random
SECRET_KEY
for config.json. - Run
docker-compose up
- On first run, run
docker exec -it pload_app_1 flask initdb
to create the necessary database tables.