forked from rc/aircox
streamer must have outputs to be run
This commit is contained in:
parent
2bdddbced8
commit
b7d20b8f26
|
@ -297,6 +297,8 @@ class Command (BaseCommand):
|
||||||
streamers = [Streamer(station) for station in stations]
|
streamers = [Streamer(station) for station in stations]
|
||||||
|
|
||||||
for streamer in streamers:
|
for streamer in streamers:
|
||||||
|
if not streamer.outputs:
|
||||||
|
raise RuntimeError("Streamer {} has no outputs" % streamer.id)
|
||||||
if config:
|
if config:
|
||||||
streamer.make_config()
|
streamer.make_config()
|
||||||
if run:
|
if run:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user