[Blender_Kitsu] Publish Edit: Filenames are incorrect #12

Closed
opened 2023-04-17 23:02:16 +02:00 by Nick Alberelli · 1 comment
Member

Issue

In this PR I made this note When making the new 'Publish VSE Edit to Kistu' #7

Current pet project edit .blend files use have a naming convention {project_name}_v{revision}.mp4 convention.

  • Operator use this convention: {project_name}_{edit-entry}_v{revision}.mp4
  • This new filename convention To avoid overwriting any exisiting files on the shared drive when rendering new revisions in case of a mismatch.
  • Include Kitsu revision in filename to help users understand what operator is doing
  • We know the file's revision number by checking the number of existing preview files on the server via /data/edits/{edit_id}/preview-files

Solution

Specifically this line To avoid overwriting any exisiting files on the shared drive when rendering new revisions in case of a mismatch. is not correct. Better to cancel operation if file exist to avoid overwrite.

revert the naming convention so using this tools is exactly the same as previous editorial exports for petsproject

TODO

  • Fix Naming Convention
  • Cancel Operation if file exists to avoid unexpected overwrites

(and do it before anyone tries the tool!) :)

# Issue In this PR I made this note When making the new 'Publish VSE Edit to Kistu' https://projects.blender.org/studio/blender-studio-tools/pulls/7 Current pet project edit .blend files use have a naming convention `{project_name}_v{revision}.mp4` convention. > - Operator use this convention: `{project_name}_{edit-entry}_v{revision}.mp4` > - This new filename convention To avoid overwriting any exisiting files on the shared drive when rendering new revisions in case of a mismatch. > - Include Kitsu revision in filename to help users understand what operator is doing > - We know the file's revision number by checking the number of existing preview files on the server via `/data/edits/{edit_id}/preview-files` # Solution Specifically this line `To avoid overwriting any exisiting files on the shared drive when rendering new revisions in case of a mismatch.` is not correct. Better to cancel operation if file exist to avoid overwrite. revert the naming convention so using this tools is exactly the same as previous editorial exports for petsproject # TODO - [ ] Fix Naming Convention - [ ] Cancel Operation if file exists to avoid unexpected overwrites (and do it before anyone tries the tool!) :)
Author
Member

suppose to be here: TinyNick/blender-studio-tools#35

suppose to be here: https://projects.blender.org/TinyNick/blender-studio-tools/issues/35
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-tools#12
No description provided.