1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enter Webz beta release - web browser for the TiVo!

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

  1. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Wow... very weird. I am doing eol="mac" processing on the .command and eol="unix" processing on the .sh (this is with the Ant fixcrlf command)... sounds like the result is backwards to what you need.

    The option on Premiere is buried somewhere... and probably the same for Roamio. I don't recommend switching anyhow... it was just to show that the "old" interface code handles the titles correctly.

    Dang. I thought I fixed this (you're running from that "good" copy you re-downloaded, right?)... I guess my theory was wrong:
    If you're running the latest code and this is still happening, then there is something completely different that causes that problem. But, I THINK there are some Mac users that AREN'T getting that problem.

    Any Mac users that have gotten Enter Webz to work locally on their Mac, could you post some information? Maybe Mac version and Java version (type java --version in a command window)? Then we can compare against those having the problem.
     
  2. tatergator1

    tatergator1 Active Member

    1,523
    6
    Mar 27, 2008
    Columbus, Ohio
    FYI, Tivo removed the option to use SD menus in the Roamio software.
     
  3. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    try adding
    Code:
    -Djava.awt.headless=true
    before or after the debug definition in the command.
     
  4. berkinet

    berkinet New Member

    34
    0
    Dec 20, 2013
    No joy...
    Code:
    LOG: null
    *** new cookiestore! ***
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.ExceptionInInitializerError
    Here's my java version...
    Code:
    java -version
    java version "1.6.0_65"
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
    And, FWIW... here's my shell script:
    Code:
    #!/bin/bash
    # thanks to windracer
    mydir=`dirname "$0"`
    cd "$mydir"
    java -Dcom.tivo.hme.sdk.debug.level=0 -Djava.awt.headless=true -jar EnterWebz.jar --launcher launcher.txt --intf 192.168.4.94
    
     
  5. Jan 1, 2014 #105 of 165
    jgametest

    jgametest New Member

    117
    0
    Oct 30, 2013
  6. Jan 1, 2014 #106 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    I'm not worried.

    First, I expect whoever takes ownership will keep the website running, or even make it better.

    Second, if it does go down, there are lots of fish in the sea.
    In fact, while fishing, I found http://mobile.internet-radio.com/ which doesn't have shoutcast's broken "next" button. I'm considering replacing shoutcast with it for new users, actually.
     
  7. Jan 9, 2014 #107 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    New version available for download at http://david.blackledge.com/tivo/enterwebz/
    Just to keep up with the public server and hopefully help with Mac installs.

    EnterWebzDist-2014-1-9.zip: Leave thumztaks screens in history; remove loopset backgrounds; Dimmer control fixed and activates with "D"; fix Mac issues?; fixed another bug

    If you don't need the downloaded version, then go to http://EnterWebz.tv for the public server instructions.

    Interesting that the error appears to have changed. Anyhow, try this new version. I made a few changes that might be relevant. You'll have to edit it to add the --intf again. If this new one doesn't work, try the "headless" part again, as well.
     
  8. jgametest

    jgametest New Member

    117
    0
    Oct 30, 2013
    Hi David,

    While the team is looking for a backdoor to reverse engineer streams, I would like to know would it be possible to allow us the ability to browse internal pages. Services like Plex create an internal page for us to browse which I can access within your browser if I connect from www.plex.tv but the current browser does not handle playback of video formats when I choose a prompt of video TiVo sends an alert that states "Unable to play format". Both Tivo and Opera have not commented if they intend to open the browser ability from the SDK that we all received. It's either hush / hush or they have not figured out how to make it work yet. So in the meantime, I will continue researching server / playback options that might handle the request better. Perhaps cloud playback is the way to go.

    John
     
  9. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    I figure I've maximized Enter Webz's ability to do playbacks by using TiVo's own VideoPlayer app for any video stream it encounters. If it can be done in HME, that App should be able to do it.

    However, there are a couple of question marks in my technique.
    I do send it an http instead of https URL since everything seems to need that on the TiVo. I don't know that I ever did enough testing to verify it's truly required for the VideoPlayer.
    I do try to handle redirections and such BEFORE I send it to the VideoPlayer which I believe is required in a similar way as http vs. https, but again I don't have time to test all the possibilities.
    There is a possibility the exact video format I tell the VideoPlayer influences the playback abilities. I send what I have, but perhaps that's not always exactly what VideoPlayer needs. (for instance perhaps the format info from the website is too vague, or perhaps its not even correct at all)... that said, Enter Webz couldn't improve on that without analyzing the video stream which I have no intention of doing.
    There is a possibility that some videos could work if I directly tried to stream them myself instead of using the VideoPlayer, but I find that unlikely.

    Finally, of the most value here, some websites will provide a different video stream depending on what kind of browser Enter Webz claims to be. At the very least, I could probably set the "accept" header in Enter Webz to specifically only include the video (etc) formats that truly work with a TiVo, and maybe the website will cooperate.

    But the short answer is: I believe Enter Webz does the best thing it can do to maximize video playback.
     
  10. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Yesterday I finally installed the latest update to EnterWebz.tv... I didn't bother to make a new download release, though.
    It just added mode information in the status area, makes recognizable control hints (and model-appropriate) everywhere, uses the genre-specific group icons within the app group pages themselves, and gives more space for banners.

    Of particular "Developer's Corner" interest is how I made the hints "model-appropriate."

    I made a spreadsheet of TiVo models with key facts including the remote they come with by default.
    Then I made a spreadsheet of remote models with keys and how they're labeled.
    So my hints use your TSN to drive whether the button displays at all and how it is represented (both icon and text), matching your remote.
    Perhaps later I'll add a remote selector to say "no, I have a Slide Remote!"

    The icons I used for this release are not good... I'll switch them with just plain symbols (not pictures of the buttons) and let the text labels do the rest of the work. And I'm missing some like action buttons.

    The spreadsheets are incomplete, but good enough for my purposes. I got information from a variety of incomplete sources (mostly TiVo and Weaknees). They also include stuff from my server that isn't documented anywhere else publicly I've seen (e.g. D18, A90, AE2, and 1E2 models).

    I want to share this with the dev community to fill in missing parts and use them for your own purposes. (I just export csv files and include that with my app)
    I have them in Google Docs and have it editable by anybody with the link. Hopefully I can still recover it, as owner, if it gets griefed.

    Model Info:
    https://docs.google.com/spreadsheet/ccc?key=0AsOdOJNsln8YdGlnTXFwUHBtU1Y3eG9zQ01fdnhJWWc&usp=sharing

    Remote Info:
    https://docs.google.com/spreadsheet/ccc?key=0AsOdOJNsln8YdDE0V3IwM2llS2lFa0sweW9Cald6b3c&usp=sharing

    Add any new columns at the end, please (E.g. Models wants an Image column like Remotes).

    Model's drive size 0 is explicitly devices without storage. SW version is just because my source data had it (I won't keep that up to date). I recently added "platform" and "brand" columns from the HME DEVICE_INFO event, too. The "series" column is values I made up to try to group things, but it's not quite right for weird models - platform might be more meaningful.

    Remote Info uses an ID and a Derivation ID - any blank fields are considered filled in by the Derivation ID's row (recursively).
    It uses SDK constant names for KEY headers and my V49 constants for newer keys. I actually parse those to get the key code in Java.

    Key labels are vertical-bar separated Label|Icon
    Labels are meant to be literal text used on the remote (like "Ch" not "Channel up")
    For colored buttons, I'm using the 4 action buttons as generic colored icons, except ones with a color AND an icon. All button text is in the Label part, regardless of how it is attached to the icon.
    If the Label falls below the icon on the remote, the Label starts with "\n" (backslash, n - not an actual newline), or if above, it ENDS with "\n". Otherwise the label is centered over a generic button image.
    Note, I didn't take the time to apply the "\n"s per button when the button is a generic button. I.E. I didn't differentiate between a button with "info" written on the face of it vs. a button with "info" written on the remote above/below the blank button. Feel free to fix those, but I this is as good as or better than TiVo does.
    (It needs to also include label\nlabel2 for buttons with part of the label above and part below the button/icon)
     
  11. dvdvids

    dvdvids New Member

    42
    0
    Feb 8, 2008
    How to remove the remote apps from tivo?
    I had added (Enter Webz! via) 212.1.209.140 to test it out... it looks very promising indeed!
    Now, I want to add it via a local version of Enter Webz! server.
    Before that I want to remove the already added remote IP for Enter Webz!

    Thanks!
     
  12. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    The short answer: instead of pressing "Select" on one of the App entries, press "Clear" and the IP will be removed.

    HOWEVER - I recommend instead just editing your Apps group in the Enter Webz thumztaks to move everything you don't want listed out of the Apps group. Maybe just keep a weather page or something.
    Why? Because the server will "always" be available but your local copy is only if you have it running, and the server also runs Solitaire and Mahjongg and more stuff in the future.

    Running both your local version and the IP server at the same time is perfectly safe. That way you can maintain more security and privacy for sensitive pages using your local version, but always have access to simple pages.
     
  13. dvdvids

    dvdvids New Member

    42
    0
    Feb 8, 2008
    cool...thanks!
    I just want to play with the local one :)
    So, I will try to use both (games from your server) others locally.

    BTW, could not get WatchESPN to play video! Able to open the site, but cannot select the stream... any specific reason?
     
  14. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Could you give me more information? I don't think I was able to find what you're talking about.
    Could you please
    a) give me a URL to try and
    b) describe your steps and what happens? (e.g. "There doesn't seem to be a link to click" or "When I click the link 'blah blah' nothing happens" or "When I click 'blah blah', the video player complains 'xxx xxx xxx'")

    I think I can register an account with WatchESPN through my cable provider to try it out, if that's a necessary step.

    I know in general, the ESPN mobile site doesn't provide any links to video content at all, just podcasts (which work) and articles and scores.

    I tried it on a regular browser, and there is a lot of JavaScript on that site, so it may not work right due to that, but I did notice the use of a VIDEO tag which is a good sign that Enter Webz might be able to make it work.

    Also, to improve compatibility, I'm going to add some more Mobile modes that should cause some websites to provide different content. But that starts getting hairy...I'll may have to make thumztaks store the mode with the URL because you'll need different modes for different sites to work.
     
  15. dvdvids

    dvdvids New Member

    42
    0
    Feb 8, 2008
    ...added comments in bold
     

    Attached Files:

  16. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Ah, ok, I was at the right site, then. That's a JavaScript-heavy site, and Enter Webz doesn't support JavaScript or flash or other highly-interactive technologies. EW can barely handle the images ;]
    In this case, it looks like the content, including the links, is designed to mostly load dynamically, which EW doesn't support.

    Available in the Sports & Weather group under Apps in the default setup for EW, there is a mobile ESPN site link. It actually is a very well done mobile site, but it specifically doesn't include any video content.

    It's too bad, too, because I think the non-live videos on that site might actually work if there was a simple link to them.

    While EW isn't Mobile-specific, it's not able to handle lots of images or fancy content, so mobile sites work much better since they're designed to be much simpler.

    Well, if the ad is dynamic (JavaScript/flash) content, then Enter Webz can't display it. If it's just an image/link, it works fine. If it's an IFRAME (often they are) Enter Webz doesn't (currently) support them except by making them into a new link to the IFRAME's page.
    Enter Webz doesn't actively try to block any advertising.
     
  17. dvdvids

    dvdvids New Member

    42
    0
    Feb 8, 2008
    cool.. gotcha.. it's a light weight browser and at this initial stages shows a huge potential.. :up:
    hopefully, tivo takes this and build on it to make a heavy weight browser!

    Is there a way to zoom web page? ..found it hard to see some of navigation icons

    Mouse or Wii like remote would make the navigation so easy.. so is there any way to connect a mouse to tivo box directly or via bluetooth/wireless adapter?
     
  18. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Unfortunately, it doesn't have a whole lot further to go from these "initial stages" except for possibly a complete rewrite of one section to use the "CSSBox" library that will do page layout way more accurately, and maybe add support for borders.
    And I have to figure out what's wrong with Cookies ... I guess it doesn't follow the standards 100%, so Google products break eventually.

    However, I'm perfectly happy to sell if TiVo is buying ;] I'll move on to games or something.

    But, as you may have heard, TiVo already has a heavy weight browser (Opera) on Premiere and Roamio, but they haven't provided general browsing access with it (and may never), but instead use it for HTML5-based one-page apps. At least my app also works on Series 3 (and Series 2, I believe... but only 1 has used EnterWebz.tv so far)
    Well, you can change the TEXT size temporarily with 1-9 (or "info" menu to do it permanently) - but that doesn't affect image sizes.
    I could definitely add zooming fairly easily, but it would be either a literal zoom, causing you to scroll left/right a bunch, or I could do it with re-load of the page like it does when you change font size or mode.
    Either way I'd have to figure out how you activate it...I've pretty much run out of buttons except "A" and "C" on the newer remotes.

    However, you said "navigation icons"...if you mean the hints on the left side, I noticed that the text is a little too small on one of my TVs, too. I'll play with a larger size for that, especially on HD TVs.
    Nope, sorry... TiVo doesn't support that. HOWEVER it does support the SLIDE remotes with keyboards, and if you don't have that remote, you can plug a USB keyboard into the USB port in the back (wireless ones even work). That will let you type directly on text fields, etc. and USB is more responsive for arrow keys, etc., than the infrared remotes.
    One other improvement I need to do is write custom handling for the "link focus" stuff - so you don't end up going in circles around the link you want to get to, and so the focus is a "floating" visual that's easier to spot as it slides to the next link.
     
  19. Apr 6, 2014 #119 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    There are now 220 TiVo DVRs that have subscribed to EnterWebz.tv... but I'm getting very little feedback...so I'm just changing things I feel like changing before the official release.

    PLEASE let me know if you feel something needs a change. I've documented a few TODO items on the Google Docs documentation page, but anything else is not a priority to me unless YOU say something.


    And again, anybody that would like to add to the TiVo Model Information and Remote Information Google Docs I mentioned a few posts back, that will help EWz and anybody else that chooses to use it. Eventually I may add a menu option to select a remote (via a picture) to further customize your experience.


    Both EWz download and EnterWebz.tv have been updated today.

    The download at David.Blackledge.com includes the February server update as well as this update.

    Most notable is an update to the User Agent string... several changes (including reporting "beta 0.9"), but you can now select a mobile emulation mode from a long list in the Info menu. The default is now Samsung, not the old AvantGo I was using. Samsung works well on the majority of websites.
    I believe this fixes Yahoo login issues. It also fixes some issues with Google pages, but doesn't fix the cookie going bad after a few weeks. Facebook stopped working recently for me...this fixes that, too.
    There is an iPad mode, but since EWz doesn't support scripting, it's probably not great choice unless you're looking for a better page to get a Video.

    A known problem with requests for non-html support files (e.g. CSS stylesheets) is fixed now so a lot of pages that weren't formatting right will work well now.
    One of those is video.pbs.org which I highly recommend you save a link to... full episodes available for streaming with EWz.

    HME server TiVoConnect links will automatically format as a web page so you can see everything served as a list. See the "recommended links" page for TiVoConnect links for known HME servers.
    Of interest is TiVo's which oddly will launch the NON-HME app for one of the Netflix and one of the Youtube entries. I hope we can find out the secret to that trick for our own purposes.

    Also, the thumztak Edit screen is accessible from the Info menu now, not just the "enter" key shortcut.

    By the way... the Shoutcast page doesn't work anymore with the recent buy-out (too JavaScript heavy), so as previously suggested, please add mobile.internet-radio.com as a link and you'll be back in business again.

    Finally, I've added a little more logging so I can get some idea of how people are using it since nobody's saying anything.

    Tell me what your experiences are! Let me improve it!
     
  20. davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Ooops... :eek: I left a test mode in that distribution that forced you to always use PALM mode.
    Updated the http://EnterWebz.tv server just now to default to SAMSUNG and to actually use your selected mode, whatever it is. (Not updating the download right now unless somebody asks)

    Noticably, Youtube uses tiny thumbnails for SAMSUNG and enables numeric shortcuts, while PALM uses larger thumbnails and doesn't indicate any numeric shortcuts.

    Please check my Key TODO list in the documentation and if you want something to change but it isn't here, Please let me know!
     

Share This Page