Less crufty arguments for adding movie/audio strips to sequence editor from python
Closed, ResolvedPublic


Group: Unstable (example)

Previously to add a movie or audio strip to the sequence editor from python, you had to do:

sequence.new((filename, directory, fullpath, type), position, track)
sequence.new(('video.avi', '/path/to', '/path/to/video.avi', 'movie'), 1, 2)

... which was a bit redundant, since if you had the full path you didn't really need the filename and the directory.

This patch simplifies this to:
sequence.new((fullpath, type), position, track)
sequence.new(('/path/to/video.avi', 'movie'), 1, 2)
Improved code organization, and fixing buttons crash, as per conversations with ideasman
letterrip (Tom Musgrove) added a comment.Via Old WorldMar 31 2012, 6:58 PM
Hi, trying to update the status of the patch tracker. Please respond if this patch is still viable/useful and needs review or if it can be closed.
paroneayea (Christopher Webber) added a comment.Via Old WorldMar 31 2012, 9:05 PM
Close it, I think. This was pre-bpy... no longer relevant.
campbellbarton (Campbell Barton) closed this task as "Resolved".Via Old WorldMay 26 2012, 1:34 PM

Add Comment