python-api
python-api copied to clipboard
Renaming the uploaded media file using file_name
Hi All!
I am working with this API (and it is fabulous), but I am running into issues with using s.add_media() where the name of the file on disk, even when I declare a file_name in my function call, uploads to syncsketch with the name on disk. Any help on this would be great! I think I am using it correctly, but any advice would be greatly appreciated! Below is the example of my function call:
s.add_media(review_id=review_id,filepath=path,artist_name=artist,file_name="katie_upload.mp4")
With this call and file_name declared, my video still uploads as "test.mp4" and not the name I expect (katie_upload.mp4)
Thanks so much!
Hi @kt-lowen , thank you for letting us know. We're looking into this and will push a fix as soon as we can!
This is old sorry, but we have working direct to s3 multi-part uploads with upload_file() now. Have tested and confirmed the file_name param works on this new method.