Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

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] List of remote commands?
02-21-2011, 08:24 PM
Post: #1
List of remote commands?
I'm planning to write an app that would enable me to select and play media for my PCH, and was wondering if there is a list of known commands it responds to on port 30000?
Find all posts by this user
Add Thank You Quote this message in a reply
02-21-2011, 09:21 PM
Post: #2
RE: List of remote commands?
(02-21-2011 08:24 PM)sirfergy Wrote:  I'm planning to write an app that would enable me to select and play media for my PCH, and was wondering if there is a list of known commands it responds to on port 30000?

Have a look here : http://www.networkedmediatank.com/showth...?tid=30168
And here : https://code.google.com/p/c200remote/
Find all posts by this user
Add Thank You Quote this message in a reply
02-21-2011, 09:54 PM
Post: #3
RE: List of remote commands?
Awesome thanks. If I want to also get the library info is that something thats documented?
Find all posts by this user
Add Thank You Quote this message in a reply
02-22-2011, 08:16 AM
Post: #4
RE: List of remote commands?
Which library do you refer to?

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
02-22-2011, 08:47 PM
Post: #5
RE: List of remote commands?
What I want to do is be able to browse the music/video/pictures on the PCH, or that the PCH has access to. In my case all my content is on the network.

I've seen the Android and iPhone apps that I think do that but I don't have either of those phones.
Find all posts by this user
Add Thank You Quote this message in a reply
02-24-2011, 08:15 AM
Post: #6
RE: List of remote commands?
Listing content (and adding VOD attributes etc.) is doable with basic PHP. Check out some CSI apps for inspiration.

There are ways to get the URL's to Network Shares too, I think the latest use case was for the NMJ Remote Administration, check the NMT Wiki!

There is also the official SDK/API, which I recall has some features you are looking for:
https://developer.popbox.com/c/devuser/home
(Requires registration to gain access to the documentation)

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
02-24-2011, 07:16 PM
Post: #7
RE: List of remote commands?
Thanks!
Find all posts by this user
Add Thank You Quote this message in a reply
02-24-2011, 07:33 PM
Post: #8
RE: List of remote commands?
maybe this helps Smile i released API document for key sending

http://www.networkedmediatank.com/showth...?tid=50148

Regards,
Werner
Find all posts by this user
Add Thank You Quote this message in a reply
02-24-2011, 07:45 PM
Post: #9
RE: List of remote commands?
if you signup at developer.popbox.com you can get the whole doc which lets you do a lot more than press some remote buttons..
Find all posts by this user
Add Thank You Quote this message in a reply
03-21-2011, 12:27 AM
Post: #10
RE: List of remote commands?
Thanks accident. I did that, and have definitely made further progress. Do you have any hints how to access files on the PCH? I've been able to access the movie library, and can play movies but I want to display the thumbnail that the metadata references.
Find all posts by this user
Add Thank You Quote this message in a reply
03-21-2011, 01:28 AM
Post: #11
RE: List of remote commands?
don't know what the api can offer, I don't touch the nmj data..

you can probably work out of the box and use the built in webserver on port 8883 to get to them, should be old wiki info on running cgi scripts via gaya, just a matter of adjusting the url to be the url for the image.

99% of pch development is breaking the rules with no help from syabas.
Find all posts by this user
Add Thank You Quote this message in a reply
03-21-2011, 03:37 PM
Post: #12
RE: List of remote commands?
My understanding is 8883 is blocked for remote access, and I was hoping to write an app that didn't require installing anything on the PCH. Is it possible to open 8883 for remote access?
Find all posts by this user
Add Thank You Quote this message in a reply
03-21-2011, 03:54 PM
Post: #13
RE: List of remote commands?
It's not blocked but it may not answer generic requests.. you'll need to format the url correctly.. did you even check the wiki for the cgi notes and adjust the url to the image your trying to get?
Find all posts by this user
Add Thank You Quote this message in a reply
03-21-2011, 04:49 PM
Post: #14
RE: List of remote commands?
I searched the wiki and tried, but maybe I'm doing it wrong. I have a network share on my PCH called Movies, which resides on a computer called SERVER.

Here are the URLs I tried:
http://192.168.0.99:8883/NETWORK_SHARE/M...mbnail.jpg
http://192.168.0.99:8883/NETWORK_SHARE/S...mbnail.jpg
http://192.168.0.99:8883/NETWORK_SHARE/S...mbnail.jpg
http://192.168.0.99:8883/[NETWORK_SHARE]SERVER::Movies:thumbnail.jpg

All returned a 404.
Find all posts by this user
Add Thank You Quote this message in a reply
03-23-2011, 09:43 AM
Post: #15
RE: List of remote commands?
the url your calling from the local host is localhost.drives the webserver on 8883 is changing what your calling based on localhost vs localhost.drives vs others.. so you need to mimic the http 1.1 behavior and have your request for the image talk to the 192.168.0.99 but send in the heading that your actually going to localhost.drives and not the ip address. A quick test is to add localhost.drives to your hosts file and you'll see the image work.
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 3.8.0 [3. Mar. 2014] Na Multimedia Support Team 134 23,728 04-09-2014 10:27 PM
Last Post: duke4you
  [300/400] Win application for creating printable list of scraped data (nmj database) beklever 0 355 11-19-2013 12:01 PM
Last Post: beklever
Heart [200] NMT remote iPhone native app for C-200 vise_guy 240 99,935 07-18-2013 10:30 AM
Last Post: gash
  [400] Control PCH via telnet commands usernames_are_hard 1 1,006 07-07-2013 10:56 AM
Last Post: usernames_are_hard
  [200] how to execute some commands at reboot m.savazzi 0 503 06-21-2013 06:48 PM
Last Post: m.savazzi
  [100/200/300/400] How to install remote syslog server on NMT A-200 jwalczak 0 1,154 05-10-2013 05:00 PM
Last Post: jwalczak
  [200] Popcorn Remote by Achemy - playing complete albums Repelstale 14 7,888 01-06-2013 03:43 PM
Last Post: Repelstale
  [200] Telnet shell commands not consistent andym2009 0 764 12-05-2012 11:56 PM
Last Post: andym2009
  [200] [Wish] Squeezebox Client compatibility for Popcorn Hour - Remote Control via Android BTHOEM 18 12,796 11-20-2012 05:40 PM
Last Post: Ottie
  [200] API for remote control functions Ringhio 6 1,854 10-12-2012 10:30 PM
Last Post: accident

Forum Jump: