python-api icon indicating copy to clipboard operation
python-api copied to clipboard

Renaming the uploaded media file using file_name

Open kt-lowen opened this issue 2 years ago • 1 comments

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!

kt-lowen avatar Sep 21 '22 16:09 kt-lowen