LinuxMCE Forums

General => Users => Topic started by: justdeb on October 21, 2008, 11:43:13 pm

Title: Template library
Post by: justdeb on October 21, 2008, 11:43:13 pm
Hi All,

Is it possible to export my device templates?
The reason i ask is - lets say i get a universal LG interface going for all models, rather than users having to create one they could simply download it from a central location (ie wiki) and just change a few settings once it has been loaded ?

If i then wanted to setup say certain X10 controls - i could download them from the central location and 'plug them in' so to speak.

I know that it is fairly straight forward to setup devices via the interfaces we have - it was more an idea of having it for newbies.

It would also be interesting in having a region specific set of templates - ie australia - us, uk. The purpose behind that is that the users here in australia can use VDR and why not have it loaded as a standard package either during install or by downloading a region specific package. I realise this is problably not straight forward - but i thought i would add it as something that might be of interest to others down the track.

Justin
Title: Re: Template library
Post by: tschak909 on October 22, 2008, 02:02:25 am
*hmm*

this is what sqlCVS is for. amazing how everybody wants to reinvent the wheel.

-Thom
Title: Re: Template library
Post by: rwilson131 on October 22, 2008, 05:45:47 am
There are actually two different LG templates already sent via sqlCVS waiting to be approved.  Once one of the templates have been approved. I have a plug and play script that we can add so that these will become Plug&Play serial controlled devices, but as per the wiki it is dependent on the device template number. 

Thanks,
Rob
Title: Re: Template library
Post by: justdeb on October 22, 2008, 09:05:57 am
Hi thom,

Sorry i didn't realise this feature already existed within Linuxmce. Is there a net based version of this where the templates are stored that i can access?

Justin
Title: Re: Template library
Post by: eNoodle on October 22, 2008, 09:16:11 am
@thom,

sqlCVS is ok for getting/sending new templates. But I would also like to see an online template browser. When I want to buy new hardware, a list of templates, already existing in LMCE, could help me choosing the right one. Of course, I could use webadmin to check what exists and what doesn't exist. But wouldn't it be nicer to have a central place, where the templates are listed, where they get rated by the users or where user leave their comments, etc...

I can't help writing Core modules for LMCE, but in that case I'm willing to programm that functionality, if there is a need for. ;)

eNoodle
Title: Re: Template library
Post by: justdeb on October 22, 2008, 10:05:57 am
Hi Rob,

When you say that is dependant on the template number - r u refering to the model number of the lg unit is 32lc7d, 6cdc1d etc?

From all of the service manuals and user manuals i have i have pretty much checked about 25 different models and the protocol is the same accross the models i have checked.

I would be interested in getting your plug and play script to see whether my model works.

Regards

Justin
Title: Re: Template library
Post by: bulek on October 22, 2008, 11:31:37 am
Hi,

I have entered template for LG M228WD LCD TV, that has probably similar rs232 command set than any other LG model....

But those sqlcvs entries are in queue for a long time and god knows what will happen with them

I have a remainder here, but I'm not sure if it is exactly the same as in sqlcvs.... I just wish that sqlcvs queue would processed faster....

http://wiki.linuxmce.org/index.php/User:Bulek (http://wiki.linuxmce.org/index.php/User:Bulek)

HTH,

regards,

bulek.
Title: Re: Template library
Post by: totallymaxed on October 22, 2008, 12:15:51 pm
*hmm*

this is what sqlCVS is for. amazing how everybody wants to reinvent the wheel.

-Thom


Its often hard for people to find all the 'under the hood' features of LinuxMCE... it has such a wealth of capabilities and depth of features. Of course this is also a massive 'strength' too... its what make LinuxMCE so exceptionally powerful.

Maybe what we need is a user friendly Web based front-end to sqlCVS that allows less technical users to get involved with device templates - creating new ones, extending and debugging existing ones etc etc. This would be a massively valuable exercise and one that many users could (and would willingly) get involved in.

Andrew
Title: Re: Template library
Post by: colinjones on October 22, 2008, 01:56:10 pm
<troll>
sqlCVS isn't working at the moment anyway, is it??!! For replication of new templates, etc... its very clever but unless its working, then we shouldn't get too prissy about people not knowing it exists!
</troll>
Title: Re: Template library
Post by: chriss on October 22, 2008, 02:07:37 pm
sqlCVS isn't working at the moment anyway, is it??!!
I noticed that the web interface (http://www.linuxmce.org/sqlCVS/) doesn't work because of some missing access rights ("Access denied for user 'root'@'localhost' (using password: YES)/Access denied for user 'www-data'@'localhost' (using password: NO)") but the sqlCVS server should be working...? At least I triggered an update two days ago without getting any errors.

Cheers
Chriss
Title: Re: Template library
Post by: hari on October 22, 2008, 02:10:46 pm
<troll>
sqlCVS isn't working at the moment anyway, is it??!! For replication of new templates, etc... its very clever but unless its working, then we shouldn't get too prissy about people not knowing it exists!
</troll>
it is. It was always working.
Title: Re: Template library
Post by: hari on October 22, 2008, 02:11:24 pm
sqlCVS isn't working at the moment anyway, is it??!!
I noticed that the web interface (http://www.linuxmce.org/sqlCVS/) doesn't work because of some missing access rights ("Access denied for user 'root'@'localhost' (using password: YES)/Access denied for user 'www-data'@'localhost' (using password: NO)") but the sqlCVS server should be working...? At least I triggered an update two days ago without getting any errors.

Cheers
Chriss
thanks for the hint, we've moved servers recently, I'll fix that.

best regards,
Hari
Title: Re: Template library
Post by: colinjones on October 22, 2008, 02:18:21 pm
<troll>
sqlCVS isn't working at the moment anyway, is it??!! For replication of new templates, etc... its very clever but unless its working, then we shouldn't get too prissy about people not knowing it exists!
</troll>
it is. It was always working.

Wasn't someone just describing sqlCVS as somewhat precarious right at the moment (golgoj?) and talking about manual export methods, sqlCVS notwithstanding... this isn't the first time I have gotten the impression that nothing was coming through from sqlCVS (although previously I assumed it was because nothing was being approved in)... how can I confirm what has been coming in through it? Clearly there is no acknowledgement (or request for confirmation) that templates are coming in, if that is the case as I have never received any alert of it in over 18 months....
Title: Re: Template library
Post by: hari on October 22, 2008, 02:33:00 pm
it is just that everybody till now tried to commit his complete "kitchen sink".

Tschak has successfully commited parts of his MAME stuff, we also have the DCS5300G from D-Link in there, and a partly working Marantz template.

Regarding the backlog, we've been pretty busy moving the stuff over and working on the build.

br Hari
Title: Re: Template library
Post by: chriss on October 22, 2008, 03:37:50 pm
it is just that everybody till now tried to commit his complete "kitchen sink".

Well, the tool is not that intuitive to handle...
BTW, I synced my german translation of the GUI to the server quite a while ago - I always thought that it worked well without syncing everything else... maybe I should check that again  ;)


Quote
Tschak has successfully commited parts of his MAME stuff, we also have the DCS5300G from D-Link in there, and a partly working Marantz template.

I can confirm that I was able to pull Tschak's MAME stuff from the server, at least some screens appeared in HADesigner.

Chriss
Title: Re: Template library
Post by: bulek on October 22, 2008, 07:44:39 pm
Hi,

I'd just like to kindly ask if anyone knows what will happen with all those contributions of new templates that were made and are waiting on Mantis - if I remember right, there was a post on forums that those contributions should be entered.... And they were, but would like to know if they are likely to be processed or are there some kind of problems expected....

Thanks in advance,

regards,

Bulek.
Title: Re: Template library
Post by: colinjones on October 22, 2008, 10:49:20 pm
it is just that everybody till now tried to commit his complete "kitchen sink".

Tschak has successfully commited parts of his MAME stuff, we also have the DCS5300G from D-Link in there, and a partly working Marantz template.

Regarding the backlog, we've been pretty busy moving the stuff over and working on the build.

br Hari

OK, I promised myself I wouldn't hassle you on this, Hari - but you mentioned it... so.... :) any chance you have found that bug in the Marantz template that causes media streams to stop as soon as they start? (I think you were thinking it was because of the -ve sign in the volume)

Also, does sqlCVS only include the template definition or will it also push any binary driver and pnp script you build for the template as well?
Title: Re: Template library
Post by: tschak909 on October 23, 2008, 04:04:30 pm
the database stores device schema.

If the device is GSD or Infrared, the device will also store the relevant code. Otherwise, the device must be provided by a package. Note that there is an entry for a Package.

READ THIS NEXT PART, AND READ IT AGAIN, AND READ IT AGAIN!

However to use this, you need to do any work on creating packages on a system that contains a build database, due to the replacement of <-mkr -> tags at build time to make a release. At Pluto, this was a dedicated system, that had been hacked to use the build database. For LinuxMCE development, I have a package box here that I can use to create package definitions. Should any of you want to create packages for devices, you'll need to do this too.

-Thom
Title: Re: Template library
Post by: hari on October 23, 2008, 10:06:05 pm
it is just that everybody till now tried to commit his complete "kitchen sink".

Tschak has successfully commited parts of his MAME stuff, we also have the DCS5300G from D-Link in there, and a partly working Marantz template.

Regarding the backlog, we've been pretty busy moving the stuff over and working on the build.

br Hari

OK, I promised myself I wouldn't hassle you on this, Hari - but you mentioned it... so.... :) any chance you have found that bug in the Marantz template that causes media streams to stop as soon as they start? (I think you were thinking it was because of the -ve sign in the volume)

Also, does sqlCVS only include the template definition or will it also push any binary driver and pnp script you build for the template as well?

i've found a bug in the web interface that prevented me from doing that change yet.

br, Hari
Title: Re: Template library
Post by: colinjones on October 23, 2008, 11:34:16 pm
Does that mean that you've found the bug with the template, but you just can't fix it yet because of some issue in the web admin? That sounds promising!! It would be so cool finally to throw away the Marantz remote (especially because it just failed - the only thing I was using it for was volume control, and its those two buttons that seem to have failed!!)