CC-3792: Record show's file cannot be saved
-fixed
This commit is contained in:
parent
ee52d2e36e
commit
9bb8e2ad8e
3 changed files with 20 additions and 14 deletions
|
@ -133,8 +133,8 @@ class ShowRecorder(Thread):
|
|||
recorded_file = mutagen.File(filepath, easy=True)
|
||||
recorded_file['title'] = name
|
||||
recorded_file['artist'] = artist
|
||||
recorded_file['date'] = md[0]
|
||||
recorded_file['year'] = md[0].split("-")[0]
|
||||
recorded_file['record_date'] = md[0]
|
||||
recorded_file['date'] = md[0].split("-")[0]
|
||||
#You cannot pass ints into the metadata of a file. Even tracknumber needs to be a string
|
||||
recorded_file['tracknumber'] = unicode(self.show_instance)
|
||||
recorded_file.save()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue