MIDItoOBS icon indicating copy to clipboard operation
MIDItoOBS copied to clipboard

Where to store settings for new feature (screenshot location)

Open javl opened this issue 3 years ago • 2 comments

I'm having a problem with the location (and possibly name) of saved screenshots. Currently they are stored inside the MIDItoOBS directory and use the current timestamp + png as their filename. I'd like to add the option to specify a directory so save in but before I do so wanted to ask what would be the best place to add this value: should I add it to the config.json file, or add it as a startup parameter? (like --screenshotdir, but this gets messy if more variables would get added in the future).

javl avatar Feb 11 '21 13:02 javl

Hi. If you are thinking about making a PR i'm fine with either. Startup param would be easiest but adding a new tinydb table called something like "settings" would also work,

lebaston100 avatar Feb 11 '21 18:02 lebaston100

I can add this to the config file and the command line arguments.

jberentsson avatar Apr 20 '21 01:04 jberentsson