[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
[200] Remote Control Via Telnet(Raw Socket) to port 30000
08-30-2011, 08:45 AM
Post: #196
RE: Remote Control Via Telnet(Raw Socket) to port 30000
Thank you for this, this is the best controller out there. One question:

I have Popcorn Hour C200 Web Remote Control v1.0-0001 installed (according to the readme) on a A200 device, and want to use this brilliant iphone skin, by SmashD. BUT, while the original skin works, the iphone one does not. Any idea why? Are the buttons remapped? Please help, really need to make this work as the skin is so damn good.


Thank you!
Find all posts by this user
Add Thank You Quote this message in a reply
08-30-2011, 10:24 AM
Post: #197
RE: Remote Control Via Telnet(Raw Socket) to port 30000
Hi, please help us fix it by giving as much info as you can;
By sing the iphone skin does not work; in what way do you mean?
- Does it load at all?
- Does it load, but nothing happens when you press the keys (on the Iphone skin)?
- Does the default desktop browser version work, e.g. if you load the default skin from a browser (any)?
Slightly more advanced:
- Does it work to send the raw commands via e.g. Putty or shell to the port 30000, without
- Is the daemon for port 30000 active on the NMT? (using telnet and checking with ps or netstat or similar)

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
08-30-2011, 11:58 AM (This post was last modified: 08-30-2011 12:49 PM by Slycer.)
Post: #198
RE: Remote Control Via Telnet(Raw Socket) to port 30000
I have the iphone skin in Z:\Apps\c200remote\webui\skin\iphone on my A200. I start it by going to http://device_ip:9999/c200remote_web/skin/iphone and it loads perfectly, on my Galaxy S2 as on my computer. But when I press the keys on the iphone skin, nothing happens.

If I load the original skin, via http://device_ip:9999/c200remote_web/ the remote controller loads perfectly, and the buttons work as intended! Works on my PC as on my mobile phone. But it's a bit awkward using it on my phone, the iphone skin is much better for this.

How do I check the two more advanced questions? And thanks for helping!!



QUICK EDIT:

I checked with Nmap, and port 30000 is NOT active on my A200. Nmap says telnet is on port 23. Can you help?

QUICK EDIT 2:

Now Nmap says it found port 30000! And it's open. But Nmap says: 30000/tcp open unknown
Find all posts by this user
Add Thank You Quote this message in a reply
08-30-2011, 01:19 PM
Post: #199
RE: Remote Control Via Telnet(Raw Socket) to port 30000
New post for new development.

I installed version 2.2.2 in a zip, a page or two back. And neither of the new interfaces there work. If I use the "Previous interface", meaning the one from 1.0.1, then it works. Could it be that something in 2.2.2 is broken? Both interfaces do not work. And I had previously transfered that iphone skin from an installed instance of 2.2.2, which I deleted after it did not work. Then reinstalled 1.0.1, and copied the iphone skin to the skin folder.


Can something be wrong with 2.2.2, what was made different?
Find all posts by this user
Add Thank You Quote this message in a reply
08-30-2011, 05:03 PM
Post: #200
RE: Remote Control Via Telnet(Raw Socket) to port 30000
(08-30-2011 01:19 PM)Slycer Wrote:  New post for new development.

I installed version 2.2.2 in a zip, a page or two back. And neither of the new interfaces there work. If I use the "Previous interface", meaning the one from 1.0.1, then it works. Could it be that something in 2.2.2 is broken? Both interfaces do not work. And I had previously transfered that iphone skin from an installed instance of 2.2.2, which I deleted after it did not work. Then reinstalled 1.0.1, and copied the iphone skin to the skin folder.


Can something be wrong with 2.2.2, what was made different?

Thank's for your detailed feedback, it appears to be a bug due to packaging and/or the code for the iPhone skin, hopefully it's just a packaging/permissions issue or similar quirk.

Your info says that port 30000 is available and can receive commands, so the backend is OK. Now we "simply" need to figure out where it fails for the new iPhone skin...

I hope to get some time for this later on this week, possibly during the weekend. Meanwhile, anyone that can help to narrow it down is more than welcome to join the bug hunt!

The code source is open and public and Google Code page, and the packages are available in CSI (old version 1.0.1) or at my site (latest version 2.*, link posted further up the thread).

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
08-30-2011, 08:31 PM (This post was last modified: 08-30-2011 08:32 PM by Slycer.)
Post: #201
RE: Remote Control Via Telnet(Raw Socket) to port 30000
Thank you dc11ab! This is really is the best thing ever.
Find all posts by this user
Add Thank You Quote this message in a reply
11-16-2011, 04:28 PM
Post: #202
RE: Remote Control Via Telnet(Raw Socket) to port 30000
when i unpack the tar file and open it with notepad i see alot of codeerrors, wrong placed breaks and some words of functions are missing, kinda strange i think thats the problem that it wont work when you use this file
Find all posts by this user
Add Thank You Quote this message in a reply
11-16-2011, 04:39 PM
Post: #203
RE: Remote Control Via Telnet(Raw Socket) to port 30000
Try open it with a real text editor, if you are on Windows Notepad++ should do.
It might get garbled with the different line endings used in Windows vs. *nix.

If I get time later on tonight I'll give it a go myself.

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
11-16-2011, 06:53 PM
Post: #204
RE: Remote Control Via Telnet(Raw Socket) to port 30000
did a try with notepad++ normaly i use dreamweaver CS5 but this works to, same problem tough

take a look @ the first lines in the skin/iphone/index.php file

PHP Code:
<?php
$html 
= <<<EOHTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> 

no closing php tag? "?>" and if i add that myself it give's an error after the line
PHP Code:
$html = <<<EOHTML 

hope this helps..
Find all posts by this user
Add Thank You Quote this message in a reply
12-02-2011, 02:36 PM (This post was last modified: 12-02-2011 02:52 PM by atcsam.)
Post: #205
RE: Remote Control Via Telnet(Raw Socket) to port 30000
Hi Guys,

Wonder if anyone can help me? Ive still been unable to get the PREV command "E" to work. I guess alot of you are not having an issue with that one, but I know a few did. For those that were having the issue did anyone find a solution?
Found the solution to the above posts

If this is all known info then for give me, but Ill post so as to try and help out others.

This has only been tested on an A200

"E" functions as a back command within the interface, but when i play a movie it does not function as a "previous" even though "n" works as a "next"

I found out that "U" and "D" work as prev and next within the movie, so if anyone is still having an issue try those.

Sam
Find all posts by this user
Add Thank You Quote this message in a reply
12-12-2011, 10:42 PM
Post: #206
RE: Remote Control Via Telnet(Raw Socket) to port 30000
subscribed

"The future is already here. It's just not evenly distributed." W. Gibson
"I like the future. I'm in it." F. Theater
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
12-14-2011, 07:00 AM
Post: #207
RE: Remote Control Via Telnet(Raw Socket) to port 30000
(12-12-2011 10:42 PM)pepar Wrote:  subscribed

the "<<" prev still does not work on A-210 , when i'm playing music. I have tried
"E" "U" "D". Still "n" work fine for ">>" next.

/Michael
Find all posts by this user
Add Thank You Quote this message in a reply
12-19-2011, 11:58 PM
Post: #208
RE: Remote Control Via Telnet(Raw Socket) to port 30000
(12-02-2011 02:36 PM)atcsam Wrote:  Hi Guys,

Wonder if anyone can help me? Ive still been unable to get the PREV command "E" to work. I guess alot of you are not having an issue with that one, but I know a few did. For those that were having the issue did anyone find a solution?
Found the solution to the above posts

If this is all known info then for give me, but Ill post so as to try and help out others.

This has only been tested on an A200

"E" functions as a back command within the interface, but when i play a movie it does not function as a "previous" even though "n" works as a "next"

I found out that "U" and "D" work as prev and next within the movie, so if anyone is still having an issue try those.

Sam
"E" is wrong. It seems to correspond to the return (back) button.
"v" seems to be the correct value for Pre*v*
This works correctly when playing Blu-ray discs with navigation.
Find all posts by this user
Add Thank You Quote this message in a reply
01-10-2012, 10:08 AM
Post: #209
RE: Remote Control Via Telnet(Raw Socket) to port 30000
Any one know if the "telnet remote" works on PCH 300 series?

Best regards L.

System: 6TB server -(Gb-lan/CAT5e)-> PCH C-200 w/ Samsung SH-B083L BD-rom -(Supra HDMI)-> Denon AVR 2809 ->
|-(Supra HDMI)-> InFocus X10 -> Stewart FireHawk G3 82"
|-(QED Silver)-> Dali Suite Series, 5.1 Bi-amp.
Software: YAMJ, standard Win s/w, no apps.
More: Harmony 525, DIY IR/RF system
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [200/300/400] [Android] Na Remote 4 Popcorn Hour 2.5.0 Na Multimedia Support Team 30 2,805 Yesterday 05:09 PM
Last Post: FLaSH
  [200] Alternative Linux Terminal Utils package with Telnet/SSH/MC/Transmission Roman_V_M 109 50,044 05-19-2013 12:45 PM
Last Post: parpagnas
  [100/200/300/400] How to install remote syslog server on NMT A-200 jwalczak 0 202 05-10-2013 05:00 PM
Last Post: jwalczak
Heart [200] NMT remote iPhone native app for C-200 vise_guy 237 73,629 05-10-2013 09:57 AM
Last Post: DAVE1971
  [200] Popcorn Remote by Achemy - playing complete albums Repelstale 14 6,055 01-06-2013 03:43 PM
Last Post: Repelstale
  [200] Telnet shell commands not consistent andym2009 0 365 12-05-2012 11:56 PM
Last Post: andym2009
  [200] [Wish] Squeezebox Client compatibility for Popcorn Hour - Remote Control via Android BTHOEM 18 9,718 11-20-2012 05:40 PM
Last Post: Ottie
  [200] API for remote control functions Ringhio 6 1,142 10-12-2012 10:30 PM
Last Post: accident
  [300] App available: PopcornHour Remote - Windows Phone 7 - [12 Jun 2012] v.1. released m.savazzi 16 4,812 06-30-2012 06:35 PM
Last Post: m.savazzi
  [200] aMule remote GUI multi-platform Forgone 0 1,873 06-05-2012 11:28 AM
Last Post: Forgone

Forum Jump: