Closed luke14free closed 1 year ago
Specifically I was trying to do this by changing L624 of api.py to
"attributes": {"fileName": file_name, "fileSize": file_size, "previewFrameTimeCode": "00:00"}
(Linking to the docs for reference) https://developer.apple.com/documentation/appstoreconnectapi/apppreviewcreaterequest/data/attributes
Since the previewFrameTimeCode is optional, I had left it empty for now. I assumed (perhaps incorrectly?) that the appstore would use a reasonable default value.
My tentative plan was to specify the frameTime in a text file along-side the preview video.
If you're using AppPreviews extensively, then you might be able to test it more than I have up until now, so I appreciate any info/feedback to make it more useful :)
Specifically I was trying to do this by changing L624 of api.py to
"attributes": {"fileName": file_name, "fileSize": file_size, "previewFrameTimeCode": "00:00"}
Yeah, next step could be:
create_preview
and update_preview
publish_previews
to look for the optional config file beside the preview video and load the frameTimeCode from it's contents.Absolutely. Unfortunately apple picks a random point in the video for the preview by default, so even 00:00 it's quite useful as it makes it deterministic.
Unfortunately it looks like setting this to "00:00" (or any other value) still wont help as apple will simply ignore it 🤔 - investigating the best way to make this work
Is it possible to set it via the appstore connect web interface? Is only the api value ignored, or is the feature not available in general?
looks like I managed to make it work by waiting for the status of the upload to be complete, instead of upload_complete. however, I was thinking that having text files might not make a lot of sense for preview frame times (what if you have multiple previews?)
(what if you have multiple previews?)
One settings file per preview. The name would match the name of the video file, and sit next to it in the previews directory.
https://github.com/bennord/appstore-tools/pull/16 has implemented this via a json
attributes file.
A good compromise between implementing complex features for the app preview frame, would be to set it to 00:00 by default , so that designers/motion designers can export videos with the poster frame as the first (or first few) frame(s) of the video. WDYT?