It would be super useful and practical to have some kind of template system for the Object creator tool. Currently you have to tediously copy or type in all the property names, for a group of . Get one typo and you get no information of why nothing happened.
It would be excellent to have user configurable templates(maybe by simple config files?). The template could consist of a factory type, and a list of properties.
Each property could have a key, optional value, and if its constant(Unchangeable via the template GUI), required, or optional.
I think properties should have types too, for instance boolean, string, number, ip address, dropdown/enum, bitfields?
Im not too knowledgeable when it comes to the inner workings of pipewire, but Im certain there are common enum like values that can have global inbuilt types too.
My personal vision with this is to have another tool named something like "Template Instantiator". Clicking on it opens a window just like the Object Creator. Selecting a template from a dropdown updates the UI below with inputs matching the restrictions from the types in the template. Simply entering values such as names and creating would do the job!
I could see a heap of supporting ideas to this such as a search ability in templates, a "folder" structure for organizing templates, or modifications to the Object Creator to allow creating templates in program.
Personally wish I could fork off, and squiggle something up. But oh gosh rust hurts my brain, I consider what you have made very impressive XD
It would be super useful and practical to have some kind of template system for the Object creator tool. Currently you have to tediously copy or type in all the property names, for a group of . Get one typo and you get no information of why nothing happened.
It would be excellent to have user configurable templates(maybe by simple config files?). The template could consist of a factory type, and a list of properties.
Each property could have a key, optional value, and if its constant(Unchangeable via the template GUI), required, or optional.
I think properties should have types too, for instance boolean, string, number, ip address, dropdown/enum, bitfields?
Im not too knowledgeable when it comes to the inner workings of pipewire, but Im certain there are common enum like values that can have global inbuilt types too.
My personal vision with this is to have another tool named something like "Template Instantiator". Clicking on it opens a window just like the Object Creator. Selecting a template from a dropdown updates the UI below with inputs matching the restrictions from the types in the template. Simply entering values such as names and creating would do the job!
I could see a heap of supporting ideas to this such as a search ability in templates, a "folder" structure for organizing templates, or modifications to the Object Creator to allow creating templates in program.
Personally wish I could fork off, and squiggle something up. But oh gosh rust hurts my brain, I consider what you have made very impressive XD