wuvt / wuvt-site

Website including a CMS, playlist information, and donation management tools
https://www.wuvt.vt.edu
GNU Affero General Public License v3.0
11 stars 12 forks source link

Automation should not start so quickly when there is a DJ active but not on air #316

Closed mutantmonkey closed 7 years ago

mutantmonkey commented 7 years ago

We made changes recently to allow DJs to access Trackman without an active DJSet (i.e. "on air") so that they won't interfere with automation. The problem that we're running into now is that automation will actually end up starting before a DJ is able to log any tracks because the DJ active timeout gets left at NO_DJ_TIMEOUT, which is 5 minutes in our environment. Instead, we should set it to DJ_TIMEOUT so that it is treated the same as if the DJ is on air.