Improve Clip Naming Convention when Splitting Clips
Posted: 08 Jan 2023, 18:50
Thierry wrote: ↑07 Dec 2022, 14:19
New features in v11.7.1 released on Dec.7, 2022 (and updated on Dec. 22, 2022) -
viewtopic.php?p=131408#p131408
- Changed clip naming convention: by default, clips are now named “Clip_001”, “Clip_002”… instead of “Untitled”.
The new clip naming convention Clip_001, Clip_002, Clip_003, etc. is fine.
However , in a discussion with a new user about using the Split Clip command to split up a long project into many clips I am reminded that every time a clip is split, TVPaint appends the designation left or right, and as more splits are made the accumulation of "right" on the new clip names increases each time. So if you originally had a single clip named Clip_001 and you split it multiple times you end up with ridiculous clip names like: Clip_001,right,right,right,right,right,right,right,right,right,left .
Of course , the best practice is to initially set up a new project with an appropriate number of clips , all named consecutively as Clip_001, Clip_002, Clip_003, Clip_004, Clip_005, etc. so you don't have to go through a procedure of making multiple splits. But sometimes it happens that a longer clip needs to be split up multiple times.
As of now the only workaround is to immediately re-name the clip after the splitting action has been performed , to eliminate the excess accumulations of "right,right,right,right,right,right" appended to the Clip name as each additional split is made.
Is there any way to eliminate having the "left" and "right" appended to the Clip Name when a single clip is split up into multiple clips ? If I have a single clip named Clip_001 and I split it into two clips then it seems like the project should now have Clip_001 and Clip_002. Then if I split it again the project would have Clip_001, Clip_002, Clip_003, ... and so forth.
This could be problem if the project already contains other clips named Clip_002, Clip_003, Clip_004 , etc. so perhaps when a clip is being split the newly split clip gets a designation of a, b, c. d, e. f, g, etc. Therefore splitting Clip_001 multiple times would result in clips named like this: Clip_001, Clip_001a, Clip_001b, Clip_001c, Clip_001d, etc. , leaving the names of other clips in the project unduplicated when creating new split clips, so there are no redundant or duplicated clip names. If a single clip is split more than 26 times , the appended letter doubles up starting after Clip_001z , so the next one is Clip_001aa, then Clip_001bb, Clip_001cc, and so forth ...
Another thought: is it possible to add a batch Rename Selected Clips command (similar to Rename Instances on the timeline) so if the user Selects All Clips (or a certain range of Clips) then clicks on Rename the user can specify a Prefix name (or just leave the name as Clip) and a Starting number like 01 or 001 , so then all the clips will be renamed sequentially as Prefix_001 , Prefix_002, Prefix_003, Prefix_004, Prefix_005, Prefix_006, Prefix_007, etc.
-------
This is not a useful naming convention for clips, imo -
.