PDA

View Full Version : New TivoWeb Module : Highlights


Pages : 1 [2] 3

RichardJH
04-13-2007, 10:59 AM
I have rebooted and have made daily call. If I use the search option with TW or TWP just for films without selecting any options I get all films listed with no problems.

terryeden
05-30-2007, 01:16 PM
Do I need to install Slotfree? I recently upgraded to the latest version of this module and now I get the following error

INTERNAL SERVER ERROR
--cut here--
action_highlights '' 'set "gtype" "tv";set "gday" "00";'
invalid command name "slotfree"
while executing
"slotfree [expr ($prgdate * 86400) + $prgtime] $duration $junk"
("uplevel" body line 3)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {

set sf [slotfree [expr ($prgdate * 86400) + $prgtime] $duration $junk]

}"
(procedure "getFreeSlotInfo" line 7)
invoked from within
"getFreeSlotInfo $prgdate $prgtime $duration"
(procedure "getRecordingText" line 71)
invoked from within
"getRecordingText $showingfsid"
(procedure "writeShowsHtml" line 55)
invoked from within
"writeShowsHtml $shows $chan "
(procedure "writeHighlightsHtml" line 53)
invoked from within
"writeHighlightsHtml $chan $shows $timer"
(procedure "::action_highlights" line 97)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

TCM2007
05-30-2007, 01:35 PM
You need LJ's utilities installed.

d33mb33
05-30-2007, 01:41 PM
Do I need to install Slotfree? I recently upgraded to the latest version of this module and now I get the following error

Yes you do.. sorry, I removed the check in the last version.

The next version will have this check put back in place (so slotfree doesn't need to be installed) along with another feature thought up by ColinYounger.. :cool:

Pete77
05-30-2007, 02:32 PM
The next version will have this check put back in place (so slotfree doesn't need to be installed) along with another feature thought up by ColinYounger.. :cool:

And what is that cunning new feature or are you going to keep us in suspense until you release the new version of the module. ;)

terryeden
05-31-2007, 04:46 AM
To save anyone else Googling - the utils are available from http://www.ljay.org.uk/tivoweb/lj_utils.itcl

Cheers guys, all working now!

d33mb33
06-08-2007, 07:50 PM
V1.06 of the module is now available from the first post. This release allows you to view and record the DigiGuide TV highlights aswell as the RadioTimes. Please direct any thanks to ColinYounger who came up with the idea and original source for the enhancement.

# 1.04 25/03/07 d33mb33 - Reworked to be compatible with TWP2
# 1.05 01/04/07 d33mb33 - Update for major change in data format (thanks LJ)
# 1.06 29/05/07 d33mb33 - Added DigiGuide listings (thanks ColinYounger)

Pete77
06-09-2007, 11:07 AM
V1.06 of the module is now available from the first post. This release allows you to view and record the DigiGuide TV highlights aswell as the RadioTimes. Please direct any thanks to ColinYounger who came up with the idea and original source for the enhancement.

# 1.04 25/03/07 d33mb33 - Reworked to be compatible with TWP2
# 1.05 01/04/07 d33mb33 - Update for major change in data format (thanks LJ)
# 1.06 29/05/07 d33mb33 - Added DigiGuide listings (thanks ColinYounger)

This is excellent work d33mb33.

The new module seems to work perfectly and nearly doubles up the choice (as only a few programs are the same on both sites) of interesting programs to look at. :) :up: :up: :up:

BobBlueUK
06-09-2007, 11:26 AM
A brilliant new addition, may I also add my thanks to both d33mb33 and ColinYounger. :up:

The Digiguide RSS feed for next Friday (15 Jun) isn't working for me - looks like it's due to a broken html link (stray </a>) in the "Ross Kemp on Gangs" prog. Is that a prob with the Digiguide source or Highlights' data extraction?

Other than that, great stuff! :)

RichardJH
06-09-2007, 11:31 AM
Highlights has just got better. Except I am still getting the following error when I select Films on one of my Tivos.

INTERNAL SERVER ERROR
--cut here--
action_highlights '' 'set "gtype" "film";set "gday" "01";'
expected integer but got ""
while executing
"db $db openid $fsid"
("uplevel" body line 3)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set fsid [lindex [get_fsidbyprefix "/Schedule" "$name:$today"] 0]
set stationday [db $db openid $fsid]
set showin..."
(procedure "getAllFilmsFromDb" line 15)
invoked from within
"getAllFilmsFromDb"
(procedure "getFilms" line 11)
invoked from within
"getFilms"
(procedure "::action_highlights" line 43)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

Pete77
06-09-2007, 11:41 AM
Highlights has just got better. Except I am still getting the following error when I select Films on one of my Tivos.

Films working perfectly here.

RichardJH
06-09-2007, 12:07 PM
works OK on my other Tivo. The one that works is on Freeview the one with error is on Cable with full channel line-up, not sure if that has anything to do with it.

I would like to get it sorted somehow.

Pete77
06-09-2007, 12:35 PM
works OK on my other Tivo. The one that works is on Freeview the one with error is on Cable with full channel line-up, not sure if that has anything to do with it.

I would like to get it sorted somehow.

My Tivo has a dual source Sky Digital and Freeview set up so I doubt that is the cause of your issues.

The Highlights module currently bases its recommendations on the whole Freeview and Sky Digital programs databases and not just those I have active in Channels I Receive.

Speaking of which there is a suggestion for a a future improvement in the module by d33mb33. Namely that Highlights are only listed for programs that match with channels that are active in that user's Channels I Receive.

RichardJH
06-11-2007, 07:30 AM
so I doubt that is the cause of your issues

Pete you may be right but I am hoping that someone will come up with an answer to my problem. If all else fails I guess I may have to find time to remove all my recordings and do a clean re-install. I hope not :eek: :eek:

Pete77
06-11-2007, 07:37 AM
Pete you may be right but I am hoping that someone will come up with an answer to my problem. If all else fails I guess I may have to find time to remove all my recordings and do a clean re-install. I hope not :eek: :eek:

Would surely be easier to live without Highlights on that machine than have to do all that? :(

RichardJH
06-11-2007, 08:02 AM
Yes I agree so any re-install is a long way down the list of things to do.

RichardJH
06-15-2007, 10:35 AM
Many thanks to Dave d33mb33 for sorting out my error problem.

It turned out to be a non existent channel being selected on my channels I receive.

Thank goodness for this forum.

Blitzed
06-18-2007, 02:03 PM
Is there any way to automatically cache the weeks highlights? So when it comes to actually looking through them its quicker?

d33mb33
06-18-2007, 06:40 PM
Is there any way to automatically cache the weeks highlights? So when it comes to actually looking through them its quicker?

Short answer is no.

Long answer is yes.. each page of Highlights caches when you load it the first time that day. That's why it's faster when you look at the same page again (or change the film search criteria). If you are technically minded you could set up a cron job to call each page with "wget" or something in the early hours of the morning. But before you ask, this isn't something that I can add to it automatically as it would involve editing TiVo startup files and the like.

d33mb33
06-18-2007, 06:43 PM
Another minor update.. added Pete77's suggestion that there is an option to only see programmes that you receive. This release also addresses the perculiar problem that RichardJH was having.

# 1.05 01/04/07 d33mb33 - Update for major change in data format (thanks LJ)
# 1.06 29/05/07 d33mb33 - Added DigiGuide listings (thanks ColinYounger)
# 1.07 12/06/07 d33mb33 - Added "Received Channel" only option

Pete77
06-19-2007, 09:28 AM
Another minor update.. added Pete77's suggestion that there is an option to only see programmes that you receive. This release also addresses the perculiar problem that RichardJH was having.

# 1.05 01/04/07 d33mb33 - Update for major change in data format (thanks LJ)
# 1.06 29/05/07 d33mb33 - Added DigiGuide listings (thanks ColinYounger)
# 1.07 12/06/07 d33mb33 - Added "Received Channel" only option

Thanks for the enhancements d33mb33. Restricting the listings to only "Channels I Receive" is especially welcome for us Freesatters and Freeviewers and also for the Films listings (where the listings can get truly out of hand).

Speaking of the Films listings further enhancements I have thought of, and that should be possible, are to be able to save your own personal default options for the number of stars and year range of films that you are looking for plus also to be able to filter films of only four stars or better or five stars or better. Indeed if four star and especially five star or better film selection criteria was used the right way then one might also want to search for only 4 star or better or 5 star or better films across the whole week rather than just one day (given that there are so comparatively few 5 star films in any particular week).

The recent modifications for Channels I Receive seem to work absolutely fine, based on my so far somewhat limited testing.

d33mb33
06-19-2007, 02:50 PM
The film classifications are (weirdly enough) ranked one to four stars with four being the highest possible ranking. I could add a "four star only" option easily enough but I think then most days wouldn't have any films!

It would be nice to be able to search films for the whole week but I think that it will just ask a little bit too much from our TiVos. Highlights takes about 10-15 seconds to render a single day of films so a whole week would be well above a minute. I could code another little process to do this offline but it would involve people editing their startup files and I'd rather not get into support for this. Plus, I think the simplicity of the current module is one of it's best features.

In regard to saving the film criteria, once you set the criteria, Highlights persists this from day to day, so you only have to set it once per session so to speak. :)

d33mb33
06-22-2007, 05:55 PM
V1.07 had some crappy time handling code so I've uploaded a (slightly) better version for V1.08

# 1.06 29/05/07 d33mb33 - Added DigiGuide listings (thanks ColinYounger)
# 1.07 12/06/07 d33mb33 - Added "Received Channel" only option
# 1.08 22/06/07 d33mb33 - Minor error handling fixes

Pete77
06-22-2007, 07:20 PM
It just keeps getting better d33mb33. If only all our module developers were this assiduous in maintaining their creations.........................

TCM2007
06-23-2007, 06:45 AM
Just downloaded the latest version; this is a very slick module!

TCM2007
06-23-2007, 12:38 PM
Anyone know how to put a password into Bloglines or a similar RSS reader so I can access the Highlight RSS externally?

realbigmike
10-03-2007, 10:47 AM
I have a US tivo with TWP 2.0. I installed the highlights module and also the LJ utils. I have a problem almost identical to post #125 (i cannot post links yet) in this thread but slightly different. So I tried doing a daily call-in (as recommended to fix the problem) and after it indexed I get the same error. Am I missing something simple, I do need some sleep :P I have rebooted my tivo a few times and still nothing.

INTERNAL SERVER ERROR
--cut here--
action_highlights '' ''
expected integer but got ""
while executing
"db $db openid $fsid"
("uplevel" body line 3)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set fsid [lindex [get_fsidbyprefix "/Schedule" "$prgstation:$prgdate"] 0]
set stationday [db $db openid $fsid]
set showings [dbobj ..."
(procedure "getShowingByStationAndTime" line 6)
invoked from within
"getShowingByStationAndTime [lindex $tivotime 0] [lindex $tivotime 1] $prgstation"
(procedure "matchTiVoShowings" line 25)
invoked from within
"matchTiVoShowings $shows"
(procedure "getShows" line 15)
invoked from within
"getShows"
(procedure "MOD::action_highlights" line 41)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--

BobBlueUK
12-23-2007, 11:14 AM
The "RadioTimes TV" and "RadioTimes Radio" elements of Highlights have stopped working for me, although the "Films" and "DigiGuide TV" parts continue to work fine. Have tried clearing the cache but that didn't help.

Am I the only one experiencing problems, or have the Radio Times made some changes on their website which are interfering with Highlights' operation?

Oh, and while I'm here - Happy Xmas to one and all, esp d33mb33 for this great module! :D

Pete77
12-23-2007, 12:52 PM
Am I the only one experiencing problems, or have the Radio Times made some changes on their website which are interfering with Highlights' operation?

I have just checked and I am experiencing the same symptoms as you.

Namely Films and Digiguide work fine in Highlights but no luck at all with getting any listing for Radio Times Tv or Radio Times Radio. So it looks like the Radio Times have indeed changed the format of their website once again.

Hopefully d33mb33 will be able to respond to this challenge in due course.

Raisltin Majere
12-23-2007, 02:39 PM
So it looks like the Radio Times have indeed changed the format of their website once again.



I can't get highlights from today or tomorrow, after that it's fine.

Raisltin Majere
12-23-2007, 03:08 PM
Scrap that, was wrong.

I tried visiting the IP address in the module and there was a message that it is unavailable.

So I changed the IP address in the module to 78.136.19.14, did a quick reload of tivoweb, cleared the cached shows and it seems to be okay again.

d33mb33
12-24-2007, 05:00 AM
Yeah, looks like RadioTimes have changed their IP address. I have updated the module (on the first post). Can someone test that this has fixed it? I'm at work at the moment so can't.

Oh.. and Happy Christmas everyone :D

RichardJH
12-24-2007, 05:56 AM
Can someone test that this has fixed it?

Works fine on both my Tivos using TW 1.9.4 and TWP 2.0.

The only oddity is that I get no info for Today in Radio Times TV option

Raisltin Majere
12-24-2007, 06:06 AM
Have you tried clearing the cached show in options?

RichardJH
12-24-2007, 06:25 AM
Thats done it. Thanks:up::up:

BobBlueUK
12-27-2007, 05:56 PM
Thanks for the speedy resolution guys, working great again now... :)

Dicko
03-05-2008, 07:38 AM
Hi there,

Just upgraded to V1.09 to get Radio Times working again but now when I click on the Films option I get the following error:

INTERNAL SERVER ERROR
--cut here--
action_highlights '' 'set "gtype" "film";set "gday" "00";'
no such object: {CONFLICT err=0x00030007}
while executing
"dbobj $program get Genre"
("foreach" body line 3)
invoked from within
"foreach showing $showings {
set program [dbobj $showing get Program]
set genres [dbobj $program get Genre]

# Ignore p..."
("uplevel" body line 8)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set fsid [lindex [get_fsidbyprefix "/Schedule" "$name:$today"] 0]
# On some TiVos (RichardJH) fsid is "" so we have to ..."
(procedure "getAllFilmsFromDb" line 15)
invoked from within
"getAllFilmsFromDb"
(procedure "getFilms" line 11)
invoked from within
"getFilms"
(procedure "::action_highlights" line 43)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

Any ideas?

Richard

Dicko
03-05-2008, 01:54 PM
Hmm, seems my Tivo just needed a reboot... Working fine now.

Richar

d33mb33
03-06-2008, 11:01 AM
{CONFLICT err=0x00030007}


Exit TivoWeb and restart it again. This has happened before.

laurence@key2.co
03-07-2008, 04:48 PM
I've never really bothered with modules. But I thought I'd give this one a go. Wow! Brilliant module, thanks! :)
What other modules am I missing out on?

mikerr
03-07-2008, 05:28 PM
one or two tivoweb modules... (http://en.wikipedia.org/wiki/Tivoweb)

laurence@key2.co
03-07-2008, 05:31 PM
one or two tivoweb modules... (http://en.wikipedia.org/wiki/Tivoweb)

Thanks Mikerr,
This looks fun.... So much for getting any jobs done this weekend!

mesaka
03-28-2008, 05:47 AM
My version has stopped working today for both Radio times and Digiguide. The films section works though. Is this the same for others or do I need to investigate my set-up further?

Thanks

andonevris
03-28-2008, 07:06 AM
Same here!

mesaka
03-28-2008, 10:20 AM
I guess its changes in the ip addresses then. Hopefully, d33mb33 will be around soon to help. I'd have a go myself but I have no idea about tcl.

d33mb33
03-28-2008, 06:16 PM
My TiVo is dead at the moment..
Hopefully, I'll get enough time this weekend to repair it and fix whatever's been changed with Highlights.

Unless some kind soul can fix it first.. :)

crozati
03-29-2008, 06:04 AM
It looks like the radio times web site doesn't like the incorrect Host:
location in the http request header. Changing the line

puts $web "Host: 212.58.235.206"

to

puts $web "Host: www.radiotimes.com"

in highlights.itcl worked for me for Radio Times (after a
tivoweb reload and clear cache). Caveat emptor.

RichardJH
03-29-2008, 06:35 AM
Well done just altered my highlights.itcl and it works fine.
NOW how do we get the digiguide option to work as well.
I tried changing the appropriate line relevant to digiguide to
puts $web "Host: www.digiguide.com" but that didn't work.

andonevris
03-29-2008, 07:48 AM
Thanks Crozati, worked a treat!

martink0646
03-29-2008, 09:30 AM
Great thanks.

andonevris
03-29-2008, 09:49 AM
OK got digiguide working now:

you need to change set web [socket 83.170.72.151 80]

to set web [socket 89.234.33.26 80]

and change puts $web "Host: 83.170.72.151"

to puts $web "Host: library.digiguide.com"

reload tivoweb
clear cache

crozati
03-29-2008, 10:05 AM
Thanks, andonevris: works for me too.

mesaka
03-29-2008, 10:59 AM
Thanks - that works here.

To aid everyone else I have attached the file in this message. If it is OK with d33mb33 then he can add it to the 1st post.

Pete77
03-29-2008, 11:52 AM
you need to change set web [socket 83.170.72.151 80]

to set web [socket 89.234.33.26 80]

and change puts $web "Host: 83.170.72.151"

to puts $web "Host: library.digiguide.com"

Is there any way to also change "puts $web" to use the domain name instead of the IP address to avoid these kind of problems in future when they change the physical IP address of the server they are using?

Raisltin Majere
03-29-2008, 12:49 PM
I would guess not, as I don't think TiVo can resolve domain names.

Pete77
03-29-2008, 12:57 PM
I would guess not, as I don't think TiVo can resolve domain names.

Then how does it cope with:-

puts $web "Host: www.radiotimes.com"

and

puts $web "Host: library.digiguide.com"

or is puts $web different from "set web" in that the former can resolve domain names and the latter cannot? What about "set $web" - would that work as an alternative to using the IP address?

Raisltin Majere
03-29-2008, 01:00 PM
As we are all aware, I;m no expert.

But it looks to me like it is accessing the site via the IP address and is sending the domain name to the page - "puts", maybe as a referrer or something seems to be in the header I think? I really don;t know, but I am reasonably confident it is not using the domain name to actually connect to the site (or whatever the technical term would be)

Raisltin Majere
03-29-2008, 01:03 PM
set assigns a value to a variable, puts is like "print"

so if you had set web <ipaddress>

the output of

puts "$web www.domain.com"

would be

<ipaddress> www.domain.com

(I think)

crozati
03-29-2008, 01:12 PM
The Host: string is sent to the web server as part of
the http request. So any domain name lookup
based on the Host: string is done by the webserver,
not the TiVo. What seems to have changed is that the
RadioTimes and digiguide web servers now pay
attention to the content of this - presumably
they didn't before as the Host: string wasn't right, but it
worked anyway.

There's a bit more on why the Host: is there at all in
http://en.wikipedia.org/wiki/HTTP . It can be useful if
multiple web sites (domain names) are served from
the same IP address.

d33mb33
03-29-2008, 02:32 PM
If it is OK with d33mb33 then he can add it to the 1st post.

Well done chaps.. First post and version number updated.
Good bit of diagnosis on the host header Crozati :up:
And well done for getting Digiguide working too Andronevis :up:

jimwitt
07-28-2008, 05:56 AM
Highlights has worked very well for some time, but now shows:

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
couldn't open socket: network is unreachable
while executing
"socket 78.136.19.14 80"
(procedure "getRTShowsFromWeb" line 5)
invoked from within
"getRTShowsFromWeb "/${gtype}highlights/""
(procedure "getShows" line 11)
invoked from within
"getShows"
(procedure "::action_highlights" line 41)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

I have downloaded the latest version of highlights, and done a full restart but still doesn't work. Any ideas what might have happened to stop it working?

d33mb33
07-28-2008, 07:00 AM
network is unreachable


Have you changed anything on your network configuration?
Are you using the network for daily calls? (If you misconfigure TiVo to dialup for daily calls then you get this error..)

jimwitt
07-28-2008, 07:26 AM
Have you changed anything on your network configuration?
Are you using the network for daily calls? (If you misconfigure TiVo to dialup for daily calls then you get this error..)

Thanks. That could be it. I changed my Tivo back to dialup because of unreliable daily connections over my wireless connection.

Does Highlights require the network for daily calls?

d33mb33
07-28-2008, 07:38 AM
Does Highlights require the network for daily calls?

Yes, it needs the network configuration to route through the NIC when it gets the list of shows from RT and DigiGuide.

jimwitt
07-28-2008, 08:52 AM
Yes, it needs the network configuration to route through the NIC when it gets the list of shows from RT and DigiGuide.

That makes sense. Unfortunately, I may have to give up with this module, as I keep getting "service not available" when I use network connection! I can't work out why this is as I can talk to the Tivo from my wireless connection.

AMc
07-28-2008, 11:22 AM
IIRC changing from dialup to network can reset the default gateway that Tivo uses.
If you changed it from the default then you may have internal connectivity but when Tivo tries to talk to the internet it tries to connect through an non-existant gateway and fails.
Try pinging a known internal and then external IP address then check nic_config_tivo.

Type carefully in nic_config_tivo as the IP and subnet can auto return at the end of a 3 figure entry which lost me my Tivo from the LAN once!

jimwitt
07-29-2008, 11:44 AM
IIRC changing from dialup to network can reset the default gateway that Tivo uses.
If you changed it from the default then you may have internal connectivity but when Tivo tries to talk to the internet it tries to connect through an non-existant gateway and fails.
Try pinging a known internal and then external IP address then check nic_config_tivo.

Type carefully in nic_config_tivo as the IP and subnet can auto return at the end of a 3 figure entry which lost me my Tivo from the LAN once!

Thanks for that. You were right - The gateway address had changed when I reverted back from dial-up to network. It works OK now.

AMc
07-29-2008, 12:12 PM
Glad you got sorted! :)

Pete77
02-11-2009, 06:50 PM
I recently had cause to reinstall both Tivoweb 1.9.4 and TivoWebPlus 2.1 on my Tivo following a /var/hack/wipeout after having managed to avoid one of those for three and a half years since my hard drive upgrade and Cachecard install.

In the course of this I also discovered that TivoWebPlus is a lot more stable and fully featured than any previous version of TivoWebPlus (including TivoWebPlus 2.0 which was rather bug ridden) and nearly worth considering abandoning Tivoweb 1.9.4 for. However TivoWebPlus 2.1 does not support the OzTivo Yahoo Widget and some of Ljay's UI extensions (Search by Advisory Codes or editing thumbs for all series stored on your Tivo) and also Mikerr's enhanced Now Playing module. But it does seem a very stable and fast version of the Tivoweb project.

Combing back to the Highlights module a little while ago d33mb33 updated it to be compatible with TivoWebPlus 2.0, although said he hadn't fully tested it with it as he didn't use TivoWebPlus 2.0 himself.

Whilst TivoWebPlus 2.1 pretends it must also have modules written exclusively for it I have found that the version of Highlights that is compatible with TivoWebPlus 2.0 (the latest version of the module) also works perfectly under TivoWebPlus if you are prepared to make the following very small modification to the module as follows:-

1. Open the itcl file on the Tivo with a Linux text editor such as joe

2. Add the following line to the top of the module

variable compat 2.1.b3

3. Save and close the file.

4. Do a full reload of TivoWebPlus 2.1

The module is now ready to run and seems to work perfectly under TivoWebPlus 2.1 except for the Films section. This still works but seems to impose some intense load on the CPU of the computer as the fan runs all the time until you exit the films section of the module. To be honest this may also happen under Tivoweb 1.9.4 with the films section of the module.

Highlights seems to me to actually run faster under TivoWebPlus 2.1 than under Tivoweb 1.9.4 unless it is my imagination. So some of you who use TivoWebPlus 2.1 may want to give this a try with a version of highlights.itcl edited as shown above.

gyre
02-12-2009, 08:33 AM
I'm not seeing the icon that shows how many slots are currently occupied next to the series link url.

Have I borked something, or is www.tivohilights.com having problems?

Thanks.

-- gyre --

d33mb33
02-13-2009, 06:10 PM
Hi Gyre. Yes unfortunately I no longer run the tivohighlights server so need some alternate hosting space for some of the images. As soon as I get something arranged I will update the module.

Good to know there are still some people using this module. I retired my TiVo over a year ago now so no longer use it myself.

Pete77
02-13-2009, 06:43 PM
Good to know there are still some people using this module.

But of course. So long as people continue to use their Tivo and Tivoweb or TivoWebPlus then they will continue to use Highlights. Some of us are only vulnerable to the lure of technology that provides the greatest possible control over what we watch rather than giving us the ultimate visual quality in which to watch it.

I think there is probably a high correlation between those of us still using their Tivos and those of us who did not acquire them until late 2002 onwards when they were sold off at bargain prices. That is we are more budget conscious Tivo customers and the costs of upgrading television and tv recording hardware for the small benefit of HD viewing of some programs are still substantial. Also if you object to paying a Sky/Virgin sub then the amount of FTA HD content is still rather limited and so the case for upgrading to HD compatibility much reduced. Also nearly all other replacements for Tivo actually seem to have inferior program selection and manipulation functionality. I believe even Windows MCE only has a one week EPG instead of an up to three weeks one as Tivo does?

I retired my TiVo over a year ago now so no longer use it myself.

So what do you now record your television on and how have you replaced the functionality of Highlights program selection on that equipment?

Thanks for the great module by the way. Its really appreciated that you plan to now host the server elsewhere.:up:

gyre
02-13-2009, 07:41 PM
Hi Gyre. Yes unfortunately I no longer run the tivohighlights server so need some alternate hosting space for some of the images. As soon as I get something arranged I will update the module.

Good to know there are still some people using this module. I retired my TiVo over a year ago now so no longer use it myself.
I find this module incredibly useful. I've got sky+ downstairs for the kids as of today (can't say no to a free box, free dish and free install), but have moved my tivo and a freeview box upstairs which I continue to use this module on for my own benefit.

The icons you use for showing the slots free on a recording I do actually have on the tivo itself... I think I installed one of lj's funky modules which provides them.

-- gyre --

Pete77
02-14-2009, 01:22 AM
The icons you use for showing the slots free on a recording I do actually have on the tivo itself... I think I installed one of lj's funky modules which provides them.

Yes I also have LJ's enhanced utilities although something seems to have gone wrong somewhere as my httpd log (which records external access attempts over the web through my Cachecard) that is part of them no longer seems to work but I can't pinpoint why.

I also find this module incredibly useful although I only use it once every few weeks to track down new series that have started that I am unaware of.

BobBlueUK
02-14-2009, 12:29 PM
Hi Gyre. Yes unfortunately I no longer run the tivohighlights server so need some alternate hosting space for some of the images. As soon as I get something arranged I will update the module.

Good to know there are still some people using this module.Another long-term, happy Highlights user here. Thanks for continuing to look after the module even after you've moved on from TiVo's pastures, much appreciated! :up:

Hopefully a new UK model will lure you back to the TiVo fold some day... :)

d33mb33
02-16-2009, 04:04 AM
So what do you now record your television on and how have you replaced the functionality of Highlights program selection on that equipment?


Hi Pete. I'm using Windows MCE with two Xbox 360 extenders. My main reason for moving was picture quality.. the analog TiVo signal just doesn't look good enough on a 40"+ LCD. I can now feed it a 1080p signal from MCE and my graphics card upscales everything to this resolution. I also have it running twin tuners so conflicts etc aren't a problem anymore.

However MCE has it's own pains. It needs at least weekly maintenance to keep it running properly and lacks some of the excellent TiVo functionality such as suggestions. I haven't got a replacement for Highlights but there is scope to develop one through the MCE plugins framework.

If TiVo were to produce a HD model with twin tuners then I would be back in a flash despite my heavy investment in Microsoft.

Pete77
02-16-2009, 04:34 AM
Hi Pete. I'm using Windows MCE with two Xbox 360 extenders. My main reason for moving was picture quality.. the analog TiVo signal just doesn't look good enough on a 40"+ LCD. I can now feed it a 1080p signal from MCE and my graphics card upscales everything to this resolution. I also have it running twin tuners so conflicts etc aren't a problem anymore.

Ok so this sounds to me like a Freeview setup (unless it is a twin digital satellite tuner Freesat one). But surely if ultimate picture quality was your goal then either Sky HD or Freesat would have been the way to go for now rather than MCE and Freeview? Obviously HD is coming to DTT though in due course, subject to the purchase of new hardware.

However MCE has it's own pains. It needs at least weekly maintenance to keep it running properly and lacks some of the excellent TiVo functionality such as suggestions.

So precisely as I feared then. Whereas apart from the minor annoyance of losing Suggestions for a few months before they returned (no other platform has them anyway) and the recent short term hassle caused by Sky's unannounced implementation of Auto Standby my Tivo box can run for months at a time with no maintenance required (especially if one avoids the over zealous use of Keep Until I Delete).

I will go to HD in the end but as one not prepared to pay a long term subscription to the Murdoch empire I do not feel the rather small quantity of FTA HD programming now available on BBC HD and ITV HD (but notably still not on C4 HD) justifies the loss of Tivo functionality.

My sister has just got Sky HD (the single tuner problem was always a killer with her ever getting Tivo in a multi person household with two children) and whilst I could notice extra detail in the pictures on BBC HD (especially Jonathan Ross show which must be using some of the latest and most expensive HD filming equipment) and National Geographic HD it was only at a certain distance from the screen and full on to the screen that it was really noticeable and it was a very small improvement in the viewing experience indeed compared to the massive uplift that occurred in our family home in about 1971 when my parents first got a colour tv to replace the black and white 425 line set. There was also a movie showing on C4 HD that was clearly upscaled rather than being filmed in HD and I must say that was distinctly underwhelming. Of course my sister only has a two year old 32" LCD Panasonic widescreen and no doubt things would have been more impressive on the latest 50" Panasonic Plasma.

But to go the HD route now I have to spend well over £1,000 and lose Tivo functionality only to find the goal posts on HD will shift quite a lot again in the next year or two.

Ultimately I suppose there is quite a difference in viewpoint between those here who got Tivo on Day one regardless of the high cost (the ultimate early adopters) and those of us who got it a couple of years later when big price reductions made it a more affordable form of technology.........

d33mb33
02-16-2009, 01:56 PM
Ok so this sounds to me like a Freeview setup (unless it is a twin digital satellite tuner Freesat one). But surely if ultimate picture quality was your goal then either Sky HD or Freesat would have been the way to go for now rather than MCE and Freeview? Obviously HD is coming to DTT though in due course, subject to the purchase of new hardware.

Yes, I am using dual freeview and the upscaled picture on channels that get decent bandwidth (e.g. BBC1) is far better than I ever got from my TiVo (with Mode 0). Remember that my MCE box is able to record the actual digital signal and not go through a digital -> analogue -> digital conversion like TiVo. Also there is a huge array of HD content available online that my MCE box can download and make available via the UI.


So precisely as I feared then. Whereas apart from the minor annoyance of losing Suggestions for a few months before they returned (no other platform has them anyway) and the recent short term hassle caused by Sky's unannounced implementation of Auto Standby my Tivo box can run for months at a time with no maintenance required (especially if one avoids the over zealous use of Keep Until I Delete).


Yes, this is one thing I really miss about TiVo. The other half picked TiVo up instantly and I rarely got phone calls saying that xyz hasn't recorded. MCE on the other hand gets it right more often then not but we will generally have an "incident" once a week or so where something will go awry.


But to go the HD route now I have to spend well over £1,000 and lose Tivo functionality only to find the goal posts on HD will shift quite a lot again in the next year or two.


You say that the goal posts will shift over the next year or two but I disagree. I purposely held back from HD whilst the 720p/1080p confusion sorted itself out and the HD-DVD/BluRay battle reached a conclusion. But I think now is a good time to move. The standards are set and prices are falling fast. Over Christmas, a Sony 40" LCD could be had with a BluRay player for less than £700. I paid double that just for a TV 18 months ago. The only new hardware I think I'll need to buy over the next two years will be a Freeview HD card.

cashew1970
02-19-2009, 02:41 AM
Hi.... anither happy user here..... but would love to have the images back that were hosted on www.tivohilights.com

Cheers
Martin

d33mb33
02-19-2009, 01:09 PM
Hi all. New release available from the first post. I have moved images to a different web host. Many thanks to gyre for giving it a once over.

# 1.09 24/12/07 d33mb33 - Changed RadioTimes IP address
# 1.10 29/03/08 d33mb33 - Fixed HTTP HOST header and DigiGuide IP address (thanks Crozati)
# 1.11 15/02/09 d33mb33 - Changed image host and url. Disabled image upload

Tintop2K
02-19-2009, 03:21 PM
Thanks for updating this. It's the most useful module I've got in my Tivo Web :)

Pete77
02-19-2009, 04:34 PM
The new version works fine under Tivoweb v1.9.4 on my Tivo but the slot free icons do not appear under TivoWebPlus v2.0.1 ("variable compat 2.1.b3" needs to be added to the top line of the module file for it to work at all) although the module otherwise works fine and graphics appear and programs can be selected to record.

I don't know exactly what works differently about icon presentation in TivoWebPlus v2.0.1

d33mb33
02-19-2009, 06:00 PM
What image/s is it looking for Pete?
You should be able to right click the link and get properties

cashew1970
02-20-2009, 02:13 AM
Fantastic... thanks for your continued support guys :-)

Pete77
02-20-2009, 03:52 AM
What image/s is it looking for Pete?
You should be able to right click the link and get properties

The "Episode Link" for today's Eastenders in the Radio Times tv section points to:-

http://192.168.0.4:443/showing/3729344/138

The slot free icon link just doesn't seem to be shown at all under TivoWebPlus 2.1.0 I suppose that could be because I don't have the relative images in the images sub-directory of TivoWebPlus 2?

d33mb33
02-20-2009, 04:10 AM
TivoWebPlus uses it's own images. If they are missing on your TiVo then that explains it. In my last post I meant the image link (sorry) which is probably showing as a red x or something.

Pete77
02-20-2009, 04:28 AM
TivoWebPlus uses it's own images. If they are missing on your TiVo then that explains it. In my last post I meant the image link (sorry) which is probably showing as a red x or something.

There is no red x etc, there is just no sign of the button images or any links to them at all.

I tried uploading what seemed to be the missing button images from my TivoWeb images directory to the TivoWebPlus images directory and fully restarted it but unfortunately it didn't help.

lucy_t
02-22-2009, 06:10 PM
Thanks for this module, running in 1.9.4 but the latest version of tivowebplus does not want to play so I won't use it :-)

Pete77
02-22-2009, 06:42 PM
Thanks for this module, running in 1.9.4 but the latest version of tivowebplus does not want to play so I won't use it :-)

Just edit the copy of highlights.itcl that you put in the /var/hack/TivoWebPlus/modules directory with joe or a similar Linux text file editor and add the statement variable compat "2.1.b.3" to the top of the file (without any # in front of it) and the module now works fine in TivoWebPlus 2.1.0 other than that it does not display the Slot Free pie chart type icons (not necessary to successfully set recordings).

lucy_t
02-23-2009, 02:15 PM
Thanks for your advice, had a go but no joy...

Made the change in highlights.itcl in location /var/hack/TivoWebPlus/modules:

# 1.11 15/02/09 d33mb33 - Changed image host and url. Disabled image upload

############################################################ ####
# GENERAL PROCS
############################################################ ####
variable compat "2.1.b.3"

but get the following feedback launching tivoweb console...

Using data dir /var/hack/TivoWebPlus/
Starting TWP pid=394
------============------ Loading ------============------
TivoWebPlus - v2.1.b3 2.1.b3 (oztivo-090121)
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'docs/copyright' and 'docs/index.html' files for copyright and credit information.
Loading libs...
btutils,html,http,index,rec,sendkey,sendkeyavail=1
timezone,ui,util,TimeZone: GB
-running init_channelList--- completed in 1 seconds
-running init_logoindex--- completed in 0 seconds
-running init_sp_cache--- completed in 0 seconds


Loading modules...ChannelMap,backup,channelgrid,channelprefs,chanpre f,confirm,confresManual,extract,folders,gallery,gdchecker,hi guide,info,livetv,logos,logs,mail,manrec,menus,mfsbrowser,ne tconfig,norerecord,phone,preferences,reorder,resources,rowfo rmat,rss,screen,screentext,search,sysadmin,theme,thumbs,todo _old,todofeed,ui_channel,ui_compat,ui_deletedshows,ui_histor y,ui_listings,ui_nowshowing,ui_record,ui_search,ui_season_pa ss,ui_series,ui_showing,ui_todo,update,webremote,whatson,wis hlists,
--Warning: The following modules are incompatible with this version of TWP
highlights,
--Info: The following modules won't be loaded, they may be disabled or rely on an unavailable feature (e.g. events or sendkey)
cidrss,cvsupdate,folderize,merge,mrv,

- [23/Feb/2009:19:09:35] saving module.cache
Building menus...
Loading completed in 10 seconds
Attempting to open port 80
Accepting Connections
- [23/Feb/2009:19:09:35] saving dyncfg.cfg
Preload Favs done

What have I screwed up?

L

Pete77
02-23-2009, 02:30 PM
What have I screwed up?

You didn't make the additional statement the first line in the itcl file. It has to be the first line and not several lines down after other text.

Also can I presume you edited it using a Linix file editor such as Joe (on the Tivo) or Programmer's File Editor (on your PC) and not using Notepad?

lucy_t
02-23-2009, 02:35 PM
pushed the line up to the top and I did use gedit on Ubuntu to edit the file not joe, will that be a prob as it's not working, getting 404 error but the module does appear in the header of TWP?

L

Pete77
02-23-2009, 02:43 PM
Sorry my mistake.:o

The phrase should be variable compat "2.1.b3"

That is including the quote marks shown and with no stop between the b and the 3

Pete77
02-23-2009, 02:47 PM
Did you also see all the various hacks and add ons for Tivoweb that I listed in response to your post in the other thread at:-

www.tivocommunity.com/tivo-vb/showthread.php?p=7089510#post7089510

lucy_t
02-23-2009, 02:49 PM
Super, I now get the first page and can pass episode links through sucess fully. The only tinsy wincy prob is I can't load any other page. I keep getting:

-------INTERNAL SERVER ERROR------ --cut here--action:highlights, path:, env:gtype tv gday 01, code:'NONE'
invalid command name "gtype"
while executing
"gtype tv gday 01"
("eval" body line 1)
invoked from: "eval $env"
(procedure "MOD::action_highlights" line 21)
invoked from: "$cmd $chan $path $env"
--cut here--

Pete77
02-23-2009, 02:55 PM
Super, I now get the first page and can pass episode links through sucess fully. The only tinsy wincy prob is I can't load any other page. I keep getting:

-------INTERNAL SERVER ERROR------ --cut here--action:highlights, path:, env:gtype tv gday 01, code:'NONE'
invalid command name "gtype"
while executing
"gtype tv gday 01"
("eval" body line 1)
invoked from: "eval $env"
(procedure "MOD::action_highlights" line 21)
invoked from: "$cmd $chan $path $env"
--cut here--

Have you done a Full Reload of TivoWebPlus since editing the module though?

If that doesn't work try a full reboot of the Tivo as both Tivoweb 1.9.4 and TivoWebPlus 2.0.1 do tend to mess up until after a full reboot if they have an error condition.

lucy_t
02-23-2009, 03:00 PM
will do and thanks for the other post and your time and help, AGAIN!!!

plenty to do so i'll be back later.

L

d33mb33
06-22-2009, 07:18 PM
Unfortunately all good things come to an end and I have sold my TiVo to a fellow forum member. This means that I am unable to support the Highlights module going forward.

Thanks to all those who have contributed changes, fixes and suggestions over the last few years. I got some good use out of the module and I hope you did too.

If any able programmer/hacker wants to take responsibility for maintaining the code then I would be happy to keep this thread alive and post revisions to the module on the first page of the thread.

:)

Pete77
06-29-2009, 06:57 AM
If any able programmer/hacker wants to take responsibility for maintaining the code then I would be happy to keep this thread alive and post revisions to the module on the first page of the thread.

If any able TCL hacker is able to make any necessary revisions to the module as and when Digiguide or Radio Times change the format or the IP addresses of their pages then I for one would certainly appreciate it.

Are there any such persons who are subscribed to this thread and still using this module?

cwaring
06-29-2009, 11:51 AM
I presume that would come under the banner of "maintaining the code", Pete. So a complete waste of a post there the; just to put your two-penneth in ;)

Pete77
09-06-2009, 09:36 AM
Digiguide Tv no longer seems to work, even though the Radio Times stuff is still working fine.

Does anyone have any suggestions on the likely causes here?

Rob Randall
09-06-2009, 12:13 PM
The IP address for library.digiguide.com has changed. You need to edit highlights.itcl and change this line

set web [socket 89.234.33.26 80]

to

set web [socket 83.170.96.223 80]

It's now working on mine after this change.

Pete77
09-06-2009, 12:28 PM
You need to edit highlights.itcl and change this line

set web [socket 89.234.33.26 80]

to

set web [socket 83.170.96.223 80]

It's now working on mine after this change.

Thanks Rob. I don't suppose there is any chance that d33mb33 could update the itcl in the first post to take this very simple change on board. Alternatively could ozsat edit the thread so that the first post belongs to someone who still uses the module and who is therefore willing to update the itcl so far as it is within the capabilities of themselves and/or any other participants in the thread who also still use the module?

d33mb33
09-10-2009, 04:15 PM
Updated :-)

Pete77
09-11-2009, 05:24 AM
Updated :-)

Thanks very much d33mb33.

I hope you are still enjoying your tv watching in your now Tivoless world.

Typh-X
12-27-2009, 09:03 AM
Just installed this module but I'm having trouble with joint BBC1 and BBC HD listsings

If its BBC1 only its fine as it seems to map to BBC1SE no problem, or if it's joint BBC2 and BBC HD, again its fine as it finds listing on BBC2. So I'm guessing the fact that it needs to map BBC 1 to BBC1SE on Virgin is how it becomes confused.

I tried adding

if {[string first "BBCHD" $channel] == 0} { return [list $channel "BBC1SE"] }

to the hardcoded section both with BBC HD and BBCHD to no avail, again I'm guessing that the earlier bbc format change is effecting things

exampled here - (not enough posts to embed) www[dot]typhoid-x.co.uk/examplehighlights.jpg

Raisltin Majere
01-02-2010, 11:54 AM
Super, I now get the first page and can pass episode links through sucess fully. The only tinsy wincy prob is I can't load any other page. I keep getting:

-------INTERNAL SERVER ERROR------ --cut here--action:highlights, path:, env:gtype tv gday 01, code:'NONE'
invalid command name "gtype"
while executing
"gtype tv gday 01"
("eval" body line 1)
invoked from: "eval $env"
(procedure "MOD::action_highlights" line 21)
invoked from: "$cmd $chan $path $env"
--cut here--

Me too, did you fix it Lucy?

Pete77
03-08-2010, 07:06 PM
I notice a lot of the links to the Tivoweb pages for the Digiguide Tv part of the module no longer seem to work. The Radio Times Tv section is better but there are still some broken links. Does anyone here have the know how to fix this?

lloyd
04-01-2010, 04:51 AM
Hi

I've just reinstalled the latest version of this, having not used it for a long time. However I seem to have two issues:

1. I keep getting 'Stack Overflow at Line 0' error messages, usually when searching films.

2. The site where the images are usually hosted seems to be unavailable (http://d33mb33.webng.com). Does anyone have the images or an alternative site?

Thanks

lloyd
04-04-2010, 05:04 AM
After writing my last post I found another problem. For programs starting on the hour the module could not parse the time. I have sorted this out (I think, only minimal testing so far) - I could post my code changes if there is interest.

Going back to ny previous errors, I think both could be related to the missing image server. Does anyone know the status of this? I know it supplied both the icon images and the images for films. Simply having the former would be a major step forward.

Lloyd

Pete77
04-04-2010, 06:13 AM
After writing my last post I found another problem. For programs starting on the hour the module could not parse the time. I have sorted this out (I think, only minimal testing so far) - I could post my code changes if there is interest.

Agreed that the parsing problem now applies for a large number of listed recordings by the Highlights moduel. I suppose it is when they start on the hour but obviously a lot of programs do.

Going back to ny previous errors, I think both could be related to the missing image server. Does anyone know the status of this? I know it supplied both the icon images and the images for films. Simply having the former would be a major step forward.

I thought mikerr had taken over the hosting of the slot free images but going back to posts #321, #333 and #348I can only find evidence that d33mb33 has moved them from one hosting server to another and he then made a later post saying he could no longer support the module.

Given his continuing interest in selling a Tivo upgrading service mikerr (aka www.tivocentral.co.uk) has normally been good enough to provide support for such frontline Tivo modules when the original developer has moved on to other things.

lloyd
04-04-2010, 06:50 AM
Agreed that the parsing problem now applies for a large number of listed recordings by the Highlights moduel. I suppose it is when they start on the hour but obviously a lot of programs do.

Problem is when programs start on the hour. The change I have made, which seems to work is as below:

# Test to see if we are parsing an am|pm time or a 23:59 type time


if {[regexp {(am|pm|noon)} $rtTime]} {
# If there is a colon, then time is of the form 9:15pm
if {[regexp {[^:]+:} $rtTime]} {
# am|pm format
set parseTime [regexp {([0-9]+)[:|\.]([0-9]+)([ap]m)} $rtTime junk hours mins ampm]
# If we are unable to parse the time then return 0
if {$parseTime == 0} { return 0 }
} else {
# must be of the form 9pm
set parseTime [regexp {([0-9]+)([ap]m)} $rtTime junk hours ampm]
set mins 0
# If we are unable to parse the time then return 0
if {$parseTime == 0} { return 0 }
}
# If the show is at midnight then it is actually the next day
if {($hours == 12) && ([string compare $ampm "am"] == 0)} { set prgdate [expr $prgdate + 1] }
# Set the program time
set prgtime [expr ($hours * 3600) + ($mins * 60)]
if {([string compare $ampm "pm"] == 0) && ($hours != 12)} { set prgtime [expr $prgtime + 43200] }

} else {
# 23:59 format
set parseTime [regexp {([0-9]+)[:|\.]([0-9]+)} $rtTime junk hours mins]
# If we are unable to parse the time then return 0
if {$parseTime == 0} { return 0 }
# Set the program time
set prgtime [expr ($hours * 3600) + ($mins * 60)]
}

and this is original (v1.12) for comparison
if {[regexp {(am|pm|noon)} $rtTime]} {

# am|pm format
set parseTime [regexp {([0-9]+)[:|\.]([0-9]+)([ap]m)} $rtTime junk hours mins ampm]
# If we are unable to parse the time then return 0
if {$parseTime == 0} { return 0 }
# If the show is at midnight then it is actually the next day
if {($hours == 12) && ([string compare $ampm "am"] == 0)} { set prgdate [expr $prgdate + 1] }
# Set the program time
set prgtime [expr ($hours * 3600) + ($mins * 60)]
if {([string compare $ampm "pm"] == 0) && ($hours != 12)} { set prgtime [expr $prgtime + 43200] }

} else {
# 23:59 format
set parseTime [regexp {([0-9]+)[:|\.]([0-9]+)} $rtTime junk hours mins]
# If we are unable to parse the time then return 0
if {$parseTime == 0} { return 0 }
# Set the program time
set prgtime [expr ($hours * 3600) + ($mins * 60)]
}

Pete77
04-04-2010, 12:12 PM
Good work lloyd. However the problem seems to afflict Digiguide recordings much more than it affects those on the Radio Times site. Originally recordings starting on the hour were OK so obviously something changed somewhere on the two website.

Hopefully if d33mb33 sees your suggested solution code he can update the module attached to Post 1 of the thread.

lloyd
04-04-2010, 01:19 PM
Pete

It's only the Digiguide data that I've had a problem with, and my fix above sorts that out. I have no problems with parsing time now (only have the missing images).

Lloyd

Rob Randall
04-12-2010, 05:57 PM
The highlights module on my TiVo is loading film images okay, but it's loading them from the tivotivo.com domain and not d33mb33.webng.com as quoted in this thread. This was where mikerr moved the images some time back when the d33mb33 webspace became unavailable.

I presume I manually edited the module to use this different domain. This is the line that is changed on my TiVo -
set gserverurl "http://tivotivo.com/"

Hope this helps

Pete77
04-12-2010, 08:30 PM
The highlights module on my TiVo is loading film images okay, but it's loading them from the tivotivo.com domain and not d33mb33.webng.com as quoted in this thread. This was where mikerr moved the images some time back when the d33mb33 webspace became unavailable.

I presume I manually edited the module to use this different domain. This is the line that is changed on my TiVo -
set gserverurl "http://tivotivo.com/"

I do appreciate that d33mb33 no longer uses this module himself but I'm sure it would still be greatly appreciated if he could update the module at the start of the thread to incorporate the changes provided by other members to fix the problems parsing data for programs that start on the hour and to also take on board the new location of the image server for the Highlights module.

mikerr
04-13-2010, 04:26 AM
I wondered why my updated version with working film images wasn't here, then realised it was buried in a different thread,
so I'm copying it here into this thread below.

Here it is:



Highlights Module:

Install:
Copy to your tivoweb modules directory as normal,
and reload tivoweb.
You'll also have to click on "options/clear cached shows" on the highlights module page if you've used it before.

Version History:

v1.14

added lloyd's time format fix (for digiguide)
day links also shown at bottom
version number fixed (doh!)

v1.13:

-changed webserver it uses for images to tivotivo.com
-webserver automatically finds thumbnails from imdb (90% of the time!)
-added IMDB links for films

Pete77
04-13-2010, 04:41 AM
I wondered why my updated version with working film images wasn't here, then realised it was in a different thread,
so I'm copying it into this thread where where it should be:

Mike,

Does your latest amended version of the Highlights module also include lloyd's above fixes, or alternatively any fixes of your own, to deal with the time parsing problem for any programs that start on the hour?

mikerr
04-13-2010, 05:37 AM
It does now (v1.14) ;)

Pete77
04-13-2010, 06:40 AM
It does now (v1.14) ;)

I see that as always the post edit button remains an extremely powerful forum feature;):p

However many thanks indeed for saving me the bother of all that FTP'ng too and fro and then also using Programmer's File Editor (or similar Unix text format file editor) on my PC to achieve the same outcome. And of course for also doing the same for all other UK Tivocommunity forum members who use this application.:):up:

All we need now is for d33mb33 to make your updated version of the module the one also available in Post 1 of this thread to avoid any unfortunate mistakes by those who may wrongly assume that a Post 1 Tivoweb module will always be its most up to date incarnation.

Trinitron
04-13-2010, 08:27 AM
Well done Mike :cool:.

If Carl Waring is watching, I see he has some posts on page 1. He could copy the updated module to one of those, if the OP is no longer around?

cwaring
04-13-2010, 08:33 AM
The OP is still around; "Last activity: 04-09-2010 07:28 PM". (Yes, US format date!) So I'll leave it to him. I have sent him a PM :)

Trinitron
04-13-2010, 08:40 AM
Well spotted Carl.

PS to Mikerr: I find it helpful to repeat the day links at the bottom of the page to save scrolling up to select a different day. I've done this by copying the line puts $chan [tr "ALIGN=CENTER" [td "colspan=3" "<b>[getDayLinks]</b>"]]
before the html_table_end line.

d33mb33
04-13-2010, 08:59 AM
Well done to those involved in keeping this alive!

First post updated.

lloyd
04-13-2010, 01:14 PM
Thanks everyone. That has solved my problems. :)

IainJH
04-13-2010, 04:06 PM
thanks from me too!

Iain

digitaria
04-15-2010, 05:12 AM
I have installed 1.14, but it says 1.13 at the bottom of the display. Looks like the gversion global variable has been left at 1.13 in the above download.

Great module, thanks to all those responsible for it. :up:

mikerr
04-15-2010, 05:52 AM
I forgot the gversion variable :o - it's updated in the post above now ;)

No functional differences though, so no urgent need to redownload it.

Pete77
04-15-2010, 06:02 AM
Everything now seems to be working ok apart from the odd image in the Films section of the module that does not appear? Perhaps there isn't one for these films in the IMDB database?

mikerr
04-15-2010, 06:18 AM
Yup - click the affected film's imdb link in highlights and you'll see some have no thumbnail on imdb.

(That magic happens via a php script on tivotivo.com, not directly in the highlights module though).

cashew1970
04-17-2010, 03:33 AM
Aggrrrrr !!
Hi Guys...
I thought that I would update my current version with the new and improved...
I have downloaded, ftped (In Binary) to the modules directory, telnetted and chmod 755 the file.

I have fully rebooted, and restarted... and I cant get Highlights to appear on the page at all......

It was all there before.....

What am i doing wrong??? What can I do to get this back..

Kind Regards
Martin

Pete77
04-17-2010, 09:09 AM
It was all there before.....

What am i doing wrong??? What can I do to get this back..

Are you trying to use the Highlights module with TivoWebPlus 2.1 rather than with Tivoweb 1.9.4 or TivoWebPlus 1.3.1

If so try adding the line variable compat "2.1.b.3"
to the first line of the file using a Linux text file format compatible editor (not Word, Notepad etc) then restarting TivoWebPlus.

cashew1970
04-17-2010, 10:01 AM
Nope... definately 1.9.4... all was fine until i updated.... strange

Pete77
04-17-2010, 12:25 PM
I have fully rebooted, and restarted... and I cant get Highlights to appear on the page at all......

Have you tried a cold reboot by pulling the power plug?

cwaring
04-17-2010, 03:08 PM
I assume that's what he meant by "fully rebooted" but I could be wrong :)

Pete77
04-17-2010, 04:00 PM
I assume that's what he meant by "fully rebooted" but I could be wrong :)

I took "fully rebooted" as being the Tivo itself and "restarted" as being Tivoweb but it did not seem to be stated whether the "full reboot" was just one using Tivo's menus without pulling the power plug or one where the power plug was also pulled after restarting to the Powering Up screen and then waiting a couple of minutes before reapplying the power.

Having used Highlights for a long time under Tivoweb 1.9.4 I have not personally experienced it misbehave in this particular way.

cashew1970
04-19-2010, 04:23 AM
I have not pulled the plug yet.... Never had to in the past.......
I have restrted from the TivoWeb reload buttons... and the Hackman Killit button..

I will do the plug tonight and report back...
Thanksguys

cashew1970
04-21-2010, 11:58 AM
Unplugged..... and plugged back in... and the Bl**dy think will still not appear in the list... this really is driving me crazy now... I wish I had not tried to update!
Any other suggestions?

mikerr
04-21-2010, 01:01 PM
try downloading the zip file again ?

lloyd
04-21-2010, 01:02 PM
Unplugged..... and plugged back in... and the Bl**dy think will still not appear in the list... this really is driving me crazy now... I wish I had not tried to update!
Any other suggestions?

Aplogies if this is stating the obvious. Are you sure that the file is still called highlights.itcl, all in lower case? I suspect it must be, else you would not have overwritten your old version, but no harm in checking.

I would also check that you have the whole file. telnet in, cd to the modules directory and cat the file. It should end with:

register_module "highlights" "Highlights" "Browse and record the following week's highlights"


(and make sure your telnet prompt starts on a new line after displaying the file.)

Lloyd

d33mb33
04-21-2010, 06:34 PM
Please download the zip again from the first post. I have updated it again (thanks mikeerr). I think there was something wrong with the last one.

cashew1970
04-22-2010, 03:16 AM
Thanks all....
I have re-downloaded...
Extracted
FTPed in Binary to the Modules directory
Telnetted in... CHMOD 755 for good measure! CATed and got what lloyd said i should
Restarted Tivo Web
and performed the Hackman Reboot.....

Guess what.... still nothing in my list....... frustrating!!!!

Is there any form of log that I can check to see what is happening on loadup?
The only other thing that is fifferent with my system now since the last time i played is that I am now on Windows 7 (I use CoreFTP to FTP the files across)

mikerr
04-22-2010, 04:14 AM
Found the problem (and it's probably my fault ! )

There's a missing # from the line:
# - day links also shown at bottom
in the version at the top of this thread.

Download the one from post 367 above, or wait for d33mb33 to re-upload it.

cashew1970
04-22-2010, 07:27 AM
Mikerr.... you are my hero!!.... thanks so much... all sorted and back up and running

d33mb33
04-22-2010, 06:19 PM
Fixed the issue with the file at top of thread. Probably a copy and paste gremlin I did. Sorry all.

cashew1970
11-04-2010, 01:40 PM
Is anyone else having issues with this post the BST to GMT changes last weekend? All of mine are putting links into other shows, or just not finding the links at all.
I sure it is an easy fix.... but I really do not know what I am doing!! ;-)

Martin

AMc
11-05-2010, 05:56 AM
No problems, but a full reload of Tivoweb or failing that a full restart of Tivo will probably fix it!

cashew1970
11-10-2010, 05:36 AM
full reload did indeed do the trick... amny thanks

pemills
11-10-2010, 07:04 PM
I have just read and re-read the thread about the tivoweb module 'Highlights' but I am getting the following error;

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
couldn't open socket: network is unreachable
while executing
"socket 78.136.19.14 80"
(procedure "getRTShowsFromWeb" line 5)
invoked from within
"getRTShowsFromWeb "/${gtype}highlights/""
(procedure "getShows" line 11)
invoked from within
"getShows"
(procedure "::action_highlights" line 41)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

I checked comments made in the thread about restarting TiVo web which I have done more than twice now, have tried re-booting the TiVo but I am still getting the same error come up, any ideas guys as to what I am doing wrong or what's going wrong?????

pemills
11-10-2010, 07:33 PM
I have just re-checked the thread and I see there has been a few mods made to the original module, can anyone tell me where I can fine THE latest Highlights module.

Thanks

Peter

Trinitron
11-11-2010, 03:21 AM
The version in post 1 is the current one - 1.14

Paul_J
12-18-2010, 07:08 PM
I am also getting the following error

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
couldn't open socket: network is unreachable
while executing
"socket 78.136.19.14 80"
(procedure "getRTShowsFromWeb" line 5)
invoked from within
"getRTShowsFromWeb "/${gtype}highlights/""
(procedure "getShows" line 11)
invoked from within
"getShows"
(procedure "::action_highlights" line 41)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

I think I may have an issue with my network settings as I also cannot get the auto hack install module to work It cannot find the remote server. Is there somwhere I need to set the gateway address in the tivo. or modify some other netwok setting

stock
12-23-2010, 01:32 PM
I'm not getting any highlights listings for Digiguide anymore although Radio Times is still working normally.

Anyone else having the same problem?

digitaria
12-23-2010, 02:35 PM
Yes - same issue here. It's been like that for a while - maybe 2 weeks?

cashew1970
12-24-2010, 05:07 AM
Same here... for at least a week......

mikerr
12-24-2010, 06:53 AM
The url has changed from http://library.digiguide.com to http://library.digiguide.tv
and the HTML format of the page has changed too, so the web scraping code will need updating

[edit]
It's now all working:

Highlights
v1.18:
Changes:
# 1.18 06/01/11 mikerr - fixed issue with film titles containing '&'
# 1.17 30/12/10 - fixed an error on options page,
- faster server side processing for the films section,
- more options for film year and rating
# 1.16 24/12/10 - updated the radio times code
# 1.15 24/12/10 - updated digiguide HOST header and HTML scraping

stock
12-24-2010, 08:57 AM
Thanks Mike

Top work as per usual :)

pemills
12-24-2010, 10:34 AM
I still can't get this module to work, I get the following error

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
couldn't open socket: network is unreachable
while executing
"socket 78.136.19.14 80"
(procedure "getRTShowsFromWeb" line 5)
invoked from within
"getRTShowsFromWeb "/${gtype}highlights/""
(procedure "getShows" line 11)
invoked from within
"getShows"
(procedure "::action_highlights" line 42)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

anyone got a thought as to how to sort this?? also there was a mention of updating the scraping URL!! how and where is this to be found?

mikerr
12-24-2010, 11:04 AM
Sounds like you haven't got your default gateway (router address) set correctly on your tivo.

type nic_config_tivo at a telnet prompt to fix it.

also there was a mention of updating the scraping URL!! how and where is this to be found?
That's just a note of what's changed in the code - download v.1.15 and all should be well.

digitaria
12-24-2010, 12:08 PM
Working here too. Thanks Mike.

RichardJH
12-24-2010, 12:30 PM
Working here too. Thanks Mike.:)

pemills
12-24-2010, 01:59 PM
I have 5 TiVo's with Cachecard's set to update over the network and they all work so I would guess the gateway ip address is correct as is the individual TiVo ip addresses, I have downloaded the latest Highlights module and FTP'd that accross (in binary mode) to the TiVo's so I can't see what else there is to do or check.

mikerr
12-24-2010, 02:09 PM
That message means the tivo can't access 78.136.19.14

Does ping 78.136.19.14 give the same message "unreachable" ?

Could be your firewall blocking outgoing requests from tivo - but that would also block daily calls...

pemills
12-24-2010, 02:16 PM
If I ping the address 78.136.19.14 I get a reply with an average 34ms round trip

mikerr
12-24-2010, 02:23 PM
So your gateway is ok, but your firewall may be blocking port 80 (web traffic) from your tivo ?

Try: http_get -T 0 -C 0 -D . -U http://64.235.229.106:80/install at telnet prompt

pemills
12-24-2010, 03:55 PM
Sadly that command line does not seem to work, the message I get back is 'http_get' is not recognised as an internal or external command, operable program or batch file. I typed in what I read as "http_get -T 0 -C 0 -D . -U http://64.235.229.106:80/install but could not be 100% sure if the O's were zero's or not?

mikerr
12-24-2010, 04:12 PM
" not recognised as an internal or external command, "
- that's a windows/dos error message, you should be typing it at a tivo bash prompt (%)


cmd
telnet 192.168.1.200
http_get -T 0 -C 0 -D . -U http://64.235.229.106:80/install
ping 78.136.19.14

pemills
12-24-2010, 04:37 PM
Hi Mike, I think I have got to the bottom of it, one of the TiVo's, my main 'test tivo' is connected to the network via a ethernet over power adaptor and seems to be a bit erratic, I now have four of the five tivo's returning highlights although some are reporting that they cannot find some of the channels such as BBC1 as my tivo knows only BBC1east it say's "Unable to find channel (BBC1, BBC1 HD)"

Peter

mikerr
12-24-2010, 04:44 PM
I now have four of the five tivo's returning highlights although some are reporting that they cannot find some of the channels such as BBC1 as my tivo knows only BBC1east it say's "Unable to find channel (BBC1, BBC1 HD)
I'm getting that too - it's not the regions, the code is expecting a single channel name, not two channels "BBC1, BBC HD" which the radio times is now putting on their website:
http://www.radiotimes.com/tvhighlights/
...they're also calling "Five" "Channel 5" which confuses the tivo...

pemills
12-24-2010, 04:47 PM
another thing just found is it has lost the gateway address and has defaulted back to 192.168.1.1, has done this several times but cannot see why as the other four behave quite well

pemills
12-24-2010, 04:58 PM
ooo...errrrr for some reason the TiVo is refusing to accept the gateway ip address I need it to be 192.168.2.1 now tried it five times and each time I go back into the config it's reset back to 192.168.1.1 any ideas??

mikerr
12-24-2010, 06:49 PM
Two releases in one day - just!
..1.16 is uploaded above (post #406)
fixes various issues with the radio times listings (BBC1 HD, Channel 5, "from 8pm" etc)

pemills
12-24-2010, 08:22 PM
Mike, 1.16 works a dream, just need to find out why one of my TiVo's refuses to set the gateway at 192.168.2.1 like I ask it to.

Merry Christmas

cashew1970
12-27-2010, 05:55 AM
Cheers for the updates..... I am able to get highlights sporadically... i get the errors below when i go to the options secion
INTERNAL SERVER ERROR
--cut here--
action_highlights '' 'set "gtype" "options";set "gday" "01";set "gminrating" "5";set "gminyear" "0";'
extra characters after close-quote
while compiling
"regsub -all "\"" $str "\\"" str..."
(compiling body of proc "escapeXml", line 5)
invoked from within
"escapeXml $gtivourl"
(procedure "writeOptionsHtml" line 15)
invoked from within
"writeOptionsHtml $chan"
(procedure "writeHighlightsHtml" line 25)
invoked from within
"writeHighlightsHtml $chan $shows $timer"
(procedure "::action_highlights" line 50)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

But all else is working OK......
Is this down to the gateway too?

Martin

pemills
12-27-2010, 06:49 AM
Hi Martin, this message is beyond me but I am sure someone out there will have an answer, I am still battling as to why one of my TiVo's refuses to set the gateway address to what I am instructing it to by using nic_config_tivo most perplexing

Peter

mikerr
12-30-2010, 09:18 AM
@Cashew1970: Fixed the error on the options page (not sure how long that's been there?!)


Changes:
# 1.17 30/12/10 - fixed an error on options page,
- faster server side processing for the films section
- more options for film year and rating
# 1.16 24/12/10 - updated the radio times code
# 1.15 24/12/10 - updated digiguide HOST header and HTML scraping

I am still battling as to why one of my TiVo's refuses to set the gateway address to what I am instructing it to by using nic_config_tivo most perplexing /sbin/route.tivo add default gw 192.168.2.1 netmask 0.0.0.0 would set the gateway until the next reboot,
or if you're brave you could edit /etc/rc.d/rc.net directly....

pemills
12-30-2010, 11:02 AM
Thanks Mike, I have had a look at the rc.net file and it has just these lines in it, no mention of a gateway!!

#
#!/bin/sh
#

if /sbin/insmod -f /lib/modules/turbonet2.o devicename=eth1 macaddr=00:0B:AD:80:1F:AF ; then
/sbin/ifconfig eth1 192.168.2.50 netmask 255.255.255.0 up
fi


Will check out one of the other working TiVo's to see what they have got, maybe if they are different I could copy the script over?

pemills
12-30-2010, 11:22 AM
Mike, not sure about the 'brave' comment but I have modified the rc.net file but I can't seem to save it back to the TiVo via my FTP prog (FlashXP) seems to work fine with everything else that I have copied across but not this file, could it be locked as the network card is accessing it?

pemills
12-30-2010, 11:52 AM
Tried the command line you suggested, from a bash prompt, but although that did seem to do something, no error messages, I rechecked with nic_config_tivo and the gateway is still set to 192.168.1.1 !!

pemills
12-30-2010, 08:33 PM
The url has changed from http://library.digiguide.com to http://library.digiguide.tv
and the HTML format of the page has changed too, so the web scraping code will need updating

[edit]
It's now all working:

Highlights
v1.17:
Changes:
# 1.17 30/12/10 - fixed an error on options page,
- faster server side processing for the films section,
- more options for film year and rating
# 1.16 24/12/10 - updated the radio times code
# 1.15 24/12/10 - updated digiguide HOST header and HTML scraping

Updated the latest Highlights.itcl module but I am now not getting any accompanying graphics with the suggested highlights, 1.16 seemed to work fine but this version not so.

mikerr
12-31-2010, 05:25 AM
Thanks Mike, I have had a look at the rc.net file and it has just these lines in it, no mention of a gateway!!

#
#!/bin/sh
#

if /sbin/insmod -f /lib/modules/turbonet2.o devicename=eth1 macaddr=00:0B:AD:80:1F:AF ; then
/sbin/ifconfig eth1 192.168.2.50 netmask 255.255.255.0 up
fi
nic_config_tivo just auto-edits that file.
Will check out one of the other working TiVo's to see what they have got, maybe if they are different I could copy the script over?
Doing that would set both TiVos to the same ip address - the ifconfig line is what sets the TiVo's ip address on startup

Your TiVo is set to eth1 (not eth0), with no default gateway,
then its probably set to daily call over phone line, not ethernet.

Change the daily call from dialup to network in nic_config_tivo


The highlights module is one of the very rare modules that require the TiVo to have correctly configured internet access.

pemills
12-31-2010, 07:14 AM
Mike, thanks for the info, I didn't think that the dial-up/network option would interfere with setting the gateway, I guess you learn something new everyday.

I have also re-loaded the highlights module and they all seem to be working 100%, more than likely an operator error this end :-)

d33mb33
01-01-2011, 06:18 AM
Just popped by and saw that the module has moved on a bit. Good work!. I have updated the first post to 1.17.

Pete77
01-01-2011, 08:37 AM
Just popped by and saw that the module has moved on a bit. Good work!. I have updated the first post to 1.17.

Happy New Year d33mb33 and thank you for continuing to update Post 1 of this thread when required even though you are not yourself any longer using either this module or a Tivo.

mikerr
01-01-2011, 08:50 AM
[Hello iPhone users!]

The Radiotimes TV section (programmes) doesn't show pictures on an iPhone
because the Radio Times are redirecting images to a page trying to sell their £2.99 iPhone app...

Therefore iPhone users will have to visit this page at least once (on the iPhone) and click "no thanks"

http://www.radiotimes.com/html/2011/01/01/tv/03.jpg

pemills
01-02-2011, 04:01 AM
Happy New Year d33mb33 and thank you for continuing to update Post 1 of this thread when required even though you are not yourself any longer using either this module or a Tivo.

Hi Pete77, I see you use the dailymail module in Tivoweb, one of the TiVo's I have has this module but it's not set up correctly so I was wondering if you could let me know where I can find some set-up information so I can re-jig the script.

Cheers

Pete77
01-02-2011, 05:40 AM
Hi Pete77, I see you use the dailymail module in Tivoweb, one of the TiVo's I have has this module but it's not set up correctly so I was wondering if you could let me know where I can find some set-up information so I can re-jig the script.

Your issue should be mentioned somewhere in the main dailymail thread at:-

www.tivocommunity.com/tivo-vb/showthread.php?t=140252

Or if not you could always make a post asking for help with your problem there.

The author's official page for this module is also now back on line at:-

http://deepinthejungle.com/TiVo/DailyMail_Module.htm

pemills
01-02-2011, 06:18 AM
Hi Pete, after sending that last reply I did an extensive search of the forum and found the thread about the dailymail module, hacked it about a bit and now seems to work quite well although I now see there is a later version, the one currently installed is v0.35.6 and v1.1 is now out there, could I just substitute the old tcl file for the new or would I need to copy over more files or re-edit the cfg file?

Pete77
01-02-2011, 06:29 AM
Hi Pete, after sending that last reply I did an extensive search of the forum and found the thread about the dailymail module, hacked it about a bit and now seems to work quite well although I now see there is a later version, the one currently installed is v0.35.6 and v1.1 is now out there, could I just substitute the old tcl file for the new or would I need to copy over more files or re-edit the cfg file?

Probably best to make a post asking that question in the DailyMail thread as I don't know as I have not had any problems with my DailyMail for a couple of years and I think used v1.00 or v1.01 from the outset.

pemills
01-02-2011, 07:14 AM
Thanks, I will move this discussion over to the dailymail forum, thanks again for your help.
http://www.tivocommunity.com/tivo-vb/images/smilies/thumb-up.gif

Pete77
01-06-2011, 02:21 PM
Just popped by and saw that the module has moved on a bit. Good work!. I have updated the first post to 1.17.

The module in the first post has a date stamp for 30/12/2009!

Did you upload the wrong module or do you have the wrong date set on the computer you are using?

I see that Mike is actually the one who posted the file with the bad date and you merely perpetuated his error.

mikerr
01-06-2011, 03:56 PM
The module in the first post has a date stamp for 30/12/1999!Bizarrely the datestamp is in fact wrong (but 2009, not 1999!).

It doesn't affect anything functionally though - the version in both posts is 1.17 in any case.

Pete77
01-06-2011, 05:19 PM
Bizarrely the datestamp is in fact wrong (but 2009, not 1999!)

My error. I meant 31/12/2009. Now corrected in my post.

Surely there is nothing bizarre about it though. Somebody must have a computer with a date stamp on it that is one year old.

And it does actually matter as Filezilla etc all complain if you try to replace a newer file with what appears to be an older one.

BobBlueUK
06-16-2011, 06:09 PM
Does anyone have a version of this module that works with the current Digiguide website? When I click on the "Digiguide TV" link I Just get a blank screen these days... :(

Had a quick look at the TCL but didn't even know where to start trying to figure out how it works, let alone why it's broken! :confused: :eek:

Pete77
06-16-2011, 11:31 PM
Does anyone have a version of this module that works with the current Digiguide website? When I click on the "Digiguide TV" link I Just get a blank screen these days... :(

I suspect the module may also need a rework anyway to cope with finding the recording links for programs in the AltEPG rather than the Tivo/Tribune EPG.

Like you I have noticed that the Digiguide section of it is now no longer working even though the Radio Times and Films sections of the module continue to work fine with the Tivo/Tribune EPG.

mikerr
06-19-2011, 03:57 PM
Digiguide have changed the layout of their pages/website, breaking the code again
so I'm just rewriting it now, using the RSS feed...
[edit] argh, after completing that found the RSS feed doesn't have showing channels listed, so that's pointless!

mikerr
06-20-2011, 07:43 AM
Uploaded a new version with fixed digiguide code, grabbing from the html page.

If it doesn't show any programmes, goto highlights/ options / clear cached shows to clear out information stored by previous versions.


Version
1.19 20/06/11 mikerr - new digiguide scraping code

stock
06-20-2011, 01:33 PM
Thank you :up:

BobBlueUK
06-20-2011, 01:55 PM
Thanks very much Mike, new version works great... :up:

Love this module! :)

BobBlueUK
06-20-2011, 02:18 PM
Slight problem with the Digiguide highlights on Saturday - I get a blank entry saying "HTTP Error 400. The request URL is invalid." and "Unable to parse time ()". Don't know if it's a problem with the new Digiguide scraping or with the Digiguide web page content itself?

All other days seem to work fine though...

mikerr
06-20-2011, 03:12 PM
Slight problem with the Digiguide highlights on Saturday - I get a blank entry saying "HTTP Error 400. The request URL is invalid." and "Unable to parse time ()". Don't know if it's a problem with the new Digiguide scraping or with the Digiguide web page content itself?

All other days seem to work fine though...
That's Digiguide themselves being a bit slow and haven't filled in that day's recommendations yet, take a look at the source page:

http://digiguide.tv/pick-of-the-day/25+June+2011
Sorry, but you're way ahead of us and we haven't had chance to go through all of the great TV shows for June 25th, 2011 yet.
If you come back in a few days time perhaps we'll have them on the site by then. Alternatively try our rather fabulous RSS feed.

The tivoweb script could handle that case a bit better by showing a blank page instead of an error though - one for version 1.20 ;)

BobBlueUK
06-20-2011, 04:00 PM
That's Digiguide themselves being a bit slow and haven't filled in that day's recommendations yet
Ahh, that explains it. Didn't get as far as checking that, as Sunday already had progs listed!

Pete77
06-23-2011, 07:48 AM
Mike does the Highlights module work just as well with the AltEPG as with the Tivo/Tribune EPG or will it need some further modifications in order to work optimally with that EPG data?

cashew1970
06-23-2011, 07:51 AM
I have it working fine with the new epg... :-)

mikerr
06-30-2011, 07:14 AM
1.20 - just a few bugfixes

Pete77
06-30-2011, 08:13 AM
1.20 - just a few bugfixes

That just seems to give me the following error message when I try to load it. I tried both a Full Reload and then also quitting and restarting Tivoweb but the same thing happened. Do I also need to reboot the Tivo or is there an error in the new version of the module somewhere?:-

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
couldn't open socket: network is unreachable
while executing
"socket 78.136.19.14 80"
(procedure "getRTShowsFromWeb" line 7)
invoked from within
"getRTShowsFromWeb "/${gtype}highlights/""
(procedure "getShows" line 11)
invoked from within
"getShows"
(procedure "::action_highlights" line 42)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

Or am i getting that message because my Tivo is currently set to dialup for the Daily Call instead of network so that I can access Tivoweb but not have Tivo call back to the Tivo servers every day and get Status 8 Account Closed again. I'm still on the old Tivo EPG at the moment.

cashew1970
06-30-2011, 08:17 AM
All upgraded OK for me, and is all working. I just did a quick reload, and all was there and OK.

Pete77
06-30-2011, 08:35 AM
I find I also can't ping 78.136.19.14 from a command line on my laptop so there seems to be a current issue in connectivity between my ISP and the Radio Times website.

BobBlueUK
06-30-2011, 08:58 AM
Or am i getting that message because my Tivo is currently set to dialup for the Daily Call instead of network so that I can access Tivoweb but not have Tivo call back to the Tivo servers every day and get Status 8 Account Closed again. I'm still on the old Tivo EPG at the moment.That's the situation I'm in at the moment, so the Highlights module isn't currently working for me either (still have the previous version installed).

Would be nice if there was a way to keep TiVo updates blocked while still allowing access to the internet. Assume I'd have to configure a firewall in the router to achieve that...

I suppose running fixsub.tcl daily via cron would fool TiVo into thinking that it's always up to date so wouldn't do a daily call?

mikerr
06-30-2011, 09:01 AM
Or am i getting that message because my Tivo is currently set to dialup for the Daily Call instead of network
Possibly - setting to dialup generally removes internet access (default gateway) from the tivo.

That's how nic_config_tivo does it but IIRC its only really necessary to put the network card on eth1 instead of eth0
(nic_config_tivo does both).

So adding your default gateway back in would fix internet access:

/sbin/route.tivo add default gw 192.168.1.1 netmask 0.0.0.0

Pete77
06-30-2011, 09:21 AM
So adding your default gateway back in would fix internet access:

/sbin/route.tivo add default gw 192.168.1.1 netmask 0.0.0.0

You are correct in your deductions My Dear Watson. The updated Highlights module is now firing perfectly on all cylinders.:):up::up::up:

So I have also added this command to my rc.sysinit.author.edit file using Sanderton's Startup Editor utility for the time being until I revert this Tivo to networked EPG access when I switch it to across to the AltEPG. This means the route should survive the daily timer initiated reboot of my Tivo at 5am.

Can I assume that despite restoring internet connectivity for Tivoweb my Tivo will still continue to try to make its daily call only via dialup?

mikerr
06-30-2011, 09:43 AM
Your method will work, but the correct place for it is in /etc/rc.net

Yes, it'll still use dialup if your network card is set to eth1, and not eth0:

ifconfig
eth1 Link encap:Ethernet HWaddr 00:0B:AD:10:10:10
...

Pete77
06-30-2011, 09:59 AM
Your method will work, but the correct place for it is in /etc/rc.net

Apologies if I am breach of professional Tivo hacking etiquette but the change is only for a few days and I don't fancy messing with rc.net and potentially accidentally nuking my Tivo if I don't have to.

Trinitron
06-30-2011, 05:04 PM
suppose running fixsub.tcl daily via cron would fool TiVo into thinking that it's always up to date so wouldn't do a daily call?Yes it would. If you are going to do that it would be better to set the account status to 4 instead of 5, to follow the AltEPG convention.

Wonk
06-30-2011, 05:46 PM
That's the situation I'm in at the moment, so the Highlights module isn't currently working for me either (still have the previous version installed).

Would be nice if there was a way to keep TiVo updates blocked while still allowing access to the internet. Assume I'd have to configure a firewall in the router to achieve that...

I suppose running fixsub.tcl daily via cron would fool TiVo into thinking that it's always up to date so wouldn't do a daily call?

Just in case this hasn't occurred to you and is relevant (since this is nothing to do with highlights) - if you're staying off the altepg 'cos you have data 'til the xxth of July, bear in mind that the terrestrial channels only get 7 days afaik, so you may have a false sense of security in terms of when you need to change over to the other guide.

In my case I was thinking at the weekend that I'd still got a couple of weeks grace thanks to network updates, until the penny belatedly dropped that actually Friday would be my last day with full guide data after the 'official' service stopped giving updates and tried to cripple the box last weekend.

BobBlueUK
07-03-2011, 07:04 PM
Just in case this hasn't occurred to you and is relevant ...

In my case I was thinking at the weekend that I'd still got a couple of weeks grace thanks to network updates
Thanks for the heads-up on this! I too was blissfully ignorant until reading your message, then discovered BBC listings ending at 5am on Saturday morning...

Have now successfully upgraded to AltEPG on both mine and my parents' TiVos. :up: :)

Wonk
07-05-2011, 04:28 PM
You're welcome, glad it was helpful. Just a shame it took me five years to post something of use.

Pete77
08-09-2011, 04:17 PM
I have it working fine with the new epg... :-)

The "Displayed Channels" option does not work for just "Received Channels" and nor does the Highlights module show any direct links to the individual recordings in Tivoweb with the AltEPG even though it does still show which programs the Radio Times or Digiguide is recommending for each day.

Can I take it that Mike is probably applying his highly renowned TCL coding abilities to solving this problem even as I write this?

Pete77
08-11-2011, 03:36 PM
Intriguingly following my clearing and deleting of all my Thumbs as a result of problems I had with database corruption during my switch from an AltEPG separate Sky box and Freeview box to an AltEPG Sky tv and Sky radio box (the same box) setup Highlights has now started working properly again for most programs using AltEPG data. Or is this in fact connected with the recent introduction by the AltEPG of numeric program identifiers?

My clear out of thumbs and re-running of Guided Setup a few more times to also clear problems I was getting with channels not in Channels I Receive being used by Wishlists also seems to have restored the Highlight module's ability to only show listings for Received Channels rather than just all of the channels in the EPG.

There still seems to be the odd broken link though. For instance tonight (Thursday 11th August) Radio Times Tv has no link for One Flew Over The Cuckoo's Nest (Radio Times must be absolutely desperate to make this a Highlight given its antiquity and numerous tv showings) Also the Slot Free icon isn't working today (Thursday) on programs on which there are clashes but oddly it is working properly for Radio Times Tv for the rest of the week. Digiguide Tv also can't find a link for The Culture Show At The Edinburgh Festival today (Thursday) and also can't do the Slot Free icons for programs with recording clashes. Actually I just realised that this is because these programs are now in the past viz the Slot Free icons.:o

However I found another broken link error with no link for Timothy Spall:Back at Sea on next Wednesday's (17th August) Digiguide Tv.

Any thoughts from Mike (or even d33mb33) on why Highlights wasn't working at all with AltEPG on my Tivo but is now mainly working would be much appreciated.

martink0646
08-12-2011, 02:50 AM
Any thoughts from Mike (or even d33mb33) on why Highlights wasn't working at all with AltEPG on my Tivo but is now mainly working would be much appreciated.

Why don't you post on the correct (AltEPG) forum, or are they fed up with you there & refusing to answer you?

Martin

Pete77
08-12-2011, 03:42 AM
Why don't you post on the correct (AltEPG) forum, or are they fed up with you there & refusing to answer you?

Because this is still the main discussion thread for the Highlights Tivoweb module and there has been no reworked version specifically for the AltEPG created up to now as far as I am aware.

TCM2007
08-12-2011, 09:31 AM
For instance tonight (Thursday 11th August) Radio Times Tv has no link for One Flew Over The Cuckoo's Nest (Radio Times must be absolutely desperate to make this a Highlight given its antiquity and numerous tv showings)

May be unconnected,but the start time of the film wash pushed back because of the riot Question Time; maybe the details in highlights no longer matched the EPG?

Pete77
08-12-2011, 11:22 AM
May be unconnected,but the start time of the film wash pushed back because of the riot Question Time; maybe the details in highlights no longer matched the EPG?

That seems like a pretty reasonable suggestion. Does Highlights only match by timeslot and not by program name? Or is there perhaps a limit to how different the two scheduled time slots are allowed to be?

RichardJH
08-12-2011, 03:54 PM
May be unconnected,but the start time of the film wash pushed back because of the riot Question Time; maybe the details in highlights no longer matched the EPG?

WMC7 recorded all the film and I had set up the recording last Monday.

lik147
08-12-2011, 10:26 PM
"Get superfast Fibre Optic Broadband down your phone line"

Surely I'm not the only one to see glaring error in that statement???

Our phone lines are copper. How are VM going to magically transform them into Fibre?

Surely it should say "get superfast broadband at speeds equivalent to Fibre"?

Martin

martink0646
08-13-2011, 05:19 AM
"Get superfast Fibre Optic Broadband down your phone line"

Surely I'm not the only one to see glaring error in that statement???

Our phone lines are copper. How are VM going to magically transform them into Fibre?

Surely it should say "get superfast broadband at speeds equivalent to Fibre"?

Martin

:confused::confused:??

I think you missed your comment off.

Martin

TCM2007
08-13-2011, 11:56 AM
WMC7 recorded all the film and I had set up the recording last Monday.

On Freeview, WMC7 uses the over-the-air EPG to track last minute changes. It work pretty well, although it's not always clear whether it's using the downloaded or OTA data.

TCM2007
08-13-2011, 11:57 AM
:confused::confused:??

I think you missed your comment off.

Martin

Spammer-to-be getting their post count up, I fear.

Pete77
09-17-2011, 07:53 AM
May be nobody else but me is still using this module but I'm currently finding that its working fine for both Digiguide Tv and Films with the AltEPG but is not returning any data at all now for the Radio Times Tv or Radio guides.

I would imagine that Radio Times have either changed the IP address of the website or completely change the format of the pages from which the data is being scraped.

Has anyone else also spotted this and is Mike able to work his usual magic to get these parts of the module working again?

EDIT:- On checking again I see that the Radio Times Radio part of the module was only not working due to not having BBC Radio 4 selected in Channels I Receive on my Tivo and not having the Highlights module Options set to All channels but instead to Channels I Receive (this is because if you do you you then get Suggestions and Wishlist matches for BBC Radio 4 whereas I prefer to stick to SPs for only those programs I want to record for my radio listening). When I change the Highlights options to cover all channels then Highlights listings for Radio Times Radio are show. So this suggests that it is just the data format of the Radio Times Tv pages that has changed and messed up this part of the module as a result.

BobBlueUK
09-18-2011, 06:17 PM
Still using the Highlights module here, just havent been online enough lately to report the problem... The Radio Times TV part of the module isn't working for me either, so may I +1 the request for someone to take a look at fixing it, if possible? :)

cashew1970
12-19-2011, 08:12 AM
me too... both radio times and digiguide are now fu-bared

Pete77
12-19-2011, 10:56 AM
Its good to know that someone else is also disappointed at the fact that web page alterations at Digiguide and Radio Times seems to have now rendered this once fine Tivoweb module completely useless.

However from the lack of interest in fixing such matters now shown by even Mike of TivoCentral I'm beginning to feel that the Tivo S1 has had its day and since I don't live in a Virgin Media cabled area the only option seems to be to build my own Windows MCE system.

I thought of raising the problem over at altepg.com but decided not to as any comments other than "I worship the very ground you guys stand on" tend not to go down awfully well in those parts!

TCM2007
12-19-2011, 12:02 PM
You could try and fix it yourself instead of sniping at others...

TCM2007
12-19-2011, 12:23 PM
Looks like you're screwed on the RT:

As part of the recent relaunch of RadioTimes.com, this week we're handing over responsibility for the maintenance and support of the XML TV feed to our tech partner on the site, MetaBroadcast, who is best placed to continue to develop and support the feed and service going forward.

We will still be providing listings data and the feed should continue to work as before, with the exception of film ratings and the Radio Times Choices, which are not supported on the new platform.

TCM2007
12-19-2011, 12:50 PM
For Digiguide, try searching for this line of code:


set digiguideDate [string trim [clock format $digiguideDate -format {%e+%b+%Y}]]

and change it to:

set digiguideDate [string trim [clock format $digiguideDate -format {%e+%B+%Y}]]

No guarantees; there may have been other changes too.

Also the line:

set genre [string toupper [getMatchBetween "2011/" "-" $link]]

will need to change to

set genre [string toupper [getMatchBetween "2012/" "-" $link]]

for the New Year.

SolidTechie
12-19-2011, 04:45 PM
You could try and fix it yourself

He doesn't know how

instead of sniping at others...

He doesn't know how

mikerr
12-20-2011, 06:37 AM
Version 1.21
Updated code for digiguide, so that's now ok,
but RT will have to wait til next version.
[edit]
RT now working too in v1.22

Looks like you're screwed on the RT:
http://www.radiotimes.com/blog/2011-12-12/changes-to-the-radio-times-xml-tv-service

I read that as only applying to the the XML feed :confused:

highlights format has changed though and are now called recommendations
at http://www.radiotimes.com/tv/recommendations at least for now


Highlights 1.22
# website scraping code updates:
# digiguide no longer does a redirect, and date format changed
# RT had changed ip and changed web page format totally, so total rewrite.

RichardJH
12-20-2011, 04:47 PM
However from the lack of interest in fixing such matters now shown by even Mike of TivoCentral

I for one say thanks Mike. Will you get another ?????? :rolleyes:

Pete77
12-20-2011, 07:31 PM
I for one say thanks Mike. Will you get another ?????? :rolleyes:

I for two say thank to Mike. I believe that when we get three rounds of thanks for Mike's further demonstration of his legendary Tivoweb coding skills that its then time for a round of hip, hip hooray.

My apologies also to Mike for issuing the apparent challenge but I knew that for a gifted mind like his in this area this would be a simple matter whereas I could take from until the end of the 2012 Londo Olympics looking at the problem and still not have an answer. As someone who fits his own engine oxygen sensors (three of them costing £250 a pop x 3 at Mr Toyota but only £55 each if fitted onself fail reliably on a roughly 2 year cycle) in his car but defers to the experts when it comes to clutch replacement or head gasket work I know when a matter is beyond my capabilities and this quite clearly was such a matter.

If I genuinely thought I was the only person still using the Highlights module then I might have tried to do the work myself but as I am sure that at least 20 other Tivo owners still appreciate its functionality I thought it only right to get it properly fixed by an expert.

Well done to Mike for keeping this excellent module going and for deterring me from thinking about building a Windows MC HD Freeview/Freesat box for at least another six months.:up::up::up:

cashew1970
12-21-2011, 04:34 AM
thanks from me too..... much appreciated :-)

bigwold
12-21-2011, 04:44 AM
ditto

mikerr
12-21-2011, 05:28 AM
"Thanks for the thanks" ;)

but as I am sure that at least 20 other Tivo owners still appreciate its functionality

If anyone is interested, I do actually have some stats of sorts since the Film part of highlights gets its images from one of my websites.
Your tivo's internal address shows up in the referrer stats.
e.g.
- http://192.168.1.200/highlights/
- http://192.168.0.4/highlights/
- http://XXtivo.no-ip.org:8080/highlights/
- http://XXXXXstivo.homeip.net/highlights/
- http://localhost:800/highlights/
- http://192.168.0.11/highlights

Last month there were 68 different tivo ip's using highlights.
Note that only shows up when people use the film part of the module (which was still working)
and there may be several people using the same ip, .1.200 is probably common.

</geek mode off>

TCM2007
12-21-2011, 07:52 AM
Was it the problem I suggested Mike, or something else?

mikerr
12-21-2011, 08:06 AM
Was it the problem I suggested Mike, or something else?
Digiguide had two issues:
used to do http redirect, and now they don't - so that code had to be removed
and also the date format (which you mentioned)

RT changed everything:
ip address and a new website design, so all the scraping code is new.

Pete77
12-21-2011, 08:08 AM
Last month there were 68 different tivo ip's using highlights.Note that only shows up when people use the film part of the module (which was still working)

I certainly use the Film and Radio parts of the module considerably less often than the other parts. Also "last month" the Radio Times aspect of the module was already defective hence deterring potential use well below the maximum possible normal level.

there may be several people using the same ip, .1.200 is probably common

There will definitely also be a number 192.168.0.4 users. For instance my 192.168.0.3 can't be the one you listed as my port number is 443.

If Highlights was actively included with Tivoweb in the AltEPG image along with an option to update it automatically with the new version when it breaks then its level of use could be made a lot higher still........

However can I take it that it is included automatically as part of Tivoweb on pre-prepared hard drives supplied by Tivocentral?

I'm also finding 3D ahd the increasing amount of display by broadcasters of crucial picture information outside the 4:3 picture area (eg Countdown and University Challenge) a reason to consider getting a new tv along with the fast falling price of 800 hz LED-TFT 3D sets. However I understand that proof of concept for 3D without the need for glasses has now been achieved and that higher HD resolutions than 1080p/1080i are now already in the pipeline so perhaps I should wait until the start of the next decade before declaring my Tivo S1 and old tv obsolete.....................

Finally three cheers for the work of Mike in fixing the module and posting a new version. Hip, hip hooray......Hip, hip, hooray..... Hip, hip hooray.:):up::up::up:

TCM2007
12-21-2011, 08:36 AM
Certainly there seem to be quite a few occasions where the 4:3 safe area isn't respected any more.

Wouldn't worry about 3D myself, and resolution beyond 1080 is not coming any time soon. Simply unnecessary at current screen (and living room) sizes.

Pete77
12-21-2011, 08:59 AM
Wouldn't worry about 3D myself, and resolution beyond 1080 is not coming any time soon. Simply unnecessary at current screen (and living room) sizes.

But unfortunately that kind of common sense hasn't stopped the crappiest and cheapest possible digital snap camera from all the main makers with the cheapest and nastiest possible lenses still quite pointlessly having a sensor that takes a picture at 14 Megapixels or more rather than the maximum of 8 Megapixels that they may possibly need.

DX30
12-21-2011, 11:47 AM
I understand that proof of concept for 3D without the need for glasses has now been achieved
If you live in Japan then you can buy one - Toshiba started selling them in December 2010. This Decembers models include a 55" monster with a resolution of 3840 x 2160, see

http://www.3dtvguide.org/3d-tv-without-glasses.html

LG also have a glasses free 3D model on sale in Korea, with sales in other countries in 2012

TCM2007
12-21-2011, 11:53 AM
But unfortunately that kind of common sense hasn't stopped the crappiest and cheapest possible digital snap camera from all the main makers with the cheapest and nastiest possible lenses still quite pointlessly having a sensor that takes a picture at 14 Megapixels or more rather than the maximum of 8 Megapixels that they may possibly need.


Now cameras is another matter, especially ones with fixed focal length lenses where the extra pixels can be used to create an electronic zoom, either in camera or on a PC later.

TCM2007
12-21-2011, 11:57 AM
If you live in Japan then you can buy one - Toshiba started selling them in December 2010. This Decembers models include a 55" monster with a resolution of 3840 x 2160, see

http://www.3dtvguide.org/3d-tv-without-glasses.html




I've seen the higher res screens - they tend to be 4 HD panels Sellotaped together!

With no content, no plan for content and at 55-inches you'd need to be viewing form ~3ft away to see the extra pixels I can't see it.

Maybe one day true cineasts will be able to buy the full digital master and play that, but it's not a mass market product.