[19. June 2013] Soundcloud® available now | [7. June 2013] Youporn available now | [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 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 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

-----------------------------------------------------------------------------------------------------
Syabas Technology Inc. DBA Popcornhour
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 2.7.0 [10 June 2013] Na Multimedia Support Team 41 4,420 06-13-2013 01:17 PM
Last Post: werner
Heart [200] NMT remote iPhone native app for C-200 vise_guy 238 78,203 05-31-2013 12:52 PM
Last Post: gash
  [100/200/300/400] How to install remote syslog server on NMT A-200 jwalczak 0 380 05-10-2013 05:00 PM
Last Post: jwalczak
  [200] Popcorn Remote by Achemy - playing complete albums Repelstale 14 6,232 01-06-2013 03:43 PM
Last Post: Repelstale
  [100/200/300/400] List of Compilers and Interpreters - For NMT vaidyasr 0 554 12-10-2012 08:48 AM
Last Post: vaidyasr
  [100/200/300/400] List of UPnP/DLNA Server Applications - For NMT vaidyasr 0 1,200 12-10-2012 08:37 AM
Last Post: vaidyasr
  [200] Telnet shell commands not consistent andym2009 0 419 12-05-2012 11:56 PM
Last Post: andym2009
  [200] [Wish] Squeezebox Client compatibility for Popcorn Hour - Remote Control via Android BTHOEM 18 10,106 11-20-2012 05:40 PM
Last Post: Ottie
  [200] API for remote control functions Ringhio 6 1,218 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 5,052 06-30-2012 06:35 PM
Last Post: m.savazzi

Forum Jump: