Author Topic: Sharing Sky Plus device template  (Read 7425 times)

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Sharing Sky Plus device template
« on: May 11, 2010, 12:12:21 pm »
I have created a new device template for a sky plus satellite receiver. I did this using a usbuirt and 'learning' the ir commands. There are already 'sky' codesets but none of them work for my receiver.

How can I make this template available for all users of LinuxMCE?

Barney

<edit>title for clarity</edit>
« Last Edit: August 12, 2010, 07:02:42 pm by b4rney »

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Sharing device templates
« Reply #1 on: May 12, 2010, 10:33:21 am »
First of all, thanks for your contribution! This is a really good example how to LinuxMCE users can help to project to improve it and extend its functionality.

The easiest and safest way to share your template IMHO is to create a page in the wiki with all commands similar to that one - http://wiki.linuxmce.org/index.php/Marantz_SR5600. You may also prepare a script - PHP, Perl shell etc which will create the template in the DB automatically. And the finally, feel free to join dev IRC channel (linuxmce-devel on the Freenode) and ask there how to commit your template using sqlCVS.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: Sharing device templates
« Reply #2 on: May 12, 2010, 05:55:51 pm »
I second Nite_man, the more working templates there are for different devices the easy it is for new users and it also makes it easier for you to re-install if needed.

I submitted a couple of templates over the last two weeks and it involves taking out a trac ticket and submitting using sqlCVS.  This process is better completed with a 'sponsor'.  Go to the IRC channel, like Nite_man said, and ask somebody to talk through the process and then approve your submission.

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Sharing device templates
« Reply #3 on: May 12, 2010, 07:15:22 pm »
Thanks guys.
Will do.
Barney

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Sharing device templates
« Reply #4 on: May 12, 2010, 08:09:01 pm »
ARRRGGGHHH GUYS! GUYS! GUYS!

If you do not know the correct method, DO NOT SPEAK UP! Why don't any of you pay attention?

....

b4rney,

Please, we need to get your device templates into sqlCVS so that others can use it...

do you have one or more templates to contribute?

-Thom

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Sharing device templates
« Reply #5 on: May 12, 2010, 08:10:53 pm »
nite_man, the wiki is NOT a dumping ground for device templates!

-Thom

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Sharing device templates
« Reply #6 on: May 12, 2010, 09:54:37 pm »
nite_man, the wiki is NOT a dumping ground for device templates!

-Thom

Correct. Thanks for clarification, Tom.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Sharing device templates
« Reply #7 on: May 12, 2010, 09:56:36 pm »
Sorry Michael, I was a little irritated...

-Thom

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Sharing device templates
« Reply #8 on: May 12, 2010, 11:19:58 pm »
No problems, Tom :)
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Sharing device templates
« Reply #9 on: May 13, 2010, 12:18:50 am »
Thom,

I only have the one template. I know my way around mysql dbs if someone can point me in the right direction I might be able to create a sql file.

Barney

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Sharing device templates
« Reply #10 on: May 13, 2010, 12:35:18 am »
OK Found this page:
http://wiki.linuxmce.org/index.php/SqlCVS#Submitting_a_new_batch

Need to know what tables to do the diff on for a new av device with new ir codeset.
Barney

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Sharing device templates
« Reply #11 on: May 13, 2010, 02:07:38 am »
Okay,

First step, is to create a ticket at http://svn.linuxmce.org/ ... with the name of your device template.. this is so we can track it through the batches so we can approve it. We just need to be able to read it, and match it up with the ticket #.

Second step, in the web admin, use sqlcvs diff.. and select the dce and ir repositories (all the tables).

Third step, look over the stuff it sends back, to make sure it's okay.

Fourth step, IN THE COMMENTS BOX BELOW, put in the # of the trac ticket you made above. So we can track it.

Fifth step, submit.

We'll look over it, verify it, and if it's okay, we'll approve it.

Voila, it will be included in the next update.

:)

-Thom

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: Sharing device templates
« Reply #12 on: May 13, 2010, 05:12:12 am »
Thom,

I only gave the directions I gave because that is what you told me to do - work with somebody in the IRC such as yourself.  I was going to give the instructions you gave but did not want to get thwapped :)

One thing though, it would be good if the tickets got closed out so we knew they were submitted.  My two submissions are not closed out, for example (below) 

http://svn.linuxmce.org/trac.cgi/ticket/676
http://svn.linuxmce.org/trac.cgi/ticket/661

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Sharing device templates
« Reply #13 on: May 13, 2010, 12:30:15 pm »
Ticket submitted (#681). Diff submitted as anonymous with ticket ref in comments.

Hopefully this thread will help others too.
Thanks guys
Barney

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Sharing Sky Plus device template
« Reply #14 on: August 12, 2010, 07:14:42 pm »
Can confirm this device (SKY > Sky Plus) is now available as AV equipment in recent builds.

In order to use this template you'll need to complete the initial setup without it, then add it as av equipment in the web admin, then re-run the setup wizard and it will appear and can be assigned to your capture card.

Thanks Thom,
Barney