CC-2110 : Soundcloud file metadata

added show genre column, this is used instead of soundcloud default genre if set.
This commit is contained in:
naomiaro 2011-04-02 17:09:37 -04:00
parent 7be60fbf84
commit b97e79773b
12 changed files with 174 additions and 38 deletions

View file

@ -84,8 +84,7 @@ class ShowRecorder(Thread):
# headers contains the necessary Content-Type and Content-Length
# datagen is a generator object that yields the encoded parameters
datagen, headers = multipart_encode({"file": open(filepath, "rb"), 'name': filename, 'show_instance': self.show_instance, \
'show_name': self.show_name, 'start_time': self.start_time})
datagen, headers = multipart_encode({"file": open(filepath, "rb"), 'name': filename, 'show_instance': self.show_instance})
self.api_client.upload_recorded_show(datagen, headers)