Sign up here and you can log into the forum!

Web remote control development

Feature requests / enhancements discussion regarding the web interface

Re: Web remote control development   

Postby mad_ady » Sun Jan 08, 2012 10:57 pm

Here are some tips on how to build an app.bin: http://wiki.wdlxtv.com/Creating_an_app_bin
It's easiest to try with an attached USB drive, but it would work as well via NETMOUNTS.

Also - what are the bugs you've fixed in upnp-cmd? I'm sure we could apply the patch in the stock upnp-cmd...
User avatar
mad_ady
Developer
 
Posts: 4522
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Web remote control development   

Postby mirata » Mon Jan 09, 2012 7:27 am

Also - what are the bugs you've fixed in upnp-cmd? I'm sure we could apply the patch in the stock upnp-cmd...


Cool.. I have 0.5.1.1 firmware with base 1.05.04, and upnp-cmd Seek commands always returned invalid argument. After downloading a upnp inspector tool, I found that the parameter names were wrong. This is what it should be..

Code: Select all
function _actionSeek($prmSeekMode, $prmSeekTarget) {
    # SeekModes: "X_DLNA_REL_BYTE" = Bytes Integer, "REL_TIME" = hh:mm:ss, "TRACK_NR" = Track Integer
    $action = 'Seek';
    $args =  '<InstanceID>0</InstanceID>' . "\r\n";
    $args .=  '<Unit>' . $prmSeekMode . '</Unit>' . "\r\n";
    $args .=  '<Target>' . $prmSeekTarget . '</Target>' . "\r\n";
    $result = _sendUPnPCommand($action, $args, 'AVTransport');
}
mirata
n00b
 
Posts: 6
Joined: Sat Dec 31, 2011 8:34 pm

Re: Web remote control development   

Postby work536 » Sun Jan 15, 2012 10:50 pm

This project looks really good, I was wondering about something of this nature for quite a while now.
Would like to contribute if possible.
work536
Donor
 
Posts: 2
Joined: Thu Aug 18, 2011 7:43 am

Re: Web remote control development   

Postby point » Tue Jan 17, 2012 1:43 pm

Maybe You can get some inspiration from this:

http://wiki.wdlxtv.com/Emulate_Remote_Keys#Method_3

(remote control through raw TCP port)
point
n00b
 
Posts: 13
Joined: Fri Dec 23, 2011 11:51 am

Re: Web remote control development   

Postby Pepeto » Thu Jan 26, 2012 5:09 am

Hi!

I'm looking exactly for the same thing... but for Android.

I see that upnp-cmd is "the key" but I don't know how to "send" it to de wdlxtv to work

Can you help me and tell me how do you send the instruction to work?

Thanks and really good work
Pepeto
n00b
 
Posts: 7
Joined: Thu Jan 26, 2012 5:07 am

Re: Web remote control development   

Postby recliq » Thu Jan 26, 2012 10:42 am

use search, use search, use search...
http://forum.wdlxtv.com/viewtopic.php?f=38&t=2332
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Web remote control development   

Postby Pepeto » Mon Jan 30, 2012 4:02 am

Hi

I don't know if "use search" is for me... but I was searchign how to do this... and I don't have it clear... that is what I'm asking.

I read the thread again (I was looking previously) and nothing resolved to me...

I need to know how mirata make the request to play, pause, etc to the wdlxtv. I read about upnp-cmd... but I don't know if I need something special to do.

Thanks anyway.
Pepeto
n00b
 
Posts: 7
Joined: Thu Jan 26, 2012 5:07 am

Re: Web remote control development   

Postby recliq » Mon Jan 30, 2012 4:10 am

I don't get it, you asked for a way to remote control the WDTV from android, right?
I point you to an application for Android implementing a complete remote control for WDTV...

What else do you need? You don't need to handle any uPnP commands yourself, install the app from market, enter your ip, telnet login and password and you're done.

If you want to know how the uPnP commands work have a look at /usr/bin/upnp-cmd.
https://svn.wdlxtv.com/filedetails.php?repname=1.05.04-wdlxtv&path=%2Flive%2Ftrunk%2Fusr%2Fbin%2Fupnp-cmd
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Web remote control development   

Postby Pepeto » Tue Jan 31, 2012 2:39 pm

Thanks!!!!

Going and looking that web....

Thank you!

PS: I am a developer... and I want to make a program in android that make it... That's the confusion... Thanks!!!
Pepeto
n00b
 
Posts: 7
Joined: Thu Jan 26, 2012 5:07 am

Re: Web remote control development   

Postby Pepeto » Wed Feb 01, 2012 4:40 am

Hi again.

I am looking that web, and there are the instructions of the upnp-cmd.

I don't know if I must to create a .php in the wdlxtv, or I can send the upnp-cmd instruction from http and this execute the instruction itself.

Are there a source code that can help me?

Thank you very much.

PS: Sorry about my english...
Pepeto
n00b
 
Posts: 7
Joined: Thu Jan 26, 2012 5:07 am

PreviousNext

Return to Webend Web Interface

Who is online

Users browsing this forum: No registered users and 2 guests

cron