TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > Developers Corner
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 01-06-2013, 05:16 PM   #1
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Smile Enter Webz beta release - web browser for the TiVo!

Today I'm announcing "Enter Webz" - the world's first web browser for the TiVo DVR.
This is just a Beta release.

This release is available for download from http://David.Blackledge.com/tivo/enterwebz.
More information is in the documentation.

Just download, unzip, and run the .bat file, then look in "Music, Photos, and More" or "Showcases and Apps" or equivalent, depending on your TiVo model.
You'll get Enter Webz, and a couple of shortcuts to Google and Archive.org (where you can listen to public domain music, or watch public domain videos and movies on your TV).

This is free for your personal home use. I plan to set up a fixed-ip server in the future.

It's ugly and buggy still, but today's the last day of my vacation, so I may not get a chance to work on this for a while.

Why a web browser for the TiVo DVR?

Quick lookups

Google, Definr.com, IMDB, Wikipedia
One-off pages for other Apps

Google Authentication for Google APIs (the main inspiration for creating Enter Webz... I used Enter Webz to register Pandora’s activation code on my new TiVo Premiere!)
Display a related URL for dynamic app content (e.g. from an RSS feed)
Application help pages
Instant HME Apps for some websites

like:
weather.gov and wunderground.com
Gmail mobile or Gmail basic html
Google Voice mobile (mp3 download blocked)
Google Calendar mobile...hopefully soon
Facebook mobile
tivocommunity.com forums!
Archive.org’s public domain content:
mp3s ( playlists of live concerts; audio books), texts, videos (classic TV; movies)
Feedburner XSLT-formatted rss feeds
xkcd.com
Launch other HME Apps

Special URLs launch apps from domain names (vs. static IPs of “Manually add a server”)
Can be configured to present any URL like it is a stand-alone app.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-07-2013, 01:57 AM   #2
Allanon
Registered User
 
Join Date: Nov 2005
Posts: 534
Very cool!!

I've only tried it for a few minutes and I can already see this has a lot of potential. This browser is a lot faster than the one built in to my Sony TV especially when viewing YouTube videos.

I know this is a beta version but thought it might help you to know some of the problems I found. I have a Tivo HD and found that the PIP didn't resize, only the top right corner of the video was visible in the PIP window.

Also, I got an error when loading some web pages, it states "An error occurred while running the application. Out of memory". I tried reopening EnterWebz on the Tivo but the error occurred again as soon as the application opened. Same happened with all the other applications on the Tivo. I tried shutting down and restarting EnterWebz on my computer but same result. I had to restart the Tivo to clear the error and make it so I could use Tivo apps again.
Allanon is offline   Reply With Quote
Old 01-07-2013, 02:55 AM   #3
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,156
Never mind, I figured out that it requires Java 1.7.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by wmcbrine : 01-07-2013 at 04:00 AM.
wmcbrine is offline   Reply With Quote
Old 01-07-2013, 07:58 AM   #4
jhilla
Guest
 
Join Date: May 2011
Posts: 114
Red face Wow!

I am simply amazed how fast your browser is on tivo. I was zipping along from Facebook Mobile to flipping in and out of Youtube. However you were motivated, I'm in awe. Thank you soooo much we have been dreaming of this. Dang, now if only I could get my hands on that Qwerty keyboard-remote from Tivo.

By the way, I went ahead and manually inserted the Java path in your .bat so it would load better in comparison to missing my settings. I had to do the same thing with Streambaby.

"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Dcom.tivo.hme.sdk.debug.level=0 -cp "EnterWebz.jar;hme-host-sample.jar;hme.jar;bananas.jar;hme-hd-0.4.1.jar;jsoup-1.7.1.jar;cbd.tivo.jar;cbd.tivo.widgetsGadgets.jar;cbd.tivo. icons.jar" com.tivo.hme.host.sample.Main --launcher launcher.txt
jhilla is offline   Reply With Quote
Old 01-07-2013, 07:55 PM   #5
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by Allanon View Post
Very cool!!
Quote:
Originally Posted by jhilla View Post
However you were motivated, I'm in awe. Thank you soooo much we have been dreaming of this.
You're very welcome, and thank you for the compliments.

Quote:
Originally Posted by wmcbrine View Post
it requires Java 1.7.
I doubt it needs to be higher than 1.5, I'll change my compile configuration.

Quote:
Originally Posted by Allanon View Post
I've only tried it for a few minutes and I can already see this has a lot of potential. This browser is a lot faster than the one built in to my Sony TV
Quote:
Originally Posted by jhilla View Post
I am simply amazed how fast your browser is on tivo.
most of the speed is thanks to the computer you're running it on ;] ... plus JSoup. I also did a few things to make it more responsive.

Quote:
Originally Posted by Allanon View Post
especially when viewing YouTube videos.
Quote:
Originally Posted by jhilla View Post
I was zipping along from Facebook Mobile to flipping in and out of Youtube.
YouTube and Video Player: Thanks to moyekj for just recently figuring out how to launch those.
If it sees one of the YouTube "watch" URL formats, it launches the built-in YouTube app with that video ID. I need to make it launch the new better quality app on Premieres.
To deal with large files, if it sees a video/mpeg content type (usually larger files) it launches the Video Player with that URI.
Note, in the future it will launch ALL video files over 1.1G with Video Player, but short videos will use my in-browser player (in-browser helps because you don't lose browsing history and it supports ASPECT/ZOOM to correct the video display). I need a modification to JSoup to do the size check efficiently, though.

Quote:
Originally Posted by Allanon View Post
I know this is a beta version but thought it might help you to know some of the problems I found.
This is why I released it as a beta! The more I hear, the better it can be! ;]

Quote:
Originally Posted by Allanon View Post
I have a Tivo HD and found that the PIP didn't resize, only the top right corner of the video was visible in the PIP window.
PIP is off by default because of this. If PIP stops working...just turn it off and leave it off (maybe try again the next day if you like) - although it works some of the time, it's flakey. When it's working, turning it off then on (SLOW button) gets a blank PIP until you do it again. When it stops working (not scaled) consider everything destabilized until PIP is off - I've had it crash the TiVo for a simple error while the PIP was displaying in a bad state. There is work to do to find out how to cleanly make PIP work consistently like the Premiere does. (although that's through flash so it may not be completely possible in HME).

Quote:
Originally Posted by Allanon View Post
Also, I got an error when loading some web pages, it states "An error occurred while running the application. Out of memory". I tried reopening EnterWebz on the Tivo but the error occurred again as soon as the application opened. Same happened with all the other applications on the Tivo. I tried shutting down and restarting EnterWebz on my computer but same result. I had to restart the Tivo to clear the error and make it so I could use Tivo apps again.
Out of Memory: Expect that. That's actually the TiVo running out of memory, not Enter Webz. If you're doing a lot of browsing or just have a crazy big page, we'll likely run out of TiVo memory/views/whatever.
However, getting "stuck" out of memory I'm going to blame on the broken PIP destabilizing the HME environment... haven't seen this happen myself.

Good news is, Enter Webz remembers "last visited" so a crash doesn't lose your place.
Also, I wanted to start pyTiVo archiving with Enter Webz, but accesses to the TiVo web service while running HME is a great way to cause a system crash (perhaps pyTivo could have a mode where it only uses cached information as soon as you start accessing the web interface?)

You'll also notice inline image failures: since the TiVo is directly loading them, websites that block remote-loading also block them from the TiVo. I'm certain there is a way to give pass-through header info to the TiVo in a createStream request via the TeDict, but my best experiments so far only caused TiVo crashes (which means it tried to interpret something!).
Google Voice mp3 playing seems to have the same problem.
Any research in this area would be really helpful! Or just bang on TiVo's door for that one secret.

Seems I could allow Premiere users to try to launch arbitrary flash files when I find them on a page once I learn a little bit more about that.

I'm tempted to launch YouTube (and flash) "inline" on the page by using scaling and application-as-Stream, but I don't think that's useful...just cute. (you'd have to "exit" the application to get control back to Enter Webz)

FYI, when I eventually put it on a server, it will use the Premiere's new "Genre" field so a link-as-app will show up in the "photos" and "music" area or the "other" area (there is a "video" genre, but it doesn't show up anywhere - probably some additional requirements on the TiVo side - more research to do)
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-07-2013, 08:18 PM   #6
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,156
Quote:
Originally Posted by davidblackledge View Post
FYI, when I eventually put it on a server, it will use the Premiere's new "Genre" field
The what now?

I know the Premiere likes to make requests that include "DoGenres=1", but I've never seen anything else about this.
__________________

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
Old 01-07-2013, 09:16 PM   #7
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Wink

Quote:
Originally Posted by wmcbrine View Post
The what now?

I know the Premiere likes to make requests that include "DoGenres=1", but I've never seen anything else about this.
;]
Notice how the Premiere puts Live365 and Pandora and Photos in one menu, and other apps under Showcases & Apps... that's cause the TiVoConnect response (when DoGenres=1) includes the genres tag with one or more genre tags that contains "photos" "music" "video" or "other"
Code:
<Item>
<Details>
<ContentType>application/x-hme</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<Title>Photos &amp; Slideshows</Title>
<Uuid>BBC7824A-40C6-8B61-4D87-6A3D799F365B</Uuid>
<X-TiVo-TopLevelDisplayOrderHint>50</X-TiVo-TopLevelDisplayOrderHint>
</Details>
   <Genres>
      <Genre>photos</Genre>
   </Genres>
<Links>
<Content>
<ContentType>application/x-hme</ContentType>
<Url>https://204.176.49.65:7287/hdphotos-ml_2010.09.13-1339-20100913_134517/1284410719/1355864959-1671224959/clientip_75.161.43.57/</Url>
</Content>
<CustomIcon>
<Url>http://204.176.49.116:7288/hdphotos-ml_2010.09.13-1339-20100913_134517/1284410719/1355864959-1671224959/icon.png</Url>
</CustomIcon>
</Links>
</Item>
(For some reason it also includes ContentType again under the Content tag)

Anything with "photos" or "music" ends up under that group, "other" under Showcases & Apps, and "video" (if that's the only genre) disappears... Genre "video" is how Netflix, YouTube, Hulu, etc. end up in the two video locations, obviously. To get it to show up, maybe all I have to do is call the app "<Hidden />" or maybe they have a pre-authorized list of UUIDs, or maybe it has to be https.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-08-2013, 09:30 AM   #8
reneg
Registered User
 
Join Date: Jun 2002
Posts: 467
Pretty nice. I didn't do much with it other than load it up, but it did seems very responsive.

For whatever reason, I had to add java to my path before it would run. Maybe the batch file could check for this.

It didn't show up with the other HME apps on my Tivo HD. The Tivo HD was recording so I didn't reboot it. I moved to a Premiere where it did show up on the HME apps.

I ran it on smaller tv (about 27") and the text was barely readable. Of course I didn't read the documentation to see if there was a way to change the resolution. I'll play around with it on a larger TV.
reneg is offline   Reply With Quote
Old 01-08-2013, 09:04 PM   #9
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by reneg View Post
For whatever reason, I had to add java to my path before it would run. Maybe the batch file could check for this.
Yeah...I'm really rusty on batch files... maybe I'll find a good sample on the Internet somewhere ;]
Quote:
Originally Posted by reneg View Post
I ran it on smaller tv (about 27") and the text was barely readable. Of course I didn't read the documentation to see if there was a way to change the resolution. I'll play around with it on a larger TV.
SD fonts are usually good, and on HD I scale the fonts up slightly since they seemed too small to me, too (on 1080), but that combined with a smaller TV is likely too small, yeah.

The webpages can be even worse if the specified fonts are very small.
Change the font scaling by pressing 1-9... 0 goes back to default (which is 5).
The THUMBtacks screen font doesn't scale...maybe I should use a larger font for HD.

I plan to add HD/SD screen resolution selection to the menu eventually
(ASPECT/ZOOM to get the ugly menu page).

Thanks for trying it out!
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-09-2013, 03:39 AM   #10
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,156
I couldn't get Genres to work based on the above (in HME for Python); it just makes the server show up as the IP address, and the apps don't appear. I'd be interested to hear any more info you have about this, and how you found out -- it looks like you intercepted some conversations between the TiVo and tivo.com servers?
__________________

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
Old 01-09-2013, 08:55 AM   #11
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
DoGenres=1

Quote:
Originally Posted by wmcbrine View Post
I couldn't get Genres to work based on the above (in HME for Python); it just makes the server show up as the IP address, and the apps don't appear. I'd be interested to hear any more info you have about this, and how you found out -- it looks like you intercepted some conversations between the TiVo and tivo.com servers?
Let's see... I sort of proxied a connection using my "hme:" protocol setup. I take the two key headers the TiVo sent me and used them in a TiVoConnect request to 204.176.49.116 which gave me the content that I showed in the sample earlier.
Code:
/**
 * HTTP Header sent in resource requests by the TiVo with the tsn (context
 * connection attribute "tsn") as value
 */
public static final String HTTP_HEADER_TIVO_ID = "TiVo_TCD_ID";
/**
 * HTTP Header sent in resource requests by the TiVo with the TiVo Software
 * Version (Device Info event's "version") as value
 */
public static final String HTTP_HEADER_TIVO_VERSION = "TiVo_SW_VER";
I had an IP-only problem, too, and eventually figured out I had invalid XML I was generating... it had un-escaped ampersands.
While trying to fix it, I also added the ?xml at beginning of the file, and Content-Type: text/xml, and that additional <ContentType in the <Content section ...not sure if they're required, though.
oh yeah, and you HAVE to have a Uuid specified. Current experiments show a random one or a non-standard one works fine, but it won't show up at all without it.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-09-2013, 09:17 AM   #12
jhilla
Guest
 
Join Date: May 2011
Posts: 114
Wink Hidden Apps Missing

Hi David,

I was running your app this morning and this time "EntertheWebz" was missing the hidden features of the original Youtube and Dominos Pizza that were their day one. Did you revise the list and remove it or did Tivo detect you and delete the entries? Also, I would be interested in activating the switch when hitting zoom from Mobile browser to Desktop Browser. I have a theory if we can trick the majority of domains to be a common browser it may allow more content to be played such as Nickjr, Disney and Crackle.

Thanks again,
John
jhilla is offline   Reply With Quote
Old 01-09-2013, 12:50 PM   #13
Allanon
Registered User
 
Join Date: Nov 2005
Posts: 534
My media server (Serviio) has a webpage that allows browsing and playing videos from an internet browser. I tried accessing it using Enter WebZ but got a blue screen error that kicked me from the app. The error code was 0xffff.

My launch.txt looks like this:
Code:
com.blackledge.david.html.hme.WebBrowserApp
com.blackledge.david.html.hme.WebBrowserApp http://192.168.1.114:23424/mediabrowser "Media Server"
I also tried using localhost instead of the URL but got the same error. And I tried entering the URL manually from within the browser but the error occurred as soon as it tried to go to the webpage.

Would this be an URL problem because it's trying to access my local computer or is it a problem with the webpage?

Attached is the source code for the webpage:
Attached Files
File Type: txt browser.txt (7.0 KB, 10 views)
Allanon is offline   Reply With Quote
Old 01-09-2013, 08:23 PM   #14
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by jhilla View Post
I was running your app this morning and this time "EntertheWebz" was missing the hidden features of the original Youtube and Dominos Pizza that were their day one. Did you revise the list and remove it or did Tivo detect you and delete the entries?
Yeah...that's a feature ;] The default list of links isn't permanent until you save one of your own. At that time, it saves all the normal links permanently, but it doesn't save the "demo" links which includes those hidden apps. If you delete all your links, it will bring back all the defaults, including the "demo" links.
The "suggested links" page is meant to hold all these defaults (and additional suggestions), but the wiki site only shows the special app-launching links in "iframes" which Enter Webz doesn't currently support. I'll add another place for the special app-launching links soon.
I may have it permanently save the "demo" links, too, since it's easy for you to delete them if you don't want them.
Quote:
Originally Posted by jhilla View Post
Also, I would be interested in activating the switch when hitting zoom from Mobile browser to Desktop Browser. I have a theory if we can trick the majority of domains to be a common browser it may allow more content to be played such as Nickjr, Disney and Crackle.
While I'm not 100% sure what you mean, most of the missing content falls under 3 categories: JavaScript, Flash, or Frames.
  • JavaScript will never be supported.
  • Flash MAY be supported on Premieres... though it will be hit-or-miss at best, and most likely won't work almost at all.
  • Frames will eventually be supported.
Other features like Silverlight and Java Applets will never be supported for sure.

As far as Zoom...that's currently to open the menu... but I might change that to "info" and use Zoom similar to what you're talking about...it might be a better fit.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-09-2013, 08:51 PM   #15
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,156
Quote:
Originally Posted by davidblackledge View Post
While trying to fix it, I also added the ?xml at beginning of the file, and Content-Type: text/xml, and that additional <ContentType in the <Content section ...not sure if they're required, though. oh yeah, and you HAVE to have a Uuid specified.
Yeah, I had all that. It turned out to be a typo -- I was missing the closing slash.

It works! Sort of. (I have huge problems with the HDUI recognizing HME apps in general. Sometimes I have to switch to the SDUI to get them to show up, then back. Still have problems with the icons.)
__________________

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
Old 01-09-2013, 09:44 PM   #16
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by wmcbrine View Post
It works! Sort of. (I have huge problems with the HDUI recognizing HME apps in general. Sometimes I have to switch to the SDUI to get them to show up, then back. Still have problems with the icons.)
I know it caches the list... doesn't refresh nearly as often as the older models... this is nice for speed, but hard for developers ;] Things I try that seem to help force a refresh: go to standby then come back, or go to a detailed menu like system settings or something, then come back.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-09-2013, 09:52 PM   #17
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by Allanon View Post
My media server (Serviio) has a webpage that allows browsing and playing videos from an internet browser. I tried accessing it using Enter WebZ but got a blue screen error that kicked me from the app. The error code was 0xffff.
I tried entering the URL manually from within the browser but the error occurred as soon as it tried to go to the webpage.

Would this be an URL problem because it's trying to access my local computer or is it a problem with the webpage?
Interesting. The URL isn't a problem for being local, so I'd guess it was the page, but the 0xffff is a surprise. The attached html seemed to load fine on my computer, but I don't have any of the images or stylesheet files it references, so it's probably one of them causing the problem. If there is any output from on your computer when the error happens, I'd be interested in it... probably a bug in my code not handling some weird problem with the stylesheet files.

The "good news" is... looking at the website, the URL won't do you much good because it is designed to play the videos through a Flash app that won't work on Enter Webz.
It might be "easy" to create a Serviio-specific app using their API, though ;]
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-09-2013, 09:57 PM   #18
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,273
Trying to get this running on Linux. Had to upgrade to JRE 1.7 first so it would run at all. Now, when I access the app, it crashes:

Code:
jeremy@tardis:/etc/tivo/enterwebz$ ./enter-webz.sh
HME SDK 1.4 (TiVo, Inc.)
LOG: added factory
LOG: added factory
LOG: added factory
MDNS: http://192.168.1.60:7288/webz/
MDNS: http://192.168.1.60:7288/webz1/
MDNS: http://192.168.1.60:7288/webz2/
LOG: null
LOG: Exception or Error during init():
LOG: java.lang.NullPointerException: null
LOG: Stack trace sent to stdout
java.lang.NullPointerException
        at com.blackledge.david.tivo.widgets.typo.WordList.addWord(WordList.java:129)
        at com.blackledge.david.html.hme.WebBrowserApp.init(Unknown Source)
        at com.tivo.hme.sdk.Application.initializeApp(Application.java:879)
        at com.tivo.hme.sdk.Application.preprocessEvent(Application.java:1774)
        at com.tivo.hme.sdk.Application.handleChunk(Application.java:1589)
        at com.tivo.hme.host.sample.Listener.readEvents(Listener.java:306)
        at com.tivo.hme.host.sample.Listener.handleHME(Listener.java:288)
        at com.tivo.hme.host.sample.Listener.handle(Listener.java:381)
        at com.tivo.hme.host.http.server.HttpConnection.run(HttpConnection.java:123)
        at java.lang.Thread.run(Unknown Source)
LOG: Closing app, due to previous error
LOG: unknown event opcode : 10
LOG: com.tivo.hme.sdk.HmeException: application closed, app=/webz/
LOG: Stack trace sent to stdout
com.tivo.hme.sdk.HmeException: application closed, app=/webz/
        at com.tivo.hme.sdk.Application.writeCommand(Application.java:3396)
        at com.tivo.hme.sdk.Application.cmdViewSetVisible(Application.java:2620)
        at com.tivo.hme.sdk.View.setVisible(View.java:682)
        at com.tivo.hme.sdk.View.setVisible(View.java:667)
        at com.tivo.hme.sdk.Application.handleActive(Application.java:1374)
        at com.tivo.hme.sdk.Application.handleEvent(Application.java:1329)
        at com.tivo.hme.bananas.BApplication.handleEvent(BApplication.java:362)
        at com.blackledge.david.html.hme.WebBrowserApp.handleEvent(Unknown Source)
        at com.tivo.hme.sdk.HmeObject.postEvent(HmeObject.java:145)
        at com.tivo.hme.sdk.Resource.postEvent(Resource.java:132)
        at com.tivo.hme.sdk.Application.dispatchEvent(Application.java:1869)
        at com.tivo.hme.bananas.BApplication.dispatchEvent(BApplication.java:278)
        at com.tivo.hme.sdk.Application.handleChunk(Application.java:1606)
        at com.tivo.hme.host.sample.Listener.readEvents(Listener.java:306)
        at com.tivo.hme.host.sample.Listener.handleHME(Listener.java:288)
        at com.tivo.hme.host.sample.Listener.handle(Listener.java:381)
        at com.tivo.hme.host.http.server.HttpConnection.run(HttpConnection.java:123)
        at java.lang.Thread.run(Unknown Source)
LOG: connection to receiver closed
LOG: Unexpected error: com.tivo.hme.sdk.HmeException: application closed, app=/webz/
Here's the quick shell script I wrote to run it:

Code:
#!/bin/bash
mydir=`dirname "$0"`
cd "$mydir"
for j in ./*.jar
do
CLASSPATH=$CLASSPATH:$j
done

java -Dcom.tivo.hme.sdk.debug.level=0 -cp $CLASSPATH com.tivo.hme.host.sample.Main --launcher launcher.txt
Anything obvious I'm doing wrong?
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 01-09-2013, 11:37 PM   #19
Allanon
Registered User
 
Join Date: Nov 2005
Posts: 534
Quote:
Originally Posted by davidblackledge View Post
If there is any output from on your computer when the error happens, I'd be interested in it...
Output:
Code:
HME SDK 1.4 (TiVo, Inc.)
LOG: added factory
LOG: added factory
MDNS: http://192.168.1.114:7288/webz/
LOG: 192.168.1.104 icon.png HTTP GET - to factory /webz/
MDNS: http://192.168.1.114:7288/webz1/
LOG: 192.168.1.104 icon.png HTTP GET - to factory /webz1/
LOG: null
LOG: unknown event opcode : 10
Unable to create default font for measurement: java.io.IOException: Can't read C
:\Users\David\Desktop\Development\hme_sdk_1.4.1_src\com\tivo\hme\sim\default.ttf

Unable to create system font for measurement: java.io.IOException: Can't read C:
\Users\David\Desktop\Development\hme_sdk_1.4.1_src\com\tivo\hme\sim\system.ttf
LOG: connection to receiver closed
LOG: Unexpected error: java.lang.NullPointerException
LOG: 192.168.1.104 icon.png HTTP GET - to factory /webz/
LOG: 192.168.1.104 icon.png HTTP GET - to factory /webz1/

Allanon is offline   Reply With Quote
Old 01-10-2013, 12:07 AM   #20
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by windracer View Post
Trying to get this running on Linux. Had to upgrade to JRE 1.7 first so it would run at all. Now, when I access the app, it crashes
Anything obvious I'm doing wrong?
First, sorry again about the Java 1.7 - next release will be 1.5.

I think I know what it is... I have an old version of TyPo in one of the jars, and a newer version in EnterWebz.jar. Your generated classpath probably puts the old one first in the path.
Try it with a manual classpath that matches the .bat file instead of a generated classpath.
Next release will also self-define its classpath in the main jar file, so you won't even need the loop.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-10-2013, 08:01 PM   #21
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,273
Quote:
Originally Posted by davidblackledge View Post
I think I know what it is... I have an old version of TyPo in one of the jars, and a newer version in EnterWebz.jar. Your generated classpath probably puts the old one first in the path.
Try it with a manual classpath that matches the .bat file instead of a generated classpath.
That did it.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 01-13-2013, 03:56 AM   #22
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Arrow Enter Webz Release Update 2013-1-13

Quote:
Originally Posted by davidblackledge View Post
Today I'm announcing "Enter Webz" - the world's first web browser for the TiVo DVR.
This is just a Beta release.

This release is available for download from http://David.Blackledge.com/tivo/enterwebz.
More information is in the documentation.
Updated beta is available for download.

Main changes:
  • layout improvements
  • changed key assignments (info for menu, aspect/zoom for mobile mode)
  • "thumztaks" is the new name for bookmarks
  • reload key (REPLAY)
  • CSS media type configuration
  • fix form submission for BUTTON tag buttons
  • only requires Java 1.5
  • batch file finds Java automatically.

__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-14-2013, 01:53 AM   #23
jhilla
Guest
 
Join Date: May 2011
Posts: 114
I have downloaded your new version, but the auto-discovery was unable to find my java. So again, had to modify the .conf to see it manually and that is working for me.

@echo off
rem thanks to http://chriskopec.com/blog/2009/jun/...me-batch-file/

if "%JAVA_HOME%" == "" call:FIND_JAVA_HOME
echo JAVA_HOME: "%JAVA_HOME%"


rem Start Server

"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Dcom.tivo.hme.sdk.debug.level=0 -jar EnterWebz.jar --launcher launcher.txt


goto:END


:FIND_JAVA_HOME
FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set CurVer=%%B

FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO set JAVA_HOME=%%B
goto:EOF


:END
jhilla is offline   Reply With Quote
Old 01-14-2013, 08:36 AM   #24
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by jhilla View Post
I have downloaded your new version, but the auto-discovery was unable to find my java. So again, had to modify the .conf to see it manually and that is working for me.
Darn, it worked for me. Maybe I can add some instructions for that case... the preferred fix is to set your JAVA_HOME system environment variable to (in your case) "C:\Program Files (x86)\Java\jre7" - the script is just trying to set that variable if you didn't already set it.
Setting that variable will help you with a lot of other Java batch files, too.

Thanks for letting me know!
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-15-2013, 10:04 AM   #25
jhilla
Guest
 
Join Date: May 2011
Posts: 114
Lightbulb Font Save?

Well without realizing you solved a major problem for us, we use youtube on tivo frequently but since the wishlist is not integrated for youtube one most continually type in search quiries. However with you giving us the thumblinks and it autosaves the name inquiry. Well that's just awesome so, Thank you. Now, call me stuborn but the one thing I wish could be replicated is adding "EnterWebz" as service instead of runing it manually.

The main reason I ask about Font Save, is level 5 is a pretty good setting on my HDTV. But it only saves it for that session, so naturally I have to "INFO" and set it again each time reload.
jhilla is offline   Reply With Quote
Old 01-15-2013, 10:11 AM   #26
jhilla
Guest
 
Join Date: May 2011
Posts: 114
Note Question: Kilo Browser compatability for EnterWEBZ

Could Kylo Browser but adopted into EnterWEBZ are is this opensource technology not cross compatable at this time?

http://kylo.tv
jhilla is offline   Reply With Quote
Old 01-16-2013, 01:11 AM   #27
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Quote:
Originally Posted by jhilla View Post
Well without realizing you solved a major problem for us, we use youtube on tivo frequently but since the wishlist is not integrated for youtube one most continually type in search quiries. However with you giving us the thumblinks and it autosaves the name inquiry. Well that's just awesome so, Thank you.
Excellent, I had hoped that some missing features of the Youtube app would work this way!
Quote:
Now, call me stuborn but the one thing I wish could be replicated is adding "EnterWebz" as service instead of runing it manually.
If you use Galleon, it should be possible to let it host Enter Webz.
Also, I believe there are some programs on the Internet that can make a script run as a service... maybe I'll figure out how to include that with Enter Webz some day.

Quote:
The main reason I ask about Font Save, is level 5 is a pretty good setting on my HDTV. But it only saves it for that session, so naturally I have to "INFO" and set it again each time reload.
That makes sense... I think I will make it save the setting, then. FYI, you can just press the # key on the web page to change font size, so you don't have to press "INFO" for that feature.

Quote:
Originally Posted by jhilla View Post
Could Kylo Browser but adopted into EnterWEBZ are is this opensource technology not cross compatable at this time?

http://kylo.tv
That is basically like Chrome or Firefox (it runs on a PC), just made to show better on your TV. So, no, sorry, that is very far away from TiVo's HME which Enter Webz uses. ;]
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   Reply With Quote
Old 01-16-2013, 08:59 AM   #28
Fofer
༺♥༻
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 71,538
TC CLUB MEMBER
Very cool! Nice work!

Is there any way to run this EnterWEBZ on a Mac OS system?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- a list of some favorite browser add-ons that help make TCF even more enjoyable!
Fofer is offline   Reply With Quote
Old 01-16-2013, 09:03 AM   #29
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,273
It's java, so it should work just fine. I got it running on Linux ...
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 02-05-2013, 02:49 AM   #30
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 258
Arrow Enter Webz Release Update 2013-2-5

Quote:
Originally Posted by davidblackledge View Post
Today I'm announcing "Enter Webz" - the world's first web browser for the TiVo DVR.
This is just a Beta release.

This release is available for download from http://David.Blackledge.com/tivo/enterwebz.
More information is in the documentation.
Update is available for download
Major changes:
  • Added “hme:” thumztak default for Reversi game; support TiVoConnect relative URLs.
  • Better page formatting: implemented CSS Specificity rules, improved CSS inheritance.
  • Update to JSoup 1.7.2 with more CSS selector support; (JSoup 1.7.3 may get my request allowing better decision on internal vs. TiVo’s Video Player for long videos.)
  • First launch scripts for Linux, Mac. Added instructions for JAVA_HOME failure in Win.
  • Better list bullets: “middot” character for disc type, “degree” character for circle, filled square character (unsupported by font, so shows as an unfilled rectangle) for square and “#” for all number/letter bullets.
  • Improve display handling of “back” hint, backgrounds, image bullets, #section links
  • Font size changed through Information Menu is saved. Font size changed with # buttons on page is temporary, 0 reverts to saved size.
  • Added “Maximize” mode in Information Menu
  • Added “Left also works as Back” mode (on by default) in Information Menu (more natural for TiVo, but annoying for mistakes)
  • Added Password mode to hide text in TyPo keyboard; Fixed: text field direct entry with slide/USB keyboard didn’t do capitals
  • Rudimentary FRAME/IFRAME support (converts to links)
  • Cookies for thumztaks are updated on quit (“re-THUMB after login” no longer needed)
  • Bug fixes (includes: post-redirect URL wasn’t used for relative content, forms with multiple same-named entries submit better)

__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is online now   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 - 2014, 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 10:44 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |