cc-4305: documented set_metadata_and_save

This commit is contained in:
Rudi Grinberg 2012-08-28 10:54:55 -04:00
parent 8a490c3aa4
commit 52b2423596
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@ class ShowRecorder(Thread):
self.api_client.upload_recorded_show(datagen, headers)
def set_metadata_and_save(self, filepath):
"""
Writes song to 'filepath'. Uses metadata from:
self.start_time, self.show_name, self.show_instance
"""
try:
date = self.start_time
md = date.split(" ")