News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Device Templates & sqlCVS

Started by samuelmukoti, September 28, 2008, 08:40:28 PM

Previous topic - Next topic

samuelmukoti

Hi,

I've just been reading a couple of guides on the LMCE wiki.  Many people have contributed features & fixes to various issues that the Current LMCE 710 has.  They keep mentioning how they hope the new Templates will be included in the next stock version.  Reading up what sqlCVS is supposed to do, i thought thats what its purpose was? Or I'm mistaken. 

Surely there should be a way of pushing new updates & devices templates to the public - on live systems out there.  I can imagine a scenario where Samsung releases a new HDTV with Serial or IR controll - and someone creates a template for it and gets everything to work nice - surely there should be an easy way of them posting/commiting their template into the repository so others can benifit - so when another person later buys and connects up the same TV, it will be listed in the setup wizard.  I believe this would be a wonderful feature to have that will make LMCE's PNP system even more effective. 

whats needs to be done for this kind of funtionality to become a reality?

Sam

Marie.O

Samuelmukoti,

that is the idea behind sqlCVS. Unfortunately, we have two problems
1) Man power - Every submission has to be manually commited
2) Fragility - sqlCVS is very fragile. For example, right now you  get problems if you don't first checkout the latest sqlCVS before submitting your changes

That is one of the reasons, why I created the DeviceTemplate exporter, so I can circumvent those problems for the time being, and still transfer templates from installation to installation.

rgds
Oliver
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

samuelmukoti

Ok, makes a lot of sence.  Will try out  your code, and since its PHP based, maybe possible eventually host it on an online central site, where it consolidates various Device templates from different users, with an menu option to select the one you want to import/export.

That would only be a stop-gap-measure till sqlCVS is working better.

just a thought.

Sam

Marie.O

samuelmukoti,

the resulting files can be stored anywhere. The generation for the export is done in PHP, and the resulting PHP file need to be executed on your core.

rgds
Oliver
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]