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

tivoweb module - xhtml-mp for mobile devices

Discussion in 'TiVo Series 1 - UK' started by johala_reewi, Mar 15, 2007.

  1. Mar 15, 2007 #1 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Inspired by this thread http://www.tivocommunity.com/tivo-vb/showthread.php?t=89172&page=1&pp=30&highlight=xhtml
    and my recently acquired Nokia 6230 with GPRS, I was keen to access Tivo using the phone. Normal Tivoweb was just too much and the WML tivoweb didn't cut much ice. Seeing how the Nokia 6230 supports XHTML-MP it seemed an ideal opportunity to produce a Tivoweb module to do the basic functions outputting lean and mean XHTML-MP. So here it is for those who want to give it a spin.

    I had two constraints. 1) Has to be usable on the Nokia 6230 (such a tiny screen!!); and 2) Keep GPRS data traffic to a minimum - I am on Vodafone pay as you surf :( not the cheapest, and GPRS isn't exactly broadband speed. Consequently, you don't get reams and reams of data (the largest page size is about 9Kbytes), or CSS, or Javascript, or images. Just text. Use is also made of accesskeys and option groups (part of the XHTML-MP spec).

    Being a tivoweb module (not TivowebPlus 2 though), you just unzip the ZIP file and binary ftp the xtivoweb.itcl file to the tivoweb-tcl/modules folder on Tivo. Restart Tivoweb and away you go. It appears on the menu and most browsers will render it, so you can do a test drive without using the phone or PDA. It is also very handy for slow internet connections!

    To access it directly from your mobile device, create a bookmark to your tivo and add /xtivoweb to the end of the URL (eg. http://aaa.bbb.ccc.ddd/xtivoweb).

    Features to be added:
    1) Wishlist mtc

    This works nicely with my Nokia 6230 and has been tested with Nokia series 40 emulators. The Nokia 6230i might need to be put into extra small font mode though. Being XHTML-MP it should work with a lot of other mobile devices. There is one small gotcha. The module generates XHTML-MP, but Tivoweb serves it up as a text/html document in the http header. This is usually OK because it is a valid combination in the XHTML-MP specs but, some devices can be picky and might not work 100% (see httpd-tt.tcl note later).

    A PDF user guide is available but is too large for this forum.
    you can download it from here http://www.cjags.plus.com/xtivowebguide.pdf

    Tested OK on:
    iPod Touch
    Nokia series 40 emulators.
    Nokia series 60 emulators.
    Nokia 5140
    Nokia 6230
    Nokia 6230i
    Nokia 6234
    Nokia 6303
    Nokia 6500 Classic
    Nokia 6680
    Nokia 6820
    Nokia E50
    Nokia N73
    Samsung d900
    Siemens SL75

    Possible Problems on:
    Sony Ericsson V600i
    Windows Mobile 6 Smartphone

    Developed with my UK tivo so not sure if it will work with non-UK ones.

    Key to tags shown in programme lists:
    * = currently recording
    n = now showing
    d = deleted (can be undeleted)
    k = kept (will not be deleted)
    r = scheduled to be recorded
    x = conflict (will not be recorded)

    Most devices will work fine with just the xtivoweb module and standard tivoweb. Some devices may be picky and want to have XHTML-MP pages served up as application/vnd.wap.xhtml+xml instead of text/html. If your phone doesn't render xTivoweb correctly in normal mode, there is a replacement httpd-tt.tcl module. Just binary FTP it to the tivoweb-tcl folder to replace the tivoweb version there. Note this is for tivoweb 1.9.4.

    Release: v0.90 Beta version
    Update: 22-Mar-2007 v0.91 Fix delete/edit season pass bug
    Update: 27-Mar-2007 v0.92 Fix add season pass bug
    Update: 28-Mar-2007 v1.00 Manual recording added
    Update: 29-Mar-2007 v1.01 Bug fix in show programme
    Update: 04-Jul-2007 v1.10 Season pass mtc and bulk add season pass
    Update: 11-Jul-2207 v1.11 Fix interrupted recordings not in now showing bug
    Update: 02-Aug-2007 v1.12 Fix bug introduced by mods for 1.11
    Update: 03-Aug-2007 v1.13 Handle 'best' recording quality when showing programme info.
    Update: 14-Aug-2007 v1.14 Now Showing has 'standard tivo' option.
    Update: 12-Nov-2007 v1.21 Programme Search/Global SP Edit/Tidy up
    Update: 16-Nov-2007 v1.22 SP priority values line up with Tivo
    Update: 24-Nov-2007 v1.23 Make output 100% XHTML-MP compliant
    Update: 28-Nov-2007 v1.24 Minor bugfix in view upcoming
    Update: 16-Dec-2007 v1.25 Minor bugfix in Global SP edit
    Update: 30-Dec-2007 v1.30 Folders added
    Update: 02-Jan-2008 v1.31 Iron out some quirks
    Update: 14-Jan-2008 v1.32 Streamline Folders
    Update: 23-Jan-2008 v1.33 Fix couple of crash situations
    Update: 25-Mar-2008 v1.34 Fix possible crash situation in record by channel+date

    httpd-tt.tcl: 02-Apr-2008 Replacement code for Tivoweb 1.9.4 if your mobile absolutely has to have the xhtml mime type.
     

    Attached Files:

  2. Mar 17, 2007 #2 of 187
    inahat

    inahat New Member

    15
    0
    Nov 6, 2002
    Great job you've done. Works brilliantly on the same phone as you.
     
  3. Mar 17, 2007 #3 of 187
    Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    This works well when tested in Tivoweb.

    Am just about to update my mobile from a geriatric one so will let you know about that in due course.

    Even if you are on TMobile WebnWalk in the UK on £1 per day for web browsing their overseas data tariffs zoom up to a highway robbery £7 per MB, so a cut down TivoWeb like yours is essential for overseas mobile use.
     
  4. Mar 17, 2007 #4 of 187
    TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    Working nicely here on a Nokie E50.

    Adding search would make this a killer module,
     
  5. Mar 17, 2007 #5 of 187
    Fred Smith

    Fred Smith Still learning

    779
    0
    Oct 5, 2002
    Reading,...
    Nice one.

    Works fine on a 6230i and 5140.

    Just need the Manual Record option, please. :)
     
  6. Mar 17, 2007 #6 of 187
    itm

    itm New Member

    244
    0
    Aug 12, 2001
    London, UK
    works great on a Nokia 6820 - brilliant work - thanks!
     
  7. Mar 18, 2007 #7 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Vodafone PayAsYouTalk is £7.50 per MB (but fortunately, they charge per KB). Hence my need to keep the data transfer down to a minimum. I will be adding programme search and manual record (they are next on the list).
     
  8. Mar 18, 2007 #8 of 187
    Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    I'm sure that we all look forward to seeing their addition to this already excellent module in due course.
     
  9. Mar 21, 2007 #9 of 187
    TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    Bug report - deleting a season pass fails with an uninitialised variable in an expr function (sorry, didn't make a note of which one!).
     
  10. Mar 22, 2007 #10 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Also affected edit season pass. Uploaded latest version to post #1
     
  11. Mar 25, 2007 #11 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Whoops. While fixing the edit & delete season pass bug, I stopped the add season pass working :( All fixed now and latest version is uploaded to post #1
     
  12. Mar 28, 2007 #12 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Have added manual recording. Seems to work OK but I don't really use this so maybe somebody who does can test it out? Also, as well as record by Date&Channel and record by Date&Time, I have added record by Channel&Time for completeness. Who knows, it might even be useful :)

    Latest version (1.00) uploaded to post #1 of this thread.
     
  13. Mar 28, 2007 #13 of 187
    Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    Well done Johala.

    However am still looking forward to the addition of Search by Title and Keyword in due course.
     
  14. Mar 29, 2007 #14 of 187
    SilkMan

    SilkMan New Member

    46
    0
    Feb 13, 2007
    Excellent stuff! Works great on my samsung d900. Hadn't tried using the mobile before for accessing the tivo but your module has provided the impetus I needed. Thanks very much for making the effort and sharing it with everyone.

    I look forward to the addition of "Get the kids to go to bed" and "Do the washing up" modules in due course ;)

    Actually, I'd even pay for those :D :D

    Until then, accept a hearty (virtual) pat on the back as a token of my gratitude.
     
  15. Mar 29, 2007 #15 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    I seem to have built in a useful feature (by accident) which is book a season pass for a film. I found this out by calling up film4 and selecting a film I was interested in. I was offered the option to add season pass so I did and it worked!! Tivo spotted that the showing I was looking at had a conflict but found a repeat showing later in the week and sheduled that. AFAIK you can't add a season pass for a film using normal tivo (or tivoweb). This also seems to work for other 'one off' programmes. Bonus :) :)
     
  16. Mar 29, 2007 #16 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Whoops.
    Have just discovered bug introduced when adding manual recording.
    Affects 'show programme data' screen.
    Will fix tonight.

    edit: Bug fixed. v1.01 uploaded to post #1
     
  17. Apr 12, 2007 #17 of 187
    Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    OK I now have a Sony Ericsson V600i that can browse simple web sites of this kind.

    I find that functions such as Phone and Info are working absolutely fine on the phone but when I try to use Now Playing or To Do I get as far as a list of dates with selection buttons alongside them I can click to select but when I then try to click to select that date to see the Now Playing or To Do items for that data nothing happens and I am not taken on to the next screen of items for that date.

    I definitely have the very latest version of xtivoweb running on my Tivo and have done a Full Reload but still the problem keeps happening.

    Is this only affecting me and my Sony Eircsson V600i and if so what could be causing it??? :confused: :(
     
  18. Apr 12, 2007 #18 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Could be a Sony Ericsson funny. Will see if I can find an emulator and give it a try.

    Just to double check can you let me know how far you get:

    On Main menu
    Select Now Showing.

    On Now Showing screen.
    The Dates drop down list should have the focus.
    Click Select - get list of dates.
    Use up and down then Select the date you want.
    The Dates drop down list now shows your selected date.
    Click Down to move focus to the Showings drop down list.
    Click Down again to move focus to the GO button.
    Click SUBMIT (select) to press the GO button.

    You should see a list of Now Showing items for the selected date.
     
  19. Apr 12, 2007 #19 of 187
    Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    I select Option 2 for "To Do" on the main menu on the phone browser.

    This takes me to a list saying Select in the first line and then next line a circular toggle with the toggle in black has "All days" and then below that a circular toggle which is empty with "Fri 13-Apr 07", "Sat 14-Apr07", "Sun 15-Apr 07" and so on line after line with circular toggle button through to Wed 25-Apr 07. If I select Fri 13-Apr 07" the toggle button focus changes to that day but when I then press Select again with the soft key select button or by pressing down the joystick button to Select that item nothing happens. This is true for all date options including All Days.

    The same kind of thing happens with Now Showing. When I select it I get a list with Select in the first line and then All Days with a circular toggle button in the next line which is filled in black by default. I then get the days line by line from Thu 12-Apr 07 going back indefinitely (given how many old programs I have) with a toggle button next to each. Highlighting the item and selecting it turns the toggle button black but selecting it again results in nothing happening instead of a list of Now Showing items for that day appearing.

    By contrast on my PC TivoWeb browser for Now Showing I get a drop down list of all dates I can select from and another drop down box with "All Showings", "Deleted", "New", "Expired", "Kept" etc and a Go button underneath to select once I have chosen from both those lists. With To Do I just get one drop down dates box in my PC Tivweb browser and a Go button underneath.

    Is the problem that the Sony Ericsson browser can't handle drop down selection lists and insists on showing a toggle button for each day instead? Then when you toggle the day you can't select again to trigger the next stage of the selection process?
     
  20. Apr 13, 2007 #20 of 187
    johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    It could be that the Sony has a problem with <select> lists. I tried to download the emulator from the sony website but their download verification process doesn't work :( From what you say, it doesn't sound as if the page is being rendered properly. This is how the first Now Showing screen looks on the Nokia 6230 and the Sony should be similar.
     

    Attached Files:

Share This Page