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] 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 3.8.0 [3. Mar. 2014] Na Multimedia Support Team 134 23,734 04-09-2014 10:27 PM
Last Post: duke4you
  [100/200/300/400] [Android] Droided Media Tank 2.10.2 Full & Free (Upgrade 2 Apr 2014) VikingBrainTeam 218 85,750 04-07-2014 11:08 AM
Last Post: VikingBrainTeam
Information [200/300/400] Popcorn Hour Companion for Windows Phone sirfergy 38 7,121 01-17-2014 11:51 AM
Last Post: jasperz28
  [300] Popcorn Hour S-300 cricri-1971 0 407 12-25-2013 02:28 PM
Last Post: cricri-1971
  [200/300/400] A mockup of web manager for android tablet skilled 2 570 11-17-2013 03:32 PM
Last Post: skilled
  [200] PopCorn MKV ReMuxer HeartWare 127 68,492 11-01-2013 03:44 PM
Last Post: ysbinns
  [200] Popcorn Audio ConvertorProblem Netmask 0 368 11-01-2013 04:12 AM
Last Post: Netmask
  [200/300/400] ShuffleThis (alpha) - Python video directory shuffler sm2k 0 555 08-03-2013 09:06 PM
Last Post: sm2k
  [300] Network Shares and Popcorn Hour Companion for Windows Phone donmozza 1 1,272 07-27-2013 09:09 PM
Last Post: Sledgehamma
Heart [200] NMT remote iPhone native app for C-200 vise_guy 240 99,939 07-18-2013 10:30 AM
Last Post: gash

Forum Jump: