#How can i further customize smoothie filenames?

16 messages · Page 1 of 1 (latest)

static sky
#

Default is filename + fruit, can i add fps output, algorithm, speed etc somehow?

rigid wigeon
#

detailed filename

#

was a thing in alpha sm

#

probably not supported in smrs

lavish wasp
#

say if you want %FILENAME% ~ Smoothie

#

then replace it

static sky
#

is there a way to automaticaly use algorithm, speed, etc?

static sky
#

%algorithm% %tuning%

#

automatically put those in file name

lavish wasp
# static sky %algorithm% %tuning%
if format.contains("%FRUITS%") || format.contains("%FRUIT") {
        format = format.replace("%FRUIT%", "%FRUITS%").replace(
            "%FRUITS%",
            &format!(
                " {}",
                fruits
                    .choose(&mut rand::thread_rng())
                    .expect("Failed to select a random suffix")
            ),
        );
    }
    if format.contains("%FILENAME") {
        format = format.replace("%FILENAME%", &basename);
    } else {
        panic!("No `%FILENAME%` variable in recipe's `[misc] format:` key");
    }
#

🙏

#

sm-rs doesn't have support for it yet

#

you make a suggestion in #1020031513502429268 in that case