From: Guillaume Pellerin Date: Sun, 22 Jan 2023 15:27:22 +0000 (+0100) Subject: add format to mountpoint X-Git-Tag: 1.0^2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7b3c49e748c088964429338388a337b253edb54d;p=telecaster-client.git add format to mountpoint --- diff --git a/telecaster/models.py b/telecaster/models.py index 9135ee2..8896e43 100644 --- a/telecaster/models.py +++ b/telecaster/models.py @@ -125,7 +125,6 @@ class Station(Model): self.course = self.conference.course self.department = self.course.department.name self.organization = self.course.department.organization.name - self.mount_point = self.slug self.conf = xml2dict(conf_file) self.date = datetime.datetime.now().strftime("%Y") @@ -167,7 +166,7 @@ class Station(Model): self.output_dir = output_dir self.record_dir = output_dir - station['infos']['short_name'] = self.mount_point + station['infos']['short_name'] = self.slug + '.' + station['media']['format'] station['infos']['name'] = self.slug station['infos']['description'] = self.slug if self.conference.professor: