CC-5896: Store cloud files in separate table, inherited from cc_files

Fixed broken metadata display on Library page
Fixed broken download/preview option from Library page
This commit is contained in:
drigato 2014-07-28 15:17:46 -04:00
parent f1ea100411
commit ecb072b84c
4 changed files with 24 additions and 10 deletions

View file

@ -41,6 +41,9 @@ class CloudStorageUploader:
except OSError:
logging.info("Could not remove %s from organize directory" % audio_file_path)
'''pass original filename to Airtime so we can store it in the db'''
metadata["filename"] = file_base_name
metadata["resource_id"] = object_name
return metadata