Can you access TivoWeb with Wap

Discussion in 'TiVo Series 1 - UK' started by graf, Dec 9, 2002.

  1. Dec 9, 2002 #1 of 150
    graf

    graf Hacker

    37
    0
    Oct 8, 2002

    Advertisements

    Has anyone written a version of tivoweb that produces .wml pages suitable for a mobile phone wap browser? It seems like such an obvious thing to do, I'm surprised it doesn't exists already, but my searches for it have yielded nothing.

    If one does not exist, i'd be highly tempted to hack tivoweb to produce wml. It shouldn't be too tricky, although I might just implement searching and recording rather than the full tivoweb monty.
     
  2. Dec 9, 2002 #2 of 150
    radish

    radish Honourable Member

    414
    0
    Dec 21, 2001
    NJ, USA
    Would be an interesting idea, I certainly haven't seen a wml version. Maybe it's because no one uses wap ;)
     
  3. Dec 9, 2002 #3 of 150
    Tony Hoyle

    Tony Hoyle Geek

    646
    0
    Apr 1, 2002
    Manchester
    WAP pages are quite limited & there's not much you could do with it... I've tried setting up a WAP version of a couple of sites (you need something like Apache to do the automatic redirection, but it's not hard), however the results were so disappointing I abandoned the idea.

    Given a year or two the new phones will be speaking proper HTML anyway...
     
  4. Dec 9, 2002 #4 of 150
    graf

    graf Hacker

    37
    0
    Oct 8, 2002
    You could have a search box. You could type in the name of a program you wanted to record and it could go through the normal tivoweb process and setup a recording. Surely that'd be ideal for those "I'm down the pub and I really meant to tell the tivo to record..." moments.
     
  5. Dec 10, 2002 #5 of 150
    kmusgrave

    kmusgrave New Member

    268
    0
    Oct 13, 2000
    Isleworth, UK

    Advertisements

    They already can - the SPV can read/display proper HTML pages
     
  6. Dec 10, 2002 #6 of 150
    BtB

    BtB New Member

    88
    0
    Sep 27, 2001
    Warrington,...
    Time for encouragement... :)

    Even a simple Search and record screen accessible via WAP would make TiVoweb 10 times more useful, go for it !
     
  7. Dec 10, 2002 #7 of 150
    graf

    graf Hacker

    37
    0
    Oct 8, 2002
    Although allegedly it can't call numbers out of it's contacts list.

    I've started coding (or at least hacking) tivoweb to serve wml pages - although so far I haven't got much further than "hello world". But at least I can get it to serve static content, now to work on dynamic content.

    I've hit one snag however. I've stopped it branching off into the background, but if i Ctrl-c to stop the task, it reboots the tivo. Anyone got any ideas what might cause this?

    Cheers
     
  8. Dec 10, 2002 #8 of 150
    radish

    radish Honourable Member

    414
    0
    Dec 21, 2001
    NJ, USA
    There's mention of this on the underground forum. From what I remember, TivoWeb (and some other apps) run in some special shell which doesn't like being killed (it panics the kernel). That's why TivoWeb has a shutdown option, it closes it gracefully.
     
  9. Dec 10, 2002 #9 of 150
    graf

    graf Hacker

    37
    0
    Oct 8, 2002
    Progress report:

    I'm still at the hello world stage, but the code's a lot better. It now operates in both html and wml, depending on the name of the module. Any modules that start "wap" are processed as wap. So now all I have to do is write some tivoweb modules that produce useful wml. I'm going to start with the info page, and work up from there...
     
  10. Dec 10, 2002 #10 of 150
    radish

    radish Honourable Member

    414
    0
    Dec 21, 2001
    NJ, USA
    Or you could always parse the user_agent string and decide what to return based on that ;) if you were going to be fancy that is...
     
  11. Dec 10, 2002 #11 of 150
    graf

    graf Hacker

    37
    0
    Oct 8, 2002
    I'm not fundamentally against fancyness, but surely different phones would give out different user agent strings, so you'd have to hard code a list of phone's user agent strings to check against. Which seems like a bad idea to me. As an added plus, my module approach means I don't have to mess with the existing code as much.

    Progress report:-
    I have the "Information" screen coming up on my phone (apart from the kernel and memory information, which I couldn't be bothered with). There is a copy of the sort of thing it produces at http://www.ninjapineapple.com/tivo.wml

    Now it's time to go to bed... The next challenge is getting the search page working, which could be a lot trickier.
     
  12. Dec 10, 2002 #12 of 150
    alanjrobertson

    alanjrobertson New Member

    93
    0
    Feb 14, 2002
    Glasgow, UK
    ..that looks cool!!

    I'm very impressed with all the info you've got on that WAP page - making me seriously consider a TurboNet upgrade now!

    Alan ;)
     
  13. Dec 12, 2002 #13 of 150
    graf

    graf Hacker

    37
    0
    Oct 8, 2002
    Progress Report: I now have the search page working... You can enter a title, and search in categories and by title, title keyword, director and actor. The results of the search are displayed correctly.

    However, when you click on the results it takes you to the series page, which is the next thing I will need to wml-ify.
     
  14. Dec 13, 2002 #14 of 150
    mtg101

    mtg101 Speaker for the Dead

    103
    0
    Mar 5, 2002
    London, UK
    Keep up the good work graf, there're a lot of us looking forward to this.

    (especially those of us who've tried that SPV 'phone' and realise it's not an option : )
     
  15. Dec 15, 2002 #15 of 150
    graf

    graf Hacker

    37
    0
    Oct 8, 2002
    Wahey - It works. I just scheduled the tivo to record "The boosh" on BBC7 using my wap phone. It can't do anything fancy yet, like cancel recordings or create season passes, but it can schedule one off recordings through the search facility.

    I shall do some more testing before releasing it, but the worst that could happen, i would think, is that it will spit out invalid wml. What features do people want supported before I release it? And please don't say all of them :)
     
  16. Dec 15, 2002 #16 of 150
    Milhouse

    Milhouse Member

    981
    0
    Sep 15, 2001
    South...
    Will this work in tandem with the standard HTML TiVoWeb - I presume your WAP pages simply need to be added into the TiVoWeb configuration so that they can be accessed with an alternative URL?

    Sounds like an interesting addition to the TiVo range of hacks. :)

    As for features, off the top of my head I'd suggest that a manual recording facility (eg. enter channel, start time, duration, record!) might be the simplest means of scheduling a one-off recording that you suddenly discover is being shown while you're down the boozer. :D Scheduling manual recordings through a search facility sounds good but personally I'd want to keep the call as short as possible and press as few buttons as possible (not because I'm tight you understand, but because it's diverting me away from valuable drinking time, not to mention having to focus on those little buttons...)
     
  17. Jan 2, 2003 #17 of 150
    tkousaka

    tkousaka New Member

    3
    0
    Jan 2, 2003
    Graf,

    This is awesome, looking forward for the release of the WAP. FYI, Sony is licensing Tivo technology for their PVR's in Japan, and their top end edition comes with a dyndns + NTT DoCoMo iMode navigation. Exactly what you are trying to accomplish.

    Needless to say Sony is charging $800 plus for the device, and this will be GPL'ed hopefully.

    You know what would be kool, is if there are any Japanese consumers browsing these web pages who could upload the scripts.


    Cheers,
     
  18. Jan 2, 2003 #18 of 150
    Tony Hoyle

    Tony Hoyle Geek

    646
    0
    Apr 1, 2002
    Manchester
    WAP phones send an http 'Accept' line that includes wml when they request pages... I have Apache setup to serve WAP pages automatically using:

    RewriteEngine on
    RewriteCond %{HTTP_ACCEPT} text/vnd\.wap\.wml [OR]
    RewriteCond %{HTTP_USER_AGENT} wap [OR]
    RewriteCond %{HTTP_USER_AGENT} 7110
    RewriteRule ^[\./](.*)$ /wap/$1

    You should be able to code something fairly similar in any scripting language...

    I've thought of passing the output of tivoweb through an HTML->WAP script... results would be quite varied though (google does this if you use it from a wap phone, and the results aren't brilliant, though they are useable).

    The 7650 also has an HTML browser for it, but TBH I don't use it - the media-rich HTML content you see in most websites now is a complete 'mare to download over GPRS.. WAP is quite acceptable once it's on a decent size display and has colour & graphics (spend more time playing super mario though).
     
  19. Jan 3, 2003 #19 of 150
    Vargster

    Vargster New Member

    38
    0
    Nov 25, 2002
    Graf - what's the lastest on the WML front?
     
  20. Jan 3, 2003 #20 of 150
    nick.perry

    nick.perry Pointless Gadget Boy

    10
    0
    Mar 25, 2002
    London
    Won't that mean that people using multi-format browsers such as Opera will receive the WML content instead of the HTML?
     

Share This Page

spam firewall

Advertisements