New patch to alter file loading from command line
I thought it may be useful to alter default "Add filenames from command line to new track" behavior, and made new cmd line switch "-l", that can be set to anything, but useful values I tested are: 2 - load concatenated on one track (for jpegs) 6 - load as resources only Default is 1 as before Usage: bin/cin -l 6 ~/*.jpg or bin/cin -l 2 ~/*.jpg Please test if possible, and even merge if it doesn't add regressions
Oh, and altering comment about what should happen also looks like good idea, consistency! On Fri, May 8, 2026 at 5:27 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
I thought it may be useful to alter default "Add filenames from command line to new track" behavior, and made new cmd line switch "-l", that can be set to anything, but useful values I tested are:
2 - load concatenated on one track (for jpegs) 6 - load as resources only
Default is 1 as before
Usage:
bin/cin -l 6 ~/*.jpg
or
bin/cin -l 2 ~/*.jpg
Please test if possible, and even merge if it doesn't add regressions
oh, and I think LOADMODE_REPLACE already can be used instead of my "1" in new code makes grep'ing easier those constants defined in cinelerra/loadmode.inc On Fri, May 8, 2026 at 5:35 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
Oh, and altering comment about what should happen also looks like good idea, consistency!
On Fri, May 8, 2026 at 5:27 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
I thought it may be useful to alter default "Add filenames from command line to new track" behavior, and made new cmd line switch "-l", that can be set to anything, but useful values I tested are:
2 - load concatenated on one track (for jpegs) 6 - load as resources only
Default is 1 as before
Usage:
bin/cin -l 6 ~/*.jpg
or
bin/cin -l 2 ~/*.jpg
Please test if possible, and even merge if it doesn't add regressions
Looks good and tested well and nice additional/handy option. On Fri, May 8, 2026 at 8:28 AM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
I thought it may be useful to alter default "Add filenames from command line to new track" behavior, and made new cmd line switch "-l", that can be set to anything, but useful values I tested are:
2 - load concatenated on one track (for jpegs) 6 - load as resources only
Default is 1 as before
Usage:
bin/cin -l 6 ~/*.jpg
or
bin/cin -l 2 ~/*.jpg
Please test if possible, and even merge if it doesn't add regressions
participants (3)
-
Andrea paz -
Andrew Randrianasulu -
Phyllis Smith