src / globalConfig.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const globalConfigSchematics = createConfigSchematics()
.field(
"ffmpegPath",
"string",
{
displayName: "ffmpeg path",
subtitle: "Path to the ffmpeg executable, or just its name if it is available on PATH.",
placeholder: "ffmpeg",
},
"ffmpeg",
)
.field(
"ffprobePath",
"string",
{
displayName: "ffprobe path",
subtitle: "Path to the ffprobe executable, or just its name if it is available on PATH.",
placeholder: "ffprobe",
},
"ffprobe",
)
.build();
src / globalConfig.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const globalConfigSchematics = createConfigSchematics()
.field(
"ffmpegPath",
"string",
{
displayName: "ffmpeg path",
subtitle: "Path to the ffmpeg executable, or just its name if it is available on PATH.",
placeholder: "ffmpeg",
},
"ffmpeg",
)
.field(
"ffprobePath",
"string",
{
displayName: "ffprobe path",
subtitle: "Path to the ffprobe executable, or just its name if it is available on PATH.",
placeholder: "ffprobe",
},
"ffprobe",
)
.build();