[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] PLoNK - Popcorn Hour Android Remote Controll - Alpha release 091127
10-26-2009, 11:40 PM (This post was last modified: 11-27-2009 09:56 AM by PoPEye.)
Post: #1
PLoNK - Popcorn Hour Android Remote Controll - Alpha release 091127
I'm happy to announce a first alpha release of one of my larger Android projects: PLoNK, the android remote control for Popcorn hour. It includes not only the functions of the remote but also browsing an launching of media.

You can get more information in my wiki where you can grab both the android apk and CSI packages

[Image: plonk_main.png][Image: plonk_pop.png][Image: plonk_remote2.png]
[Image: plonk_settings.png]

NOTE: currently only remote play of movies are supported. The app might be buggy but thats what you get for now, enjoy Big Grin

PS. Upcoming releases will support more media, covers, local phone browsing and launching of media.

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[+] 3 users say Thank You to PoPEye for this post
11-01-2009, 11:28 PM
Post: #2
RE: pharc - Popcorn Hour Android Remote Controll
I think I got all components in place for a full remote control including the option of launching movies/music/photo for both the A/B 1x0 and the C200 . The worst part in coding all buttons .
Anyone interested in testing or coding?
Preferred screen sizes? Planning to do different layouts depending on screen space.

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-02-2009, 10:45 AM (This post was last modified: 11-02-2009 10:46 AM by daniel_owen_uk.)
Post: #3
RE: pharc - Popcorn Hour Android Remote Controll
I will do some testing if you wouldn't mind.

I have two 1280x720 screens, and an A Series & C Series PCH Smile

Phone is a HTC Hero (the cool one with the chin).

Ouhh just thought of a draw back, neither PCH has any physical storage, is that going to be an issue?

Samsung PS51d8000, Onkyo 509, Tannoy EFX5.1, Xbox 360, Popcornhour C200, Sky+HD, Wii, Harmony one
Find all posts by this user
Add Thank You Quote this message in a reply
11-02-2009, 02:28 PM
Post: #4
RE: pharc - Popcorn Hour Android Remote Controll
Big Grin
I meant phone screen size since the "droid" is on the lose ...
A requirement will be support for CSI (and thus hdd, CF-addapter) since I will utilize a custom php and llink, and wifi of course....
Will first focus on gui for G1 size's but next step will be both smaller and larger screen sizes once I get a hang of the UI stuff...

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-02-2009, 05:32 PM
Post: #5
RE: pharc - Popcorn Hour Android Remote Controll
To be fair I did tell you my phone, so you could have looked it up Tongue

Samsung PS51d8000, Onkyo 509, Tannoy EFX5.1, Xbox 360, Popcornhour C200, Sky+HD, Wii, Harmony one
Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 12:47 AM
Post: #6
RE: pharc - Popcorn Hour Android Remote Controll
(11-02-2009 05:32 PM)daniel_owen_uk Wrote:  To be fair I did tell you my phone, so you could have looked it up Tongue

Don't need to look up, been working with android stuff for almost a year now. Not much coding though.

Changed the thread name from "pharc" to PLoNK2.0 since my original PLoNK will work both on A100 and C200

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 01:58 AM
Post: #7
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
well Im stuck with llink refusing to execute a shellscript with a custom echo command to /tmp/gaya_bc ...

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 10:31 AM
Post: #8
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
Permissions? Who executes the script and where?

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-03-2009, 11:05 AM (This post was last modified: 11-03-2009 11:13 AM by PoPEye.)
Post: #9
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
Sorry.
I've set llink to start using the CSI general functions and copied+edited llink_start.sh from the /share/Apps/LLink folder.
Llink is configured to run a script called plonk.sh (chmod'ed 755, named plonk) . During testing I've tried starting llnik like:
Code:
./llink -dv2048 -f /share/Apps/PLoNK/llink_plonk.conf >log.txt
log.txt contained info that "plonk" was a ok script.
Executing the plonk script from shell works fine but I suspect llink have some problems in executing. I've included some "echo test>test.txt" just to see if the script gets called but failed...

Background:
the plonk.sh will run a echo to /tmp/gaya_bc with a url to a custom php script causing C200 to show the page with a link to yet another url containing the file I want to play... Tongue

If I had the knowledge I could write a © daemon listening on a port and just echo the input to /tmp/gaya_bc ....

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 12:20 PM
Post: #10
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
and where can I read this log output?
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 12:24 PM
Post: #11
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
Sorry but I dont have the output right now but it was only one line, where llink reports its got the "plonk" script...

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 12:38 PM
Post: #12
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
so its a cgicmd, and you run it with cmd= or something, i forget
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 12:59 PM (This post was last modified: 11-03-2009 01:01 PM by PoPEye.)
Post: #13
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
Exactly. An example http://192.168.0.11:8008/&plonk=http://1.../movie.avi where .0.11:8008 is llink on the PCH and .0.7:8001 is llink running on my nas. Running "./plonk.sh http://192.160.0.7:8001/Movies/movie.avi" from shell works as intended, the URL above doesnt execute the script but the page loads ok in the browser...

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 01:33 PM
Post: #14
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
yeah, I'm going to have to insist on the log output Smile
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2009, 01:35 PM
Post: #15
RE: PLoNK2.0 - Popcorn Hour Android Remote Controll
Ok, but I dont know how to get a full log. Will see tonight what I can get..

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website 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 3,002 05-21-2013 05:09 PM
Last Post: FLaSH
  [100/200/300/400] [Android] Droided Media Tank 2.9.1 (Upgrade 13 Mar 2013) VikingBrainTeam 208 57,425 05-16-2013 04:49 PM
Last Post: VikingBrainTeam
  [100/200/300/400] How to install remote syslog server on NMT A-200 jwalczak 0 234 05-10-2013 05:00 PM
Last Post: jwalczak
Heart [200] NMT remote iPhone native app for C-200 vise_guy 237 74,534 05-10-2013 09:57 AM
Last Post: DAVE1971
  [100/200/300/400] POPCORN Hour VPN. mglon 2 387 04-26-2013 03:46 PM
Last Post: mglon
  [300] Network Shares and Popcorn Hour Companion for Windows Phone donmozza 0 274 04-20-2013 03:56 AM
Last Post: donmozza
  How to play different episodes with Plex on Popcorn Hour tomtom31 2 758 03-21-2013 08:11 PM
Last Post: tomtom31
Information [200] Popcorn Hour Companion for Windows Phone sirfergy 13 2,148 03-15-2013 03:15 PM
Last Post: donmozza
  [200] PopCornHour mobile RC app for android twicefooled 15 6,789 03-12-2013 03:21 PM
Last Post: Na Multimedia Support Team
  [200] PopCorn MKV ReMuxer HeartWare 121 49,861 02-23-2013 06:07 AM
Last Post: got_rice76

Forum Jump: