Enter Webz beta release - web browser for the TiVo!

Discussion in 'Developers Corner' started by davidblackledge, Jan 6, 2013.

  1. myklbear

    myklbear New Member

    24
    0
    Jan 11, 2015
    David,
    By the way, after I get this worked out, I will be glad to test for you. Thanks.
    michael
     
  2. davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    Thanks for the message! I was starting to get lonely posting all these messages to myself.

    I'm a little confused. #2 is what you should see if it successfully launched, #3 if you don't have JAVA_HOME set in your env.
    Did you see #2, or are you just saying you're hoping for that?

    If you saw #2 once but then later saw #3 it makes me think you set JAVA_HOME in a non-permanent way.

    If you right-click Computer, select Properties..., then select Advanced System Settings, on the Advanced tab you can click the "Environment Variables..." button.
    set JAVA_HOME in there, and you should be good to go.
    (if it doesn't work still, try a reboot, and double check the JAVA_HOME is still set in "Environment Variables..." after your reboot)

    If it still doesn't work, try to cut & paste the output here and we'll see if anything helps me out there.


    If #2 is what you're getting and you just want more things to show up on your TiVo, edit launcher.txt and add entries like:
    Code:
    #group
    com.blackledge.david.html.hme.WebBrowserApp file:Apps/video "Apps/video/"
    #website
    com.blackledge.david.html.hme.WebBrowserApp http://www.google.com "Google"
     
  3. myklbear

    myklbear New Member

    24
    0
    Jan 11, 2015
    Hello David,
    I was feeling ill the other day so should not have been trying this let alone trying to explain what was happening. Good news is I have connected after some Googling and experimenting.

    Solution follows for Windoz 7.

    Go to Control Panel and click "System".
    Bring up master System page and click on "Advanced System Settings"
    On Advanced tab select "Environmental Variables" at bottom.

    In User Variables select New and add WITHOUT quotes:
    'JAVA_HOME' as Variable and the complete path to your JAVA directory
    {{ Example = C:*Program Files (x86)\Java*jre1.8.0_31 }}

    Click OK and then re-enter Environmental Variables
    In System Variables do this again the same way.

    Click OK and then re-enter Environmental Variables
    In System variables click on the Path line and at the end of the line add:
    {a semi-colon} followed again by your complete path as above.
    Click OK and exit out.

    Open DOS window:
    type without quotes "echo %JAVA_HOME%" and check it is correct.

    CD [Change directory] to your EnterWebz directory.
    {{ Note that I made a copy of the bat file without the space between Enter and Webz. }}
    Type EnterWebz.bat and get the following [with YOUR system ip and directories]

    C:\Program Files (x86)\Java\EnterWebz>EnterWebz.bat
    JAVA_HOME: "C:\Program Files (x86)\Java\jre1.8.0_31"
    HME SDK 1.4 (TiVo, Inc.)
    LOG: added factory
    LOG: added factory
    LOG: added factory
    LOG: added factory
    LOG: added factory
    LOG: added factory
    LOG: added factory
    LOG: added factory
    LOG: added factory
    MDNS: http://192.168.231.232:7288/webz/
    MDNS: http://192.168.231.232:7288/webz1/
    MDNS: http://192.168.231.232:7288/webz2/
    MDNS: http://192.168.231.232:7288/webz3/
    MDNS: http://192.168.231.232:7288/webz4/
    MDNS: http://192.168.231.232:7288/remote/
    MDNS: http://192.168.231.232:7288/minesweeper/
    MDNS: http://192.168.231.232:7288/aqi/
    MDNS: http://192.168.231.232:7288/blitz/

    I hope this helps.

    Is it necessary to keep the DOS window open after running the BAT?

    Though this seems to be correctly setup, I cannot open a new app on the TIVO at my above address. I get a V310 message. I have given some permissions in Kaspersky and my internal network is open [I stream from same PC to Mede8er and needed nothing for it to see files].

    I have been on YOUR PBS and YouTube and they seem to work OK [though Exiting or backing up I haven't mastered yet.] PBS seemed soft, but that is probably streaming.

    I found that the archives.org videos kept coming back as not supported format and moved on.

    Though I have a 65" screen, it is excellent Hitachi RPTV and the on screen print is very small to unreadable small. [I know, I know. Time to upgrade.]
    But it took me a while to realize the row of icons at top of screen give you the buttons on remote for controls. Could they be larger?

    Again, thanks a lot for this wonderful effort!
     
  4. davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    Glad that worked! thanks for posting your success.
    yes, I didn't put any effort into a fancy detaching launcher. I think there are some things on the Internet somewhere that can wrap it up for you, if you like.
    My only useful thought on this is the previous attempts may have confused the TiVo. It sometimes takes a while for changes to shake loose with how TiVo handles the MDNS technology. If you shut it down, wait (10 minutes to a half hour) for the listings to clear out of the TiVo, then start it up, hopefully it will only be using the correct information and hopefully it will all work as expected. A TiVo reboot is an option, too. It will definitely be cleared out then.
    Of course, by the time you read this, enough time SHOULD have passed for any issues to shake loose by now, anyhow.

    If you still have issues, try to give me a step by step with actions and responses and maybe I'll realize something else.
    Yeah... that seems to be getting worse lately at archive.org. Also they use a weird URL for the media (and the image) in that RSS feed that doesn't always work as well as the links on the regular pages.
    If you select the title of a video you'll go to the full web page for that video and it will list all of its available file formats... usually you'll have better luck there, but it's a big, busy page.
    Yes, I agree... I've been meaning to increase the size of the font for hints for a while and just haven't gotten around to it.

    As for the web sites themselves, you can change font size using the number keys or the INFO menu, but that doesn't change the size of the hints or the title or status bar.
    Thank YOU for posting! I had almost lost hope... not a single response on any of my "Coffee House" posts of the last two months, and, as of today, a total of two people have tried my new "Radio Auricle" app :p

    I guess I shouldn't complain, though... traffic has been steadily increasing since the 1.0 release. It's just hard to work in a vacuum.
     
  5. Apr 2, 2016 #165 of 165
    davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    FYI, I was exploring video scaling again (trying to come up with in-app aspect ratio correction) and I have a correction to the above.

    It turns out Video Scaling is specifically ignored if the X scale is 1.0. If you want to "squish" your video vertically and leave horizontal alone, you have to use a horizontal scale like 0.99999 to make sure vertical scaling isn't ignored. Left/Top position is not actually relevant to how scaling is interpreted.

    This also affects positioning (position is ignored and the view just clips the video if video is not scaled down below 1.0)

    This actually makes more sense than my previous assertion.
     
    Last edited: Apr 2, 2016

Share This Page