Author Topic: MAME Plugin Progress Thread  (Read 34564 times)

aaron.b

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #30 on: December 19, 2007, 04:14:56 pm »
Get this file: http://plutohome.com/gsdcode.tar.gz

Untar it, and add it to your database: mysql pluto_main < gsdcode

This contains all the Ruby code for all our GSD devices.  Look in InfraredGroup table, and see also Manufacturer table, to see the infrared groups.  I know the GSD for EIB and for Bang & Olufsen use some of the Ruby objects which interface back to LinuxMCE and retrieve device lists, send messages, etc.


Matthew

  • Douchebag
  • Addicted
  • *
  • Posts: 567
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #31 on: December 19, 2007, 08:00:50 pm »
This contains all the Ruby code for all our GSD devices.  Look in InfraredGroup table, and see also Manufacturer table, to see the infrared groups.  I know the GSD for EIB and for Bang & Olufsen use some of the Ruby objects which interface back to LinuxMCE and retrieve device lists, send messages, etc.

I'm not a Ruby programmer. So before I start learning enough Ruby to understand which LMCE API the Ruby code and objects are calling, if someone can point at that LMCE API itself, that would help me. But that Ruby code dump is certainly a bottom line example of how to do it. Thanks.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: MAME Plugin Progress Thread
« Reply #32 on: December 19, 2007, 09:07:45 pm »
aaron.b,

Thank you so much for that!  I'll dig into that now!  Don't want to discuss my insteon in this thread...

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: MAME Plugin Progress Thread
« Reply #33 on: December 24, 2007, 07:58:44 am »
Thom,

How's the MAME Plugin coming??

I've made a ton of progress on my Insteon today.  Tomorrow, I should be able to get it to automagically add new lighting devices...

If all goes well, it'll snap into the Lighting wizard, asking you which light is blinking...

I still have a bit of work, but i'd say it's 90% there. (to what I want it to be)

Hope you're having the same success with MAME...

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #34 on: December 25, 2007, 12:45:03 am »
am off it temporarily. I'm in Texas...my laptop doesn't have a working back-light, so I have to get to a place with a decent monitor so i can continue working on it.


ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: MAME Plugin Progress Thread
« Reply #35 on: December 25, 2007, 01:07:17 am »
Sorry to hear that..

When you do get back to it, Good Luck!

Merry Christmas

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 890
  • Living with LMCE
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #36 on: December 25, 2007, 10:36:09 pm »
...

If all goes well, it'll snap into the Lighting wizard, asking you which light is blinking...

I still have a bit of work, but i'd say it's 90% there. (to what I want it to be)

...

Dan

Hi,

can anyone please give some more info how you implement light flashing or light selection procedure ? do you have to implement it by yourself or is a part of LMCE ?

Thanks in advance,

regards,

Bulek.
Thanks in advance,

regards,

Bulek.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: MAME Plugin Progress Thread
« Reply #37 on: December 25, 2007, 10:47:13 pm »
Bulek,

That's what I'm working on right now...

From what I can figure, you send an event Report Child Devices to the system..

AFAIK, it should kick in the apropriate wizard...
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #38 on: December 25, 2007, 11:41:13 pm »
please move this out into a different thread. :-)

-Thom

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: MAME Plugin Progress Thread
« Reply #39 on: December 25, 2007, 11:54:56 pm »
Sorry Thom ;)

The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 890
  • Living with LMCE
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #40 on: December 26, 2007, 07:21:59 am »
Hi,

sorry also. Have moved discussion to http://forum.linuxmce.org/index.php?topic=3571.0.

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #41 on: January 05, 2008, 07:31:31 am »
am sorry, have been having health problems. I'm trying to continue work on this plugin.

-Thom

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #42 on: January 06, 2008, 08:26:29 pm »
I have sent a message to aaron.b asking for a little bit of help, but... I have writtten the first pass of the code that lives in the DCE router for the new media type.. Oddly enough, even though the plugin instantiates, and it says it is activated, even going as far as saying it's Registered: Yes, in the admin...

it doesn't seem to jump into my Register() method at all...nor any of the other commands (I see no log messages for them.) I have added appropriate schema to MediaType, MediaType_DesignObj, DeviceTemplate_Mediatype.. am I missing anything here?

I have attached a URL to the code here, and am wondering if anyone else can successfully compile it on their systems? or maybe shed some insight into why this isn't functioning???

http://www.localeconcept.com/pub/development/MAME_Plugin_Player.tar.gz

-Thom

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: MAME Plugin Progress Thread
« Reply #43 on: January 06, 2008, 10:55:29 pm »
I have sent a message to aaron.b asking for a little bit of help, but... I have writtten the first pass of the code that lives in the DCE router for the new media type.. Oddly enough, even though the plugin instantiates, and it says it is activated, even going as far as saying it's Registered: Yes, in the admin...

it doesn't seem to jump into my Register() method at all...nor any of the other commands (I see no log messages for them.) I have added appropriate schema to MediaType, MediaType_DesignObj, DeviceTemplate_Mediatype.. am I missing anything here?

I have attached a URL to the code here, and am wondering if anyone else can successfully compile it on their systems? or maybe shed some insight into why this isn't functioning???

http://www.localeconcept.com/pub/development/MAME_Plugin_Player.tar.gz

-Thom


did you also compile the dcerouter after running sql2cpp? Don't know if it's needed but may be worth a try.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: MAME Plugin Progress Thread
« Reply #44 on: January 06, 2008, 11:09:59 pm »
if that's required, that's just ($#@($#@ retarded!

-Thom