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

Newbie in device programming

Started by Mikel, February 06, 2010, 02:13:56 PM

Previous topic - Next topic

Mikel

Hi, I'm a newbie in linuxMCE world, and I want to encode a Device that catches the Commands from Xine Player. I read the wiki and forum, but I have a few questions yet:

- Do I need to create a Child Device of Xine Player to catch the Commands?

- To catch the Commands, simply I have to write the code into the stubs of the Commands? For example, writing my code into CMD_StopMedia procedure into MyClass.cpp is going to execute this code when I pause the video in LinuxMCE?

I am asking these questions because we are working with LinuxMCE to realize a project into our university. We have a lot of work to do, but soon as we finish the project, we are going to share it with community.

Thanks!  ;)

weergygrogarf

Thanks for sharing all the info. Have you or anyone else used cocos2d? Im curious about its performance on a device.

colinjones

Not 100% clear on what you are trying to do, but I don't think it needs to be as complicated as that. You may just be able to register for an event.

Mikel

Quote from: colinjones on February 07, 2010, 08:56:02 PM
Not 100% clear on what you are trying to do, but I don't think it needs to be as complicated as that. You may just be able to register for an event.

Yeah, I found the answer this afternoon. The key is the Event handler.

By the way, our project is gonna be like LastFM for TV shows.   :D

Thanks!  ;)

dlewis

Please keep us updated on your progress.