diff --git a/aircox/liquidsoap/management/commands/liquidsoap.py b/aircox/liquidsoap/management/commands/liquidsoap.py index 92881c9..2c196fc 100644 --- a/aircox/liquidsoap/management/commands/liquidsoap.py +++ b/aircox/liquidsoap/management/commands/liquidsoap.py @@ -20,12 +20,16 @@ import aircox.liquidsoap.utils as utils class StationConfig: + """ + Configuration and playlist generator for a station. + """ controller = None def __init__ (self, station): self.controller = utils.Controller(station, False) def handle (self, options): + os.makedirs(self.controller.path, exist_ok = True) if options.get('config') or options.get('all'): self.make_config() if options.get('streams') or options.get('all'): diff --git a/aircox/liquidsoap/models.py b/aircox/liquidsoap/models.py index efd4f9a..12c5775 100644 --- a/aircox/liquidsoap/models.py +++ b/aircox/liquidsoap/models.py @@ -24,7 +24,7 @@ class Output (models.Model): settings = models.TextField( _('output settings'), help_text = _('list of comma separated params available; ' - 'this is put in the output config as raw text'), + 'this is put in the output config as raw code'), blank = True, null = True )