LinuxMCE Forums
June 19, 2013, 04:06:07 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Newbie in device programming  (Read 823 times)
Mikel
Newbie
*
Posts: 11


View Profile
« on: February 06, 2010, 02:13:56 pm »

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!  Wink
« Last Edit: February 07, 2010, 02:13:58 pm by Mikel » Logged
weergygrogarf
First post!

Posts: 1


View Profile
« Reply #1 on: February 07, 2010, 10:15:15 am »

Thanks for sharing all the info. Have you or anyone else used cocos2d? Im curious about its performance on a device.
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #2 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.
Logged
Mikel
Newbie
*
Posts: 11


View Profile
« Reply #3 on: February 07, 2010, 09:39:42 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.   Cheesy

Thanks!  Wink
Logged
dlewis
Guru
****
Posts: 401


View Profile
« Reply #4 on: February 08, 2010, 02:37:14 pm »

Please keep us updated on your progress.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!