diff --git a/python_apps/pypo/recorder.py b/python_apps/pypo/recorder.py index dcf74fa04..1bba9596c 100644 --- a/python_apps/pypo/recorder.py +++ b/python_apps/pypo/recorder.py @@ -141,18 +141,16 @@ class ShowRecorder(Thread): try: date = self.start_time md = date.split(" ") - # TODO : rename 'time' variable to something better so that there - # is no naming conflicts with the time module that is being - # imported - time = md[1].replace(":", "-") - self.logger.info("time: %s" % time) - name = time + "-" + self.show_name + record_time = md[1].replace(":", "-") + self.logger.info("time: %s" % record_time) + + show_title = time + "-" + self.show_name artist = "Airtime Show Recorder" #set some metadata for our file daemon recorded_file = mutagen.File(filepath, easy = True) - recorded_file['title'] = name + recorded_file['title'] = show_title recorded_file['artist'] = artist recorded_file['date'] = md[0] #recorded_file['date'] = md[0].split("-")[0]