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

    563
    36
    Sep 9, 2008
    NM

    Advertisements

    Greyed out emulation should only mean you're not in mobile mode... if that's not checked, then that's why it's greyed out. If you click "mobile mode" again (or click the "zoom" button on a web page) it toggles that mode on and off.

    That reminds me...I introduced a bug in the "info" menu when I changed the highlight cursor for web pages... it doesn't highlight the two pick lists at all in that menu now.
     
  2. jmbach

    jmbach der Neuerer

    3,019
    423
    Jan 1, 2009
    I'll have to check when I get home. Thought I tried to toggle that on the menu. The other thing, and maybe I just did not pay attention, the emulation mode and screen type are not highlighted to know which one you are on. So if that is what you are referring to as your bug, then I agree.

    As far as images. Could you have just an image placeholder for unrecognized formats. Then maybe navigate to the placeholder and hit a button to toggle it on?
     
  3. jmbach

    jmbach der Neuerer

    3,019
    423
    Jan 1, 2009
    Another idea but it might be something that one would have to implement locally is what about on the fly transcoding like kmttg.
     
  4. jmbach

    jmbach der Neuerer

    3,019
    423
    Jan 1, 2009
    The other thing that might be nice is when you are on that menu, once you make one choice it goes back to the main screen. Maybe I am doing something wrong. Would be nice to make several changes and the go back to the main screen.
     
  5. davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM

    Advertisements

    Good point. The current style is from when there were like two options, but now that there are a bunch of related options, waiting would make more sense.
     
  6. davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    Not gonna happen. One of my principles here is to keep it simple...whatever the TiVo can do, EWz can do, but I don't want to download streams to my server to transcode for an upload to the TiVo.

    HOWEVER, I've thought I could integrate launching of other apps (like the video player for "understood" videos and youtube and my app to pick your remote control model)... I'd love to come up with a scheme for identifying locally installed apps for that.

    So, after installing e.g. KMTTG on their home computer, user would "configure" EWz to identify "192.168.0.5:7288/kmttg" as the kmttg transcoding video player, then EWz would launch THAT instead of the regular video player, and your local KMTTG would do the heavy lifting that I don't want to do on my public server.

    I could even do that with images (that wouldn't even be an HME app, just an image proxy program installed on your home computer that transcodes images to not crash HME). In fact, a simple proxy would fix all the https-related failures and could even be set up to send referer and maybe cookie information that some servers require but TiVo doesn't send. I might just write that when I have some time

    (I'm naming KMTTG at random...I don't have most of these things installed myself, unfortunately, so I don't know what would work here... I fear none of them are set up to accept a video URL as an HME transition argument, though)
     
  7. jmbach

    jmbach der Neuerer

    3,019
    423
    Jan 1, 2009
    When you make it I'll test it. :D
     
  8. Nov 9, 2014 #148 of 165
    dadrepus

    dadrepus Active Member

    351
    61
    Jan 4, 2012
    Could this be used to activate and display plex within Tivo? Plex has a web client as well.
     
  9. Nov 9, 2014 #149 of 165
    davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    I haven't been following that thread too closely, but as I understand it there needs to be a launch of the TiVo's internal web browser or of an Opera app... neither of which does anybody know how to do from HME, yet.

    Enter Webz is pure HME, so the short answer is "no, not yet."

    We may figure out how to do such a launch eventually, but I don't think anybody is working on it.

    Enter Webz can only display "downloadable" videos.

    That said... Plex at some level may be downloadable, so with some effort it might be possible, but it looks like most Plex stuff is javascript-dependent, and Enter Webz doesn't do javascript, so that increases the amount of effort.

    I've got a lot I want to do with EWz, and not much free time for it, so I don't know when I'd get to investigate that.
     
  10. davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    FYI, I've worked some on the media proxy idea, but it's a little more complicated than I thought... animated GIFs, streaming audio, etc are problematic, so I've had to temporarily shelve it while I work on other stuff, but I've got the hooks in place on EWz for whenever I do get it done (or somebody else does!).

    new release post next.
     
  11. davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    Almost 3 months since I put out an update, so here's what I've been working on:
    • PBS Video works now - I generalized Video link display and launching so I can add more custom handlers and added one for PBS. (if you removed the non-working PBS pages, you can re-add them from the default links page http://enterwebz.tv/default_links.html) Also added one to help with the "embed.ly" style now used for some youtube, etc.
    • fixed some features to support a slideshow concept I'd always envisioned. Added my own page for one that starts a radio station, then starts a random slideshow of Flickr images. Auto-refresh pages now shouldn't "dim" when idle. (also a non-music one you can start after you start your own music)
    • Menu lets you change more than one thing at a time - per jmbach's suggestion
    • Menu has advanced options only on request, now.
    • Support for locally-installed Media fixing proxy and locally-installed Transcoding Video Player (these programs do not exist yet, though, sorry)
    • Text entry pages now include a helpful title.
    • Remote picker will save your choice again.
    • Using JSoup 1.8.1 with some speedups and better support for XML/RSS sites.
    • UPDATED THE DOWNLOADABLE VERSION finally.. been about 6 months.

    Not technically 1.0 release yet, but that should happen within a month.

    In theory I can support more video downloads much more easily now... vine is still a problem because they only work with https, but maybe I can spend some effort and get Vimeo working again.

    The PBS custom handler is using the PBS "json" data to get everything (title, subtitle, description, rating), but I'm just using a RegEx to parse it - too lazy to get a json library - so apostrophes aren't showing up right.

    The Media Proxy I already posted about... works for basic images, but other content is trouble, currently, so not offering it, yet.
    Anybody have experience doing a straight pass-through stream proxy? I'd like to point the TiVo at the http proxy url and have it appear to be an https stream it connects to.
    The Video App setting is waiting for somebody to make a transcoding video stream player that has the same interface as the TiVo video player (hopefully wmcbrine and HME/VLC... FYI, wmcbrine, the mime argument shows up with the arg name "mime")

    Let me know if you have any questions, comments, suggestions, stories, or website recommendations!
     
  12. Dec 6, 2014 #152 of 165
    Axter

    Axter New Member

    2
    0
    Jan 19, 2009
    I just tried this Webz for the first time with the 2014-11-28 EnterWebz beta distribution version, and it's not working.

    I can see "Enter\032Webz" listed on Tivo.
    When I click on it, I do get the main Webz menu.
    However, when I try selecting any site on the menu, Tivo immediately displays an error message "App Temporally Unavailable" (V301).

    No matter what site I enter into Webz, as soon as I click select button, it jumps to that Tivo error message.

    I'm trying this from a Tivo Premiere box, and on my Windows machine I have disable the firewall to make sure that wasn't the issue.

    Has the Webz been tested with Tivo Premiere?
    What Tivo box do you normally test it with?

    FYI: This sounds like a great app, if I can get it to work.
     
  13. Dec 6, 2014 #153 of 165
    Axter

    Axter New Member

    2
    0
    Jan 19, 2009
    Here's the errors I get on the Windows machine when clicking on a website on Tivo:
     
  14. Dec 6, 2014 #154 of 165
    davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    First, thanks for trying it!

    Hmm... all of that is normal except the "LOG: Unexpected error: java.lang.ExceptionInInitializerError" at the end.
    I just cleaned out my local copy completely and tried it with my Premiere just to be sure, and had no problems. I also have a TiVo HD I test it with.

    However, I don't see the first few lines in your output which would be something like:
    Code:
    JAVA_HOME: "C:\Program Files\Java\jre1.8.0_25"
    HME SDK 1.4 (TiVo, Inc.)
    LOG: added factory
    MDNS: http://192.168.0.20:7288/webz/
    I suspect the version of java it is finding to run on your computer is less than 1.5
    If that's the case, get a newer version of Java, and if it still doesn't use that newer version (or you already have a newer version installed) set the System variable "JAVA_HOME" to point to the newer version.

    If that still doesn't fix it (or you need more detail) let me know and I'll look into it some more.

    By the way, I forgot to mention that I released that download copy with a rather bare "launcher.txt" file...open it up and edit it to have more interesting listings at the top level of your TiVo (the \032 stuff is a bug in the Premiere and above HD (Flash) UI...they're not following their own standard).

    And don't forget you can use EnterWebz.tv to try it out, too.

    Please post again with any other experiences you have or comments!
     
  15. Dec 6, 2014 #155 of 165
    wmcbrine

    wmcbrine Well-Known Mumbler

    11,744
    829
    Aug 2, 2003
    I've worked around this by replacing spaces with the non-breaking space character (A0h).
     
  16. Dec 7, 2014 #156 of 165
    davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    Excellent, thank you. I'm adding it to the wiki, and I put a fix in my copy of V49BApplicationFactory in the setAppTitle and getAppTitle methods.
     
  17. davidblackledge

    davidblackledge Registered lÜser

    563
    36
    Sep 9, 2008
    NM
    I finally pulled the trigger on Enter Webz 1.0
    See the new thread in TiVo Coffee House.
    I'm also considering adding a new TCF thread in "TiVo Home Media Features & TiVoToGo" for the downloaded version.
    I intend to abandon this thread.

    As part of this release I have changed the server for EnterWebz.tv
    I made this change due to the Hosting24 server's inability to connect to twitter.com, some occasional connection issues between my home and the server, inability to upgrade the server without changing IP address, a bit of a price dispute, and the fact that the server was owned overseas. My new 3essentials server has it over on all those issues, including a base price that matches the discounted price I had before, and the ability to upgrade it without changing IP.

    This does mean a one-time change in IP address, though.
    You'll see that your Enter Webz apps are now replaced with a single banner explaining what to do, and clicking it takes you to a page that explains it as well.
    I've paid my old provider through the end of February or so, and that server will go away by March, 2015.
    All your settings have been transferred to the new server.

    This release also includes a few changes to Enter Webz:
    • Added "Social, Email, & Shopping / Twitter.com" and "Games & More / @TiVo page"
    • Added "XKCD Explained" comic page
    • Remote control hint icons vastly improved
    • Menu option to turn off remote control hints on site pages
    • \032 spaces fixed in titles of download version
    • added a small clock in the status bar (using​ ​your TiVo's​ ​Time Zone)
    • Adjustment to table rendering​ ​(helps with twitter.com)
    • Updated TiVo Model/Remote Info (support for ComSec E80 model/remote)
    • handles more errors without crashing (and logging treats idle timeout as a clean exit)
    • remote ​loaded ​background images instead of inline - UI is more responsive, but the background starts out blank​ ​and TiVo's image caching ​is buggy and can break this until a reboot.

    The banner is kind of unexpected, eh? Only works on HD UIs but it's using the same trick I've mentioned before: using a specially sized PNG for the icon which in this case is just a solid banner covering the title text. Series 3 and earlier and SD UIs see the text instead (and a section of the banner). If I ever get any advertisers to help me pay for this, this will be the most expensive option for them.
     
  18. nooneuknow

    nooneuknow Several LT/All-In Roamios & Minis for sale

    3,559
    3
    Feb 5, 2011
    Whitewater, WI
    So, if I'm following this correctly, having finally got the Plex client for all my computers/laptops/tablets/phones, and having finally downloaded the server app, this gives my TiVo what Plex just gave to everything else, pretty much, and I just don't require my own server for it?

    I wonder what will be left, other than not requiring a server at home, if/when Plex shows up in the TiVo Opera store...

    I'm not downplaying all your hard work, time, and effort. The thing that kept me away from Plex was not wanting to have to run a server of my own, in order to use it for anything. I still have my doubts about TiVo letting a Plex app in their sandbox, and assume they'll find a way to make it crippled/slow, making me want to switch active TV input, to just use a product with a better/faster implementation (like many do with Vudu & Amazon Prime, after all this time waiting for such OTT apps on TiVo).

    Good luck, thanks, and best wishes. I'll add this to my "To Try Out" list. :up:
     
  19. Fofer

    Fofer Bo55man69

    92,954
    4,489
    Oct 29, 2000
    This is more of a general purpose web browser for TiVo. Accessing Plex/Web is just one way it may be used. There are better options for Plex now, and on the horizon. Enter Webz is for other stuff, as detailed in this thread.
     
  20. myklbear

    myklbear New Member

    24
    0
    Jan 11, 2015
    Hello David.
    Thanks for your great work. I am new to Tivo with a Roamio + but not new to streaming or servers.
    I downloaded the December files and have successfully connected to your central server and browsed PBS.
    But with that release, the launcher file is very spartan and I have not found much in the way of clues as to what to add.
    I have perused the last year of the forum.
    1. I am running W7 do not have a Java key in HKLM.

    2. From one of your messages, I have sussed and added the following:
    JAVA_HOME: "See:*Program Files*Java*jre1.8.0_31"
    HME SDK 1.4 (TiVo, Inc.)
    LOG: added factory
    MDNS: http:**192.168.231.231:7288*webz*

    3. but still get the dos message as I got prior to adding:
    ERROR: The system was unable to find the specified registry key or value.
    ERROR: The system was unable to find the specified registry key or value.
    Please set the JAVA_HOME environment variable
    to your Java installation directory.
    e.g. See:*Program Files (x86)*Java*jre7
    Press any key to continue . . .

    Any help you can offer I would greatly appreciate. Thanks
     

Share This Page

spam firewall

Advertisements