TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > Developers Corner
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 10-31-2009, 10:19 PM   #1
toups
Registered User
 
Join Date: Dec 2003
Posts: 54
hme 1.4.1 problems

Tried to run helloworld from 1.4.1 and get the following messages:

Code:
charon samples # java -classpath ../hme-host-sample.jar:samples.jar com.tivo.hme.host.sample.Main com.tivo.hme.samples.hello.HelloWorld
Instance ID = 1171eb716232c408
hme-host-sample version: 1.4.1 threadsafe-experimental
debug: Loaded factory: com.tivo.hme.samples.hello.HelloWorld
debug: Class loader for com.tivo.hme.samples.hello.HelloWorld: sun.misc.Launcher$AppClassLoader
debug: Context class loader: sun.misc.Launcher$AppClassLoader
added factory
MDNS ADD: http://10.34.165.8:0/hello/
Contacting mDNS localhost daemon at 127.0.0.1:5354
Connection to mDNS localhost daemon failed: java.net.ConnectException: Connection refused
mDNS localhost daemon: service not found.
        > java.net.ConnectException: Connection refused
jmdns library: register [start]: http://10.34.165.8:0/hello/
jmdns library: register [done]:  http://10.34.165.8:0/hello/
Opening the app on the TiVo gives:
Code:
Can't Run

An error occured while running the application.  HTTP failure (Http connection error: 0x50005).
(BTW, someone at TiVo can't spell occurred.)

Any suggestions?

Or is it possible for an app to invoke a HD mode using 1.4?
toups is offline   Reply With Quote
Old 10-31-2009, 10:31 PM   #2
toups
Registered User
 
Join Date: Dec 2003
Posts: 54
Odd, using 1.4, the TiVo is outputing 720p (TiVo is set native so standard def is 480i) but root.getwidth() and root.getheight() reports 640x480 although the png image loaded with bg.setResource(createImage("test.png")) might be 720p, I can't tell for sure with this image, but bg.getwidth() and bg.getheight() also reports 640x480.
toups is offline   Reply With Quote
Old 11-02-2009, 10:19 AM   #3
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 155
Well, it's using port 0 for some reason... I'm sure that's going to be a problem... try passing --port 7288 (the usual one, or something else if you already are running other HME stuff on that port) in your java command line. Note that it has two dashes, as I recall.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com:
Enter Webz browser, Solitaire/FreeCell, Calendar, Map..., TyPo auto-completion, QuickKeyboard, widgets...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
hmedev.wikidot.com (lists known apps!)
davidblackledge is offline   Reply With Quote
Old 11-02-2009, 07:23 PM   #4
toups
Registered User
 
Join Date: Dec 2003
Posts: 54
Quote:
Originally Posted by davidblackledge View Post
Well, it's using port 0 for some reason... I'm sure that's going to be a problem... try passing --port 7288 (the usual one, or something else if you already are running other HME stuff on that port) in your java command line. Note that it has two dashes, as I recall.
Tried passing "--port 7288" but it is still using port 0. Obviously something is wrong. No time to investigate this further at the moment, but clearly on the right track.
toups is offline   Reply With Quote
Old 12-05-2009, 09:56 PM   #5
toups
Registered User
 
Join Date: Dec 2003
Posts: 54
More information.

1.4.1 runs on a windows XP system using java 1.5.0_02

1.4.1 fails on linux with sun-jdk-1.5 sun-jdk-1.6 and sun-jre-bin-1.6

The problem on the linux box is that

MDNS ADD:http://10.xx.xxx.x:0/clock/

is reporting it is trying to use port 0

Will investigate more when I get a chance.
toups is offline   Reply With Quote
Old 12-06-2009, 07:53 AM   #6
wmcbrine
Free Bradley Manning
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,084
I dunno why it's using port 0. I never had that problem on my Ubuntu system, though I did have the problem of it wanting to bind to IPv6 and ignoring the IPv4 interface. (I ended up disabling IPv6 to fix that, since I wasn't using it anyway.) But I always started it via ./runsamples.sh (or whatever the script is called... have to check later).

Quote:
Originally Posted by toups View Post
Odd, using 1.4, the TiVo is outputing 720p (TiVo is set native so standard def is 480i) but root.getwidth() and root.getheight() reports 640x480
There are two different and independent resolutions at work here: the resolution of the background video stream, and the resolution of the HME overlay. It's the video background that determines the actual output resolution in "native" mode. When you don't have a video background, the resolution stays where it was the last time there was one -- usually that's the video background for the built-in menus (the 16:9 version is 720p; the 4:3 version is 480).
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVo® is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 04:29 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |