add view to controls stations

This commit is contained in:
bkfox
2016-07-29 18:44:39 +02:00
parent 5329e983a4
commit 9728acef81
8 changed files with 378 additions and 4 deletions

View File

@ -192,7 +192,6 @@ class Monitor:
diff = programs.Diffusion.objects.get_at(now).filter(
type = programs.Diffusion.Type.normal,
sound__type = programs.Sound.Type.archive,
sound__removed = False,
**args
).distinct().order_by('start').first()
return (diff, diff and diff.playlist or [])