From 7b3c49e748c088964429338388a337b253edb54d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 22 Jan 2023 16:27:22 +0100 Subject: [PATCH] add format to mountpoint --- telecaster/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.39.5