PDA

View Full Version : New TivoWeb Module : Highlights


Pages : [1] 2 3

d33mb33
02-02-2006, 05:38 PM
Summary
This module displays recommendations for the next week. Recommendations are matched to the corresponding showing in the TiVo guide data and a link is provided so it is easy to record the show.

The current version of the module allows you to preview and record:
- Radio Times TV recommendations
- Radio Times Radio recommendations
- DigiGuide TV recommendations
- Film recommendations

Searching the guide data can be a bit slow, so the module caches each request you make. Subsequent requests (of the same type and day) are pulled from the cache so they are faster.

Icons next to each showing display whether you plan to record the show or have a Season Pass. If you don't plan to record the show then the module indicates whether the slot is free or not. This information is not cached so is always up to date.

All Highlights can also be retrieved as RSS 2.0 feeds. To enable RSS you must enter the url of your TiVo on the options screen. (e.g. http://tivo or http://192.168.1.xxx). RSS feeds are selectable by day and by type and observe any filter you may have set on a page. If access to your TiVoWeb is through a username and password then your RSS reader must support basic authentication.

Please post all comments, bugs and suggestions to this thread. I am also happy to receive bug reports through PM to save cluttering the thread with individual problems. Please feel free to make any enhancements or changes to the module. However, if you would like your changes considered for inclusion in the primary source then you will need to PM me with your source or a diff file.

Known Issues
I decided to use fuzzyish logic to match the programme channel and time on the RadioTimes and DigiGuide websites to the corresponding TiVo channel. This means that the module may occasionally be unable to get a channel match. Generally, I will try and fix these problems as and when they appear.

Credits
Special thanks to Sanderton for the “Digiguide” module and LJ for the “Whats on” module which were both used as a reference for the initial release. Additional thanks to LJ for allowing this module to call his slotfree code. Other contributors who have kindly helped with bug fixing and enhancements are recognised in the version history below and at the top of the source.

Latest Version Info
# 1.21 18/12/11 mikerr - digiguide scraping code
# 1.22 20/12/11 mikerr - radiotimes scraping code
# 1.23 22/12/11 mikerr - fix for RT code sometimes showing episode title instead of series title
# - added search / wishlist links for unmatched programmes
# - wishlist creation needs LJ's wishlist module
# - tidied up the film module, repeated year (altepg)

Tivo_noob
02-02-2006, 07:00 PM
Any instructions how to install please, as it's the first hack i'll be installing so need as much help as i can get :)

Fozzie
02-02-2006, 07:17 PM
The same as every other Tivoweb module.

Put it in the Tivoweb modules directory (funnily enough) and restart Tivoweb ;)

Raisltin Majere
02-02-2006, 07:40 PM
it's the first hack i'll be installing so need as much help as i can get :)

The same as every other Tivoweb module.

Put it in the Tivoweb modules directory (funnily enough) and restart Tivoweb ;)

Wow

Tivo_noob is this the first hack or the first tivoweb module? If it's the first module then,as Fozzie says, ftp it to your modules folder and then do a restart of tivoweb.

If it's you're first hack then you'll need to install tivoweb (I think it's tivo.lightn.org)and then install this module

Raisltin Majere
02-02-2006, 07:47 PM
this is cool

Tivo_noob
02-03-2006, 11:01 AM
Thanks for the advise guys, i did everthing as described and clicked on highlights in tivoweb but got an error:

INTERNAL SERVER ERROR
--cut here--
action_showing '/2146939/89' ''
can't read "genrenums": no such variable
while executing
"lsearch $genrenums $genre"
("foreach" body line 2)
invoked from within
"foreach genre $genres {
set genreindex [lsearch $genrenums $genre]
if { $genreindex != -1 } {
if { $genrestr != "" } {
append ..."
("uplevel" body line 255)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if { [regexp {([0-9]*)/(.*)} $objectid junk fsid subobjid] } {
set showing [db $db openidconstruction $fsid $subobjid]
} els..."
(procedure "::action_showing" line 47)
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 an idea what i've done wrong? It looks like a cool module though, thanks :)

d33mb33
02-03-2006, 12:07 PM
Try a "Full Restart" of TiVoWeb.

If it still fails then it is probably a tivoweb issue. A quick search of this forum reveals:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2841067&highlight=genrenums

and

http://www.tivocommunity.com/tivo-vb/showthread.php?t=208913&highlight=genrenums

martink0646
02-03-2006, 12:16 PM
Brilliant, thankyou

Martin

mini__me
02-03-2006, 01:04 PM
Love it :)

Great work fella :D

cwaring
02-03-2006, 03:47 PM
Not the best colour scheme ever, but it does work :) Well done!

Raisltin Majere
02-03-2006, 04:02 PM
Not the best colour scheme ever, but it does work :) Well done!

Eh?

It uses the same color scheme as every other page on tivoweb?

Tivo_noob
02-03-2006, 04:16 PM
Try a "Full Restart" of TiVoWeb.

If it still fails then it is probably a tivoweb issue. A quick search of this forum reveals:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2841067&highlight=genrenums

and

http://www.tivocommunity.com/tivo-vb/showthread.php?t=208913&highlight=genrenums
Hmmm this is a pain as i really want to get this module running. I've searched the forum and downloaded the JScript and 00ui.itcl files and installed them as per instructions but still get the same error :(

I don't want to hijack this thread but i would really appreciate a hand as the module looks to good to miss out on

Retrometabolism
02-03-2006, 05:06 PM
Brilliant module. I just loaded it and it works and its fantastically useful.

Only small fault I found was that the program pictures do not appear for days 5 to 7. I'm sure this can only be a small bug fix required.

More modules like this please.

cwaring
02-03-2006, 05:59 PM
Eh? It uses the same color scheme as every other page on tivoweb?
Sorry. User is an idiot :( Was thinking of another module I also installed this week :)

Raisltin Majere
02-03-2006, 06:03 PM
Sorry. User is an idiot :( Was thinking of another module I also installed this week :)


'sokay mate. What wasthe one you where thinking of?

6022tivo
02-03-2006, 06:46 PM
Really clever.

Thanks for your efforts, will use.

sanderton
02-03-2006, 06:47 PM
Top stuff.

You know, what we really need is one of these collaborative systems like digg, but for TV shows, so we can spot things that are coming up. Suggstions don't really do it. With over a million PVR users now, there might even be a market for it!

Fozzie
02-03-2006, 07:14 PM
Excellent module. Good work :)

cwaring
02-03-2006, 08:02 PM
'sokay mate. What wasthe one you where thinking of? This (http://img308.imageshack.us/img308/5420/grid16ny.jpg) one that was also mentioned this week. Thing is, I can't find the thread now :)

...coolstream
02-03-2006, 09:27 PM
Hmmm this is a pain as i really want to get this module running. I've searched the forum and downloaded the JScript and 00ui.itcl files and installed them as per instructions but still get the same error :(

I don't want to hijack this thread but i would really appreciate a hand as the module looks to good to miss out on
First of all, excellent module!
I too find that the pictures only show on the first few days, but then again, it's the info that is more important. So no big problem there!

To the author, I know that if you look at the available days selector, the day you are on is highlighted, but would it be possible for the day to be highlighted in a different color ( I am using blackbooks scheme so not really sure if other schemes show this module diffrently)

To Tivo_noob, you aren't hogging the thread at all. In fact, your questions and the answers that have been posted here have helped me solve a problem I have had ever since I reinstalled Tivoweb. i.e. I also got the error messages that you have received.

The reply with the link to the fix has helped me. Now perhaps I can help you too!
You say that you FTPd the two files to the Tivo. When I did this, the problem persisted, so I did another full restart of Tivoweb and now the errors are gone!

I hope this helps you, and once again thanks to the author and to all those here that are so keen to help others less versed with Linux and Tivo :up:

Tivo_noob
02-03-2006, 09:47 PM
First of all, excellent module!
I too find that the pictures only show on the first few days, but then again, it's the info that is more important. So no big problem there!

To the author, I know that if you look at the available days selector, the day you are on is highlighted, but would it be possible for the day to be highlighted in a different color ( I am using blackbooks scheme so not really sure if other schemes show this module diffrently)

To Tivo_noob, you aren't hogging the thread at all. In fact, your questions and the answers that have been posted here have helped me solve a problem I have had ever since I reinstalled Tivoweb. i.e. I also got the error messages that you have received.

The reply with the link to the fix has helped me. Now perhaps I can help you too!
You say that you FTPd the two files to the Tivo. When I did this, the problem persisted, so I did another full restart of Tivoweb and now the errors are gone!

I hope this helps you, and once again thanks to the author and to all those here that are so keen to help others less versed with Linux and Tivo :up:
Ha thats funny cos i've finally managed to sort it out myself, although it's taken me all night i enjoyed doing it! I removed all tivoweb (a daunting task for a newbie like myself) and reinstalled overwriting the ukgenre and ui.itcl then rebooted and installed themes (thanks ericd121), grid module (thanks cwingert) and this amazing highlights module, thanks d33mb33

Can anyone reccomend anymore that i may have missed?

...coolstream
02-03-2006, 10:23 PM
Ha thats funny cos i've finally managed to sort it out myself, although it's taken me all night i enjoyed doing it! I removed all tivoweb (a daunting task for a newbie like myself) and reinstalled overwriting the ukgenre and ui.itcl then rebooted and installed themes (thanks ericd121), grid module (thanks cwingert) and this amazing highlights module, thanks d33mb33

Can anyone reccomend anymore that i may have missed?

LOL I only wish I had read this thread earlier then I might have been able to save you some learning time :)

One module I find makes things run smoother is the '30 seconds' module. Basically it reconfigures the 'jump flags' button to be a jump 30 seconds function. Up until a few days ago, I had entered the codes manually with the remote every time I rebooted the Tivo, but it seemed to be such a nuisance to have to do that because I find this 'upgrade' a very useful feature.

I read up on it in the forums and there appeared to be two ways of achieving the update but both seemed a little daunting, so I bit the bullet and experimented.

Basically, I created a directory /var/hack/scripts and FTPd the 30sec.tcl file to it.
I then used the startup editor module in Tivoweb and added this line to the bottom of the script
/var/hack/scripts/30sec.tcl >/dev/null 2>&1 &

Now when the Tivo reboots and has shown the animation and gone to the first menu page, it makes a few beeps (as if keys on the remote were being pressed) and the new key is configured! It's great for skipping ads etc. :D

Tivo_noob
02-03-2006, 10:28 PM
LOL I only wish I had read this thread earlier then I might have been able to save you some learning time :)

One module I find makes things run smoother is the '30 seconds' module. Basically it reconfigures the 'jump flags' button to be a jump 30 seconds function. Up until a few days ago, I had entered the codes manually with the remote every time I rebooted the Tivo, but it seemed to be such a nuisance to have to do that because I find this 'upgrade' a very useful feature.

I read up on it in the forums and there appeared to be two ways of achieving the update but both seemed a little daunting, so I bit the bullet and experimented.

Basically, I created a directory /var/hack/scripts and FTPd the 30sec.tcl file to it.
I then used the startup editor module in Tivoweb and added this line to the bottom of the script
/var/hack/scripts/30sec.tcl >/dev/null 2>&1 &

Now when the Tivo reboots and has shown the animation and gone to the first menu page, it makes a few beeps (as if keys on the remote were being pressed) and the new key is configured! It's great for skipping ads etc. :D
Hmmm whats this start up editor, i haven't come across this yet?

...coolstream
02-03-2006, 10:47 PM
Hmmm whats this start up editor, i haven't come across this yet?
I'm almost sure it is an included module in Tivoweb (V1.9.4) because I can't find it in the backup folder of downloaded modules I have on the PC.

On the main page, it is listed as
'Startup Editor Edit the script which runs at boot time '

Tivo_noob
02-03-2006, 11:02 PM
I'm almost sure it is an included module in Tivoweb (V1.9.4) because I can't find it in the backup folder of downloaded modules I have on the PC.

On the main page, it is listed as
'Startup Editor Edit the script which runs at boot time '
Nope, deffo not there :confused:

Raisltin Majere
02-04-2006, 03:49 AM
Can anyone reccomend anymore that i may have missed?

Hmmm whats this start up editor, i haven't come across this yet?


Try here http://alt.org/wiki/index.php/TiVoWeb%20Modules for Edit startup script (and more)

d33mb33
02-04-2006, 06:23 AM
Thank you all for your comments.

Only small fault I found was that the program pictures do not appear for days 5 to 7. I'm sure this can only be a small bug fix required.


RadioTimes don't make pictures available for all the shows, particularly shows later on in the week. The pictures are often added later, which is why today and tomorrow will usually have a full set.

would it be possible for the day to be highlighted in a different color ( I am using blackbooks scheme so not really sure if other schemes show this module diffrently)

The highlighting works OK with most schemes. I haven't seen the blackbooks scheme before. I'll take a look and see what can be done. :)

terryeden
02-04-2006, 07:11 AM
That's the most useful module ever :-)

I'm about to start hacking this so it works with the radio highlights as well - do you have any objection?

T

terryeden
02-04-2006, 07:27 AM
I'm about to start hacking this so it works with the radio highlights as well

Blimey - who knew TCL hacking was so easy!

Added another proc called getRadioShows. It's identical to getRTShows but uses
set request "/radiohighlights/"

then, in the entry point added

set radioshows [getRadioShows]

and

foreach rtshow $radioshows {...

And, Bob's your uncle. Radio listings as well as TV.

Thanks for a great module - hope this info is useful to other radio listeners.

...coolstream
02-04-2006, 08:02 AM
Try here http://alt.org/wiki/index.php/TiVoWeb%20Modules for Edit startup script (and more)

Thanks for the link. Backup now made just in case....

mbriody
02-04-2006, 08:20 AM
Patched as described, works great. TVM

Blimey - who knew TCL hacking was so easy!

Added another proc called getRadioShows. It's identical to getRTShows but uses
set request "/radiohighlights/"

then, in the entry point added

set radioshows [getRadioShows]

and

foreach rtshow $radioshows {...

And, Bob's your uncle. Radio listings as well as TV.

Thanks for a great module - hope this info is useful to other radio listeners.

...coolstream
02-04-2006, 08:50 AM
Blimey - who knew TCL hacking was so easy!

...

Terry,

I tried this and got it to work successfully and have set a radio show to record tonight. One thing I noticed was that the menu entry was named 'Highlights' too which is confusing, so I changed it to 'Radio Highlights'.

I thought all had gone well until I then tried the original TV highlights. To my dismay, that too now runs 'Radio Highlights' :(

To ensure I hadn't messed up the original on the Tivo, I removed the new module, reloaded and tried 'Highlights' again. It now shows the TV highlights again.

For the life of me, I cannot see why adding the new module should affect the outcome of the original module. I must be doing something wrong so I have attached the modified file for anyone else to check.

Can anyone help?

mbriody
02-04-2006, 09:00 AM
Looks like you have made an additional module?

I just combined the two so I get TV and radio in one module.

Terry,

I tried this and got it to work successfully and have set a radio show to record tonight. One thing I noticed was that the menu entry was named 'Highlights' too which is confusing, so I changed it to 'Radio Highlights'.

I thought all had gone well until I then tried the original TV highlights. To my dismay, that too now runs 'Radio Highlights' :(

To ensure I hadn't messed up the original on the Tivo, I removed the new module, reloaded and tried 'Highlights' again. It now shows the TV highlights again.

For the life of me, I cannot see why adding the new module should affect the outcome of the original module. I must be doing something wrong so I have attached the modified file for anyone else to check.

Can anyone help?

d33mb33
02-04-2006, 09:02 AM
If you can wait until this evening, I will add terryeden's radio highlights feature to the official release. :)

...coolstream
02-04-2006, 09:11 AM
If you can wait until this evening, I will add terryeden's radio highlights feature to the official release. :)

Thanks for that, it would be appreciated! I guess I misinterpreted your initial post.

There is one 'bug' that I have just noticed with your module, or at least I reckon it's because of the way that Radio Times have made the listing...

example:
The Pianist
10:45pm
ITV1

Because I am in Scotland and receive STV (one of the few that retain the channel ID instead of showing ITV1), Tivo tells me
Unable to find channel (ITV1)
and is therefore unable to supply an episode link.

I reckon that for this module to work in areas that do not use the ITV1 carrier ID, it might be possible if there is a different IP for a localised version of Radio Times. Do you know if this is the case?

Another way round this might be to do some sort of conditional testing...
if ITV1
then also Scottish, Grampian etc...

CarlWalters
02-04-2006, 02:41 PM
Just installed this. Its Excellent! Thanks very much. I'm even tempted to try my hand at a module now. :D

scgf
02-05-2006, 02:26 PM
Thank you d33mb33! The Radio Times feature was for me one of the most useful features of the TiVo listings and I was very disappointed when it was dropped. I don't watch much TV so it alerted me to several excellent programmes.

Where can we download the updated highlights app? The one with radio added. I just tried downloading the attachment from your first post and found it to be the same as the original file I downloaded.

Thanks again.

d33mb33
02-05-2006, 04:03 PM
I have updated the module (see first post)

- Radio Highlights are now included.
- ITV1 highlights should now map to STV, Central, Anglia and Ulster if appropriate.

Please let me know if you have any problems. Especially the ITV1 logic as I don't really have the means to properly test it on my TiVo.

...coolstream
02-05-2006, 08:46 PM
Hi d33mb33,

The updated module is indeed showing TV / Radio options and they appear to work.
:)
I can also confirm that ITV1 is now showing the alternative carrier IDs e.g.

Agatha Christie's Marple
9:00pm
ITV1
Imogen Stubbs, Ken Russell and Frances de la Tour join Geraldine McEwan for The Moving Finger, a tale of hate mail and murder in a small village.
DRAMA
Episode Link (Agatha Christie's Marple - ITVSCO / ITV (Scotland))

Thanks for all your time and effort. This is a very handy addition to Tivoweb!

b166er
02-06-2006, 12:42 PM
Please post all comments, bugs and suggestions to this thread. I plan to actively develop this module for a little while longer before turning my hands to something else.Uploaded to TiVo (binary mode naturally), did a Full restart of TiVoWeb (1.9.4) and got this error from Highlights:

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
no such object: {CONFLICT err=0x00030007}
while executing
"dbobj $program get Title"
("foreach" body line 7)
invoked from within
"foreach showingfsid $showings {
regexp {([0-9]*)/(.*)} $showingfsid junk showingobjid subobjid
set showing [db $db openidconstruction $showing..."
("uplevel" body line 4)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set stationday [db $db openid $fsid]
set showings [dbobj $stationday gettarget Showing]
foreach showingfsid $showings {
..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFile fsid name type "/Schedule" "$stationfsid:$today" {
RetryTransaction {
set stationday [db $db openid $fsid]
set showings [dbobj ..."
(procedure "getTivoShowing" line 16)
invoked from within
"getTivoShowing [lindex $tivochannel 0] $hours $mins $amorpm"
(procedure "::action_highlights" line 54)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

It's not bothering me too much, I already get a weekly email from Radio Times with these suggestions, but would be nice to see it working :)

...coolstream
02-06-2006, 03:42 PM
Just a thought, but have you tried rebooting the Tivo? Yesterday, a known good module started giving errors and rebooting fixed the problem. This module is still working without any conflicts or errors on my machine.

LJ
02-06-2006, 03:59 PM
{CONFLICT err=0x00030007}99 times out of 100 you can fix this error by exiting and restarting TiVoWeb.

Very nice module by the way!

Raisltin Majere
02-06-2006, 05:46 PM
Top stuff.




Very nice module by the way!

Praise indeed! I'd be blushing if I were you :D

b166er
02-06-2006, 05:50 PM
99 times out of 100 you can fix this error by exiting and restarting TiVoWeb. Very nice module by the way!Thanks :-)

sanderton
02-07-2006, 04:29 AM
Do a Full Relaod of TiVoWeb; it's a common error with many TW modules caused by the database being busy when they load.

BobBlueUK
02-07-2006, 04:36 AM
Fantastic module! Like others I used to love the RT contributions to Inside TiVo/Channel Highlights before the plug was pulled...

What would be great would be to combine it with something like DailyMail to send out a daily/weekly email showing what's coming up with the relevant links to TiVoWeb to record the episodes.

You know, what we really need is one of these collaborative systems like digg, but for TV shows, so we can spot things that are coming up. Suggstions don't really do it. With over a million PVR users now, there might even be a market for it!This was tried to some extent with TiVoTokens (http://www.tivotokens.org). I find it a really useful module to share upcoming progs with other TiVo-enabled family members, but the collaborative bit that shared TiVoToken recommendations with the TiVoTokens website never really took off - don't know why? They used to have a table showing the Top 10 recommended progs on the site but I never saw it filled with any info. Relevant bit at the site explaining it is:

Anonymous TivoToken Data Sharing (Privacy Information)

When you share a TiVoToken with a friend we have designed TivoTokens to share this token with us so that we can chart the most popular tokens/shows. There is no conspiracy here or plans to turn this in to a profit making project. TivoTokens is free and will stay that way. The information we collect is as follows:

Token Code, Channel Callsign, Title, Duration, UKTivo flag, DTivo flag, IP Address, TivoTokens software version, Timezone offset and an entry timestamp.

You can verify this by viewing the source code.

We respect your privacy and if you really don't want to take part in this fun aspect of TivoTokens then you can opt out by placing the following line into your tokens.cfg file:

allowanontokensharing=0

The default for this feature is turned on.Would be great if TiVoTokens was updated but I've sent a few emails to the author without reply so it doesn't seem to be maintained any more.

b166er
02-07-2006, 05:34 AM
This was tried to some extent with TiVoTokens (http://www.tivotokens.org). I find it a really useful module to share upcoming progs with other TiVo-enabled family members, but the collaborative bit that shared TiVoToken recommendations with the TiVoTokens website never really took off - don't know why? They used to have a table showing the Top 10 recommended progs on the site but I never saw it filled with any info.They have a similar thing on Digiguide. The trouble is, the more popular such a feature gets, the more lowest-common-denominatorish it becomes. Eventually, you'd just end up with a top 10 recommended progs that is near enough identical with the top 10 progs you see in the newspaper. The recommendations would equal the TV chart. On Digiguide there's barely a program to be found that somebody hasn't recommended "don't miss".

What I'd prefer is a model nearer to what Amazon do. When you buy (or look at) something from them, they show what other people who liked that item also bought. TiVo suggestions could work like that too, but it doesn't.

Do a Full Relaod of TiVoWeb; it's a common error with many TW modules caused by the database being busy when they load.Tried a few full TiVoWeb reloads, didn't help. A reboot of TiVo (as someone suggested earlier but I didn't want to reboot at that time) did the trick. NICE MODULE !!!! :D

EDIT:
I've noticed that on the listing for "Today" and "Tomorrow" there are more programs listed than in subsequent days. By the time you get to the last day there are even fewer. Is this a coincidence, or do shows get added as the day gets nearer. For example, can I look at this once per week and expect to NOT get shows added to days as they get closer? Or is this something that's best viewed daily, and only bother looking at today and tomorrow? Hope that makes sense. In other words, I just looked at Saturday and didn't see anything that interested me for that day. If I look again at Saturday's page when it actually is Saturday, might it by that time have more programs on it?

...coolstream
02-07-2006, 06:30 AM
Tried a few full TiVoWeb reloads, didn't help. A reboot of TiVo (as someone suggested earlier but I didn't want to reboot at that time) did the trick. NICE MODULE !!!! :D
I'm glad the reboort suggestion worked for you!

I've noticed that on the listing for "Today" and "Tomorrow" there are more programs listed than in subsequent days. By the time you get to the last day there are even fewer. Is this a coincidence, or do shows get added as the day gets nearer. For example, can I look at this once per week and expect to NOT get shows added to days as they get closer? Or is this something that's best viewed daily, and only bother looking at today and tomorrow? Hope that makes sense. In other words, I just looked at Saturday and didn't see anything that interested me for that day. If I look again at Saturday's page when it actually is Saturday, might it by that time have more programs on it?
Checking with http://www.radiotimes.com/tvhighlights/ I see that the data presented by the module is the same as the on the site. I know that when I checked the same day's data a few days ago, there were fewer suggestions, so I guess you are correct in your assumption.

zippy7272
02-07-2006, 06:21 PM
WOW :up:

Top stuff - thanks for sharing.

Fred1
02-08-2006, 07:09 AM
Looks like a great module!

Am abroad at the moment, but cant wait to get home and try it.

Can I make a suggestion - that you add a copywrite notice to your code and credits. Also a readme with what it does and how to install it.

One for you and one for us as it were.

The Obo
02-08-2006, 01:27 PM
Thanks for the App - it's great!!!

One small suggestion though...

It would be nice to show whether Tivo is going to record the program or not - currently there is no way to tell the difference between something you are going to record and something you are not.

(and whether the program is a Season Pass or Wishlist would also be nice)


Any chance of an enhancement?

d33mb33
02-08-2006, 06:57 PM
I have made some minor updates to the module (see first post)

- Minor performance tweaks
- More forgiving of slight time format variations on RT's side.

When I get a moment, I'll look at implementing Obo's request into the module... as long as it doesn't slow it down too much...

Dicko
02-08-2006, 07:21 PM
Hi there,

I've just installed the highlights module and it seems to work fine except for Beeb 2.

Whenever the recommended program is on BBC 2 it creates an episode link to BBC news 24!

Here's the text from tonight's Horizon:

Horizon
9:00pm
BBC2
A playful and wonderfully clear guide to the big problem currently baffling cosmologists and astrophysicists :why does 96 per cent of the universe seem to be missing?
DOCUMENTARY
Episode Link (BBC News - BBC24 / BBC News 24)

Found a problem on radio too:

Chimera
1:00pm/1:00am
BBC 7
Police investigate a series of brutal killings at an isolated laboratory, the setting for controversial experiments in genetic engineering. Stephen Gallagher's chilling dramatisation of his novel.
DRAMA
Unable to find channel (BBC 7)


I'm on NTL I that makes any difference.

Regards,
Richard

d33mb33
02-08-2006, 07:37 PM
Dicko, Can you tell me what the channel numbers are for BBC News 24 and BBC 7 on your TiVo? e.g BBC News 24 is channel 610 on my TiVo.

cwaring
02-08-2006, 08:12 PM
e.g BBC News 24 is channel 610 on my TiVo.
Ahh, a fellow Telewest-er :D

Dicko
02-09-2006, 03:10 AM
d33mb33,

BBC News 24 is channel 10 and BBC 7 is channel 866

Regards,
Richard

d33mb33
02-09-2006, 03:55 AM
BBC News 24 is channel 10 and BBC 7 is channel 866


OK, BBC News 24 being on channel 10 will cause problems. As I mentioned in the first post, the module tries to do a "best guess" at the channel. This works more often than not but it does mean that it will get it wrong sometimes. :(

The BBC2 match relies on it being a lower channel number than BBC News 24, which is the case 90% of the time, but obviously not in NTL (ex Cable and Wireless) areas.

Can somone tell me if the channel codes (e.g. BBC2, ITV1LON, ITVSCO etc) used by the TiVo are constant between providers? If so, both these issues are fixable in the next release.

mesaka
02-09-2006, 04:16 AM
Really good module! I'm just having a minor problem with it - it loads most o the information then suddenly comes up with this server error. As per the comments in this thread I've tried restarting tvoweb but it still has the same problem... Any ideas?

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
can't read "tivoshowing": no such variable
while executing
"return $tivoshowing"
(procedure "getTivoShowing" line 32)
invoked from within
"getTivoShowing [lindex $tivochannel 0] $hours $mins $amorpm"
(procedure "::action_highlights" line 54)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

Dicko
02-09-2006, 05:05 AM
The BBC2 match relies on it being a lower channel number than BBC News 24, which is the case 90% of the time, but obviously not in NTL (ex Cable and Wireless) areas.


Err, am I being thick here? I thought BBC2 is channel 2 which IS lower than 10!

L8r,
Richard

d33mb33
02-09-2006, 05:22 AM
Err, am I being thick here? I thought BBC2 is channel 2 which IS lower than 10!


Hmm. In which case it should work. Are you sure that your BBC2 is not on channel 102? :confused:

d33mb33
02-09-2006, 05:28 AM
can't read "tivoshowing": no such variable


My guess is that you don't have guide data for the show in question. The module expects the guide data to be inplace and will crash if it isn't.. I'll amend the module so it "fails gracefully" in the next version.

Does it do this for every day, TV and Radio?

Dicko
02-09-2006, 05:56 AM
Hmm. In which case it should work. Are you sure that your BBC2 is not on channel 102? :confused:

If I step through the channels it goes 1 (BBC1), 2 (BBC2), 3 (ITV1), 4 (C4)... 10 (BBC News 24).

The same numbers are displayed on the NTL box.

Regards,
Richard
PS I know a bit about programming :rolleyes: and have even done some TCL in the past so if there's anything you want me to test, just let me know.

d33mb33
02-09-2006, 06:04 AM
if there's anything you want me to test, just let me know.

I'll PM you. :)

mesaka
02-09-2006, 07:18 AM
It does it for all days...
I have the highest subscription to $ky (...although that is currently under review!) so I wouldn't have thought there would be many channels that I didn't get.

tivo_boj
02-11-2006, 05:48 PM
I get the following when running....Any Clues

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
couldn't open socket: network is unreachable
while executing
"socket 212.58.235.200 80"
(procedure "getRTShows" line 5)
invoked from within
"getRTShows "/tvhighlights/""
(procedure "getRTTVShows" line 2)
invoked from within
"getRTTVShows"
(procedure "::action_highlights" line 15)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

sanderton
02-11-2006, 06:21 PM
"network is unreachable" constitutes a clue I'd say. :)

tivo_boj
02-12-2006, 03:54 AM
"network is unreachable" constitutes a clue I'd say. :)

Yes but why?

Got a Turbo card fitted, but still use dialup for daily call. Do you think this is the problem?

tivo_boj
02-12-2006, 04:04 AM
Yes but why?

Got a Turbo card fitted, but still use dialup for daily call. Do you think this is the problem?


Answered my own question, configed NIC to use network for dail calls, and Highlights work OK

ddub
02-12-2006, 02:52 PM
This is a great Module. thanks

mesaka
02-16-2006, 05:22 AM
Hi

I really like this module but am still having the problems mentioned above..Any news on the fix?

Thanks.

The Obo
02-16-2006, 08:34 AM
Thanks for the App - it's great!!!

One small suggestion though...

It would be nice to show whether Tivo is going to record the program or not - currently there is no way to tell the difference between something you are going to record and something you are not.

(and whether the program is a Season Pass or Wishlist would also be nice)

Any chance of an enhancement?

When I get a moment, I'll look at implementing Obo's request into the module... as long as it doesn't slow it down too much...

Any update on this? Is it possible? Are you planning on doing it? :confused:

d33mb33
02-16-2006, 05:05 PM
Hi

I really like this module but am still having the problems mentioned above..Any news on the fix?

Thanks.

Try downloading and installing the latest version of the module. It handles the no guide data issue gracefully.. but I'm not sure that's your problem.. :confused:

d33mb33
02-16-2006, 05:10 PM
Any update on this? Is it possible? Are you planning on doing it? :confused:

Hi Obo.. It is possible to show the extra recording info but I'm concerned about making the current version of the module any slower than it is at the moment..

I have been putting some work in recently towards another major release of this module.. but my free time is a bit limited at the moment :(

mesaka
02-17-2006, 04:19 AM
It worked!

However, it also told me that the problem was due to Channel 4 programmes...see examle attached that used to crash the module... I suspect the problem is to do with Channel 4's number - shouldn't it be 104? Is there something I can change to make it the correct channel number?



Ramsay's Kitchen Nightmares
9:00pm
Channel 4
Tonight's restaurant rescue in Cheshire makes for an uncomfortable start to a new series of the reality show. Messy menus and full-on feuds feul the hotheaded chef's infamous temper.
ENTERTAINMENT
Unable to find guide data (CH425 - 9:00pm)

d33mb33
02-17-2006, 05:28 AM
Unable to find guide data (CH425 - 9:00pm)

Deselect "Channel 425" (The racing/gambling channel) from the "Channels you receive" feature in the TiVo menus. Give it a couple of hours to clear the channel cache and then try again.

There must be something funny going on with this channel on your setup..

Wonder_lander
02-18-2006, 02:57 PM
Great module, thanks for the hard work!

d33mb33
02-22-2006, 06:33 PM
The module has had a minor update to fix a couple of issues (Thanks Dicko! :up: )

- Special processing for BBC 6 Music
- Fixed an iterative regexp bug

This release fixes the crash that is occuring with next Saturday's listings

SimonMallion
02-23-2006, 10:59 AM
Thanks d33mb33 for a great module, I have a small bugette to report.

None of the generated links on the page use the prefix defined in the tivoweb.cfg module.

for example (note that i have set an ip address in my hosts file for 'tivo'),

This 'type' link was generated:
http://tivo/highlights?type=radio&day=0,

but should be:
http://tivo/tivoweb/highlights?type=radio&day=0

This 'day' link was generated:
http://tivo/highlights?type=tv&day=01

but should be:
http://tivo/tivoweb/highlights?type=tv&day=01

This 'episode' link was generated:
http://tivo/showing/1485611/70

but should be:
http://tivo/tivoweb/showing/1485611/70


This is my tivoweb.cfg file:

UserName = ??????
Password = ??????
Port = 80
Prefix = tivoweb
Theme = technophobesmall.css
DescriptionHover = 1
MultiDelete = 1
TyShowLinks = 0
EthernetInterface =
DescriptionShow = 1

sanderton
02-23-2006, 11:26 AM
I suspect that, like my modules, the code doesn't support prefixes.

I never did figure out how to do that (well, to be honest I never tried!).

Fozzie
02-23-2006, 11:30 AM
I could never figure out the point of a prefix :confused: :)

SimonMallion
02-23-2006, 11:50 AM
Well, I guess the fix is simple, but I cannot test it because the 'machine' is recording:

put:

global url_prefix

after:

proc getTypeLinks { } {

and also after:

proc getDayLinks { } {



and change where is says:

set linkHTML "${linkHTML}<A href=\"/highlights etc....

to:

set linkHTML "${linkHTML}<A href=\"/${url_prefix}highlights etc....


something like that, remember this is untested. It is used in search.itcl and webremote.itcl, you can check these for an example.

I use the prefix because of the way I have my Apache webserver set up to allow me to access my tivo from work, for example.

d33mb33
02-23-2006, 05:25 PM
I should really have read the TivoWeb specs...!

I'll look into urlprefix and see if there's anything else I've missed while I'm at it :rolleyes:

It sounds like you could fix it yourself in the meantime?

The Obo
02-24-2006, 04:40 AM
Hi Obo.. It is possible to show the extra recording info but I'm concerned about making the current version of the module any slower than it is at the moment..

I have been putting some work in recently towards another major release of this module.. but my free time is a bit limited at the moment :(

If you think it is too slow then perhaps make it configurable via a Highlights.CFG file? I personally don't find it particularly slow at the moment...
After a few weeks of using this (very good) module, I find myslef constantly wishing I could see instantly if the programs on the list are going to be recorded or not....

d33mb33
02-24-2006, 05:42 AM
If you think it is too slow then perhaps make it configurable via a Highlights.CFG file?.

Excellent idea. Duly reconsidered for the next release :)

tartan_haggis
02-25-2006, 06:43 AM
d33mb33 this is a great module - well done!

Would be even better as a Apple Mac dashboard widget (or Yahoo! Widget for PCs) - as then you could view the highlights from your desktop and only start TiVoWeb up if you wanted to record one of the episodes. I haven't really got into widget development yet, but if I do, I'll be sure to try this!

Keep up the good work! Pictures make TiVoWeb so much cheerier :-)

LJ
02-25-2006, 06:51 AM
Well, I guess the fix is simpleLooks fine
but I cannot test it because the 'machine' is recordingNo need to restart TiVo, just upload the new module and do a Quick Reload in TiVoWeb.

SimonMallion
02-27-2006, 04:55 AM
It sounds like you could fix it yourself in the meantime?

Thanks for LJ for giving this a quick look :)

Attached is version 0.95 of the highlights module, complete with the url_prefix additions.

Enjoy.

BTW. This also works with tivowebplus 1.2.1.

Fozzie
02-27-2006, 08:56 AM
Guys, in the interest of maintaining some element of configuration control, wouldn't it be better if only d33mb33 released changes to his module? There may be changes that he has already implemented for a future release and so things can get very confusing if other people start releasing updates at the same time.

The way these things usually work is that changes get sent to the author, they get checked and then implemented and released where applicable, with a new release number.

d33mb33
02-27-2006, 09:07 AM
I don't mind people releasing different branches of the tool but I would echo Fozzie's comments that they also send me details of their changes if they would like them to be included in the main release.

Since Simon has already provided details of the fix, it will be included in the next official release.

mesaka
03-02-2006, 05:14 AM
Hi

is there a problem with this excellent module and the new channel numbers? Despite adding LJs new index.tcl I am getting a lot of channels not found messages?

Fred1
03-02-2006, 05:27 AM
I strongly suspect that this is due to the channel number changes by sky on the 28th the channel list will have to be rewritten.

d33mb33
03-02-2006, 02:43 PM
I don't have Sky so have trouble testing the module with the new channel numbers.

Can anyone else with Sky confirm that the new channel numbers have affected the module? :rolleyes:

If so, could someone also kindly *volunteer* to act as my guinea pig whilst I fix the problem? :)

LJ
03-02-2006, 07:07 PM
Seems fine on mine... finds the TV and radio channels I expect and fails on Disney Channel etc that I don't receive.

mesaka can you post some more details?

mesaka
03-03-2006, 05:11 AM
Actually, erm, cough, erm, it seems that I had wider trouble as several other modules stopped working.

I just rebooted TiVo and everything is back to excellent working order.

Sorry for misleading you all...

hornist
03-10-2006, 08:11 AM
Maybe another minor glitch?

Today's listings for Hustle and My Family end with:
'Unable to find channel (BBC1 (not Scotland))'
rather than a link to the programme.

Presumably it's the 'not Scotland' bit that has fooled it.

I'm using the latest version from the first post in the thread.

Keep up the good work - it's a great module.

Paul

d33mb33
03-16-2006, 05:56 PM
I have had a bit more free time in the last week or two so have been able to do another major release of this module.

New features / fixes include:

- Added Films section with image upload
- Added Recording symbols
- Added a call to SlotFree (thanks LJ)
- Added Options screen
- Added url_prefix (thanks SimonMallion)
- Special processing to handle "not Scotland" labels

Some of this new stuff is beta only so I will use the next couple of weeks to stabilise it with bug fixes etc.

...coolstream
03-16-2006, 10:44 PM
I have had a bit more free time in the last week or two so have been able to do another major release of this module.
All appears to work well with welcome added features! :)

Startup is a little slower than previous versions, but considering the extra data processing, I find this acceptable. Typically the page rendering is well within acceptable limits.

I have only recently tried the moviesearch module (not yours) which relies on a secondary module compiling a database and updating it on a daily basis. I find your approach (i.e. listing by day a much more convenient approach).

Another plus of your module over the original moviesearch module is that it does not require any editing of configuration files or dabbling with crond. :up:

My only question refers to archiving of your previous versions. The last official version was 0.94, what version number will you be giving this one?

d33mb33
03-17-2006, 04:00 AM
As soon as this version stabilises it will be version V1.00. At the moment it is at V0.98.

The module does cache requests that you make so subsequent requests (of the same type and day) are faster. For example, once you have loaded the films for a specific day, changing the search filter returns the results from cache.

...coolstream
03-17-2006, 07:04 AM
Thanks for the information. This module just grows from strength to strength!

The Obo
03-17-2006, 09:50 AM
d33mb33, Great to see you've implemented my suggestion to show whether you are planned to record the program or not and whether it's a season pass! :up:

I'm gonna install it now! :D

Fozzie
03-18-2006, 08:55 AM
Great new features. Thanks :)

tartan_haggis
03-25-2006, 05:33 PM
Hi - just noticed the module doesn't take account of daylight savings time changes. A classic example being that a Highlight for tomorrow night is "Planet Earth" on BBC1 at 9.00pm - except that tomorrow will be BST and the programme actually airs at 8.00pm BST. The result of this is that the episode link points to BBC News at 9.00pm BST instead of Planet Earth.

Reading earlier posts, BBC2 is Channel 2 on Freeview. BBC News 24 should be Channel 80 on the standard lineup. If you need a full list of channels, send me a PM.

...coolstream
03-25-2006, 07:57 PM
maybe check tivoweb again tomorrow after the time change. I have a feeling it will change automatically.

LJ
03-26-2006, 01:40 AM
It's a TiVoWeb issue - TiVo stores times in GMT always; TW calculates the timezone at startup only. Restart TW and all should be fine.

richw
03-26-2006, 03:43 PM
It's a TiVoWeb issue - TiVo stores times in GMT always; TW calculates the timezone at startup only. Restart TW and all should be fine.

Doesn't seem to have made much difference here.

I stopped and restarted TW this morning. ToDo is now back in sync, but highlights are still an hour out.

LJ
03-26-2006, 04:05 PM
*has a read of the code...*

You're right... d33mb33, you need to adjust the times from the RT site back to GMT as the TiVo stores programme times in GMT - adding the "tzoffset" global to the time in seconds will get you back to GMT.

d33mb33
03-26-2006, 06:17 PM
Apologies. This was something that I knew I had to do but never got round to actually doing. Thanks for the pointer LJ :up:

The version attached to the first post has been updated.

My TiVo seemed to need a full reboot to pick up the daylight savings time in TiVoWeb but all seems to be fine now.

Also, you will need to clear your cache (in the "Options" section) if you have already run Highlights today.

LJ
03-27-2006, 11:40 AM
BST fix looks good, however... (don't you just hate that :p ) just found another issue:

Unable to parse time (12 midnight )

d33mb33
03-27-2006, 01:15 PM
Yeah. I spotted that as well.

At some point I have to draw a line on how "fuzzy" my channel and time matching goes. It's the first time I've seen a time represented like that and it may well be the last. If they do it again then I'll make a change to the source. Otherwise it can go whistle :p

Darren Skidmore
04-07-2006, 01:38 PM
*has a read of the code...*

You're right... d33mb33, you need to adjust the times from the RT site back to GMT as the TiVo stores programme times in GMT - adding the "tzoffset" global to the time in seconds will get you back to GMT.

Hi. I have the same problem with times being an hour out (Even after a full reboot).

Please could you explain "tzoffset" in idiot speak for my benefit :)

Many Thanks

Darren

d33mb33
04-07-2006, 04:06 PM
Hi Darren.

My original code didn't allow for clock changes.. and I had to amend it to allow for British summer time. Please make sure you have the latest version from the first post. If tzoffset is not working on your Tivo then it would affect more modules than just Highlights.

Let me know if you manage to fix it.

Darren Skidmore
04-08-2006, 09:12 AM
Many thanks that has sorted it.

By the way I forgot to thank you for such a useful module! :)

Darren

tartan_haggis
05-07-2006, 06:29 AM
Does anyone else have this problem? I've just noticed that whenever I click on "Tomorrow", it returns an empty page with "page rendered in 1 second" and nothing else. "Today" and all the other pages work perfectly.

This has worked before, and I haven't updated the module recently.

Something to do with the Radio Times site maybe?

...coolstream
05-07-2006, 10:22 AM
Does anyone else have this problem? I've just noticed that whenever I click on "Tomorrow", it returns an empty page with "page rendered in 1 second" and nothing else.
No problems here. Just checked and the link is working for me

djb2002
05-13-2006, 04:48 AM
I've added this module, and although I have restarted Tivoweb (both Quick and Full), I can't see the option.

Should this be listed on the main menu screen ?

Thanks
Daniel

LJ
05-13-2006, 04:58 AM
Certainly should. Maybe try deleting it from the TiVo and downloading a fresh copy...

djb2002
05-13-2006, 05:14 AM
OK, just tried that, but it hasn't made any difference... ?? :(

Is there a direct link I can try to the highlights page ?

Thanks
Daniel

LJ
05-13-2006, 05:21 AM
Meh. It's http://tivo/highlights/ What size is the file on your TiVo?

djb2002
05-13-2006, 05:26 AM
The file size is showing as 30777.

Accessing the page 'highlights' directory just comes back with 404 Not Found.

I don't know if it is connected, but I've noticed that not all my themes are listed under 'Theme Browser', even though they are there in the correct directory.

Thanks
Daniel

LJ
05-13-2006, 05:29 AM
Hmm, mine is version 0.99 and it's showing as 29906. Are you transferring in binary mode - sounds like a Unix->DOS file conversion could be happening at some point. If you "cat highlights.itcl" on the TiVo are there "^M"s at the end of the lines?

djb2002
05-13-2006, 05:31 AM
Hi,

I've just had a look, and I cannot see any "^M"s at the end of any of the lines ?

Thanks
Daniel

Fozzie
05-13-2006, 05:36 AM
Something's happening with your file transfer; it should be 29906 bytes.

djb2002
05-13-2006, 05:39 AM
I'm not sure why the file size is different, but....

I've swapped over from Tivoweb to TivowebPlus and it is now showing (and seems to be working OK)......

I'm very confused with all of this. As you can probably tell, I am new to Tivoweb(plus).

Thanks again
Daniel

gyre
06-22-2006, 11:41 AM
I'm finding that periodically tivoweb never responds after clicking on highlights. I have to reboot the tivo to get another web page.

Is there something I could tweak to stop this happening?

-- gyre --

mesaka
06-29-2006, 04:36 AM
Just started to have problems today

Have tried rebooting, restarting TiVoweb and mfscheck. Still no joy...any ideas?

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]
..."
(procedure "getShowingByStationAndTime" line 6)
invoked from within
"getShowingByStationAndTime $prgdate $prgtime $prgstation"
(procedure "getRTShowsFromWeb" line 84)
invoked from within
"getRTShowsFromWeb "/${gtype}highlights/""
(procedure "getRTShows" line 10)
invoked from within
"getRTShows"
(procedure "::action_highlights" line 32)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

d33mb33
06-29-2006, 05:03 PM
Looks like a problem with your guide data... but it shouldn't have crashed like that... :o

Try clearing the cache (Options -> Clear Cached Shows) and try again, perhaps after a successful daily call.

It all seems OK on my Tivo.

d33mb33
08-18-2006, 05:05 PM
V0.99 has been stable for a while now so I thought it was time to up the version number to V1.00 and add another feature!

All Highlights can now be retrieved as RSS 2.0 feeds as well as web pages. To enable RSS you must enter the url of your TiVo on the options screen. (e.g. http://tivo or http://192.168.1.xxx). RSS feeds are selectable by day and by type and observe any filter you may have set on a page. This feature means you can set up feeds such as "Tommorrow's TV Highlights" or "Today's Films made after 1990 with a 3* rating or higher"

Remember that if your TiVo is secured through a username and password then your RSS reader must support basic authentication for the feeds to work.

New features / fixes include:

- Added RSS
- Added url_prefix to highlights images
- Fixed minor issue with incorrect cache expiry times

Any problems with the new features then post to this thread or send me a PM.

...coolstream
08-21-2006, 09:31 AM
Hi,

Does the fuzzy logic for Film Four (FILMFOUR) need to be tinkered with?
e.g.

Frankenstein
Film4 - 4:55pm
Shocking in its day and still creepy, James Whale directs an enthralling interpretation of Mary Shelley's classic, with Boris Karloff breathing miraculous life into his definitive monster portrayal.
FILM
Unable to find channel (Film4)

Edit
When using the 'Films' part of the module, the channel shows as Film Four
When using 'Radio Times TV' part, it shows as Film4

The error may be on Radio Times part and not the module

inahat
08-21-2006, 11:51 AM
had never seen this module before, just installed it and it's great.

good job

d33mb33
08-21-2006, 05:50 PM
Hi,

Does the fuzzy logic for Film Four (FILMFOUR) need to be tinkered with?
e.g.



Yup, well spotted.. will fix it now. :)

...coolstream
08-21-2006, 07:41 PM
Yup, well spotted.. will fix it now. :)

Thanks for the quick update :) However, the problem still appears to be there. :eek:

THURS
As Good as It Gets
Film4 - 9:00pm
A mixed-bag romantic comedy that's ostensibly about Jack Nicholson as an obsessive-compulsive homophobic bigot, but is really about Helen Hunt, a revelation who trounces her co-star.
FILM
Unable to find channel (Film4)


I'm sure you'll have it licked soon, but could I also request a slight addition to the module? Would it be possible to add a pop-up stating the version number of the module? This would make it easier for users to check from the startup menu that they are running the latest version of the module and can be easily added to the final line in the module.

i.e.
change

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

to something like

register_module "highlights" title=\"v xxx by d33mb33" "Highlights" "Browse and record the following week's highlights"

khalid15
08-22-2006, 05:20 AM
thak

d33mb33
08-22-2006, 07:13 AM
However, the problem still appears to be there. :eek:


Clear the Highlights cache (Options -> Clear Cached Shows)

SwissDude
08-22-2006, 10:51 AM
I am having problems getting the RSS feed to work.

I am using RSSReader 1.0.88.0 (the latest version) available from www.rssreader.com (http://www.rssreader.com/).

My tivo is at 192.168.1.150 and I have set TivoWeb to use a different port (say 1234) with user/password authentication, since I sometimes access it from the Internet.

I have set up the TiVoWeb Url to be http://192.168.1.150:1234 in the Highlights -> Options section of TiVoWeb.

When I try to add the feed and provide the IP address of the TiVo (with the :1234 at the end) and the user/password authentication, it returns with the error "Feed contains a XML syntax error" and "This is an unexpected token. The expected token is 'WHITESPACE'. Line 1. Position 63."

If I attempt to continue and still try to connect to the feed, by pressing the "Connecting" button, nothing happens.

Obviously if I enter the wrong user/password authentication or another port when adding the feed, I get the error "Feed not found or connection failed", so something is actually happening.

Can anybody shed some light on the above and help me get this to work?

TIA

d33mb33
08-22-2006, 03:17 PM
I am using RSSReader 1.0.88.0 (the latest version) available from ...


Hmmm.. I have just checked Today's TV and Film Highlights with RSS Reader and it looks to be working fine. It could be a data problem where I'm not escaping something properly.

Please could you post the full url of the Highlights feed you are requesting.

Thanks

SwissDude
08-22-2006, 03:36 PM
I am asking for http://192.168.1.150:1234/highlights/

Could it be the non standard port (:1234)?

TIA

d33mb33
08-22-2006, 03:53 PM
I am asking for http://192.168.1.150:1234/highlights/

Could it be the non standard port (:1234)?

TIA

No, I think you are using it incorrecly. You need to use the url from the RSS logo, not the url of the browser page. Right click the logo and "Copy Shortcut" to get the right RSS feed for the current page.

Sorry if the instructions in the first post weren't clear on this...

Your url for say, Today's Radio Times TV Highlights should be:
http://192.168.1.150:1234/highlights?grss=1&gtype=tv&gday=00

SwissDude
08-22-2006, 04:02 PM
Yup. Works perfectly now. Thanks.

One last little problem, on TiVoWeb, when displaying (for example Today's Radio TV Times Highlights) the "No recordings scheduled in this slot" PNG file is not displayed (I get the typical IE boxed red "x" in its place) and the url link seems to always be http://www.tivohighlights.com//img/PaidSuggest-256.3.png.

Other PNG files (like "1 scheduled", with a the url link http://www.tivohighlights.com//img/conflict1.png) work fine.

Any reason you can think of?

TIA

d33mb33
08-22-2006, 05:41 PM
.... (I get the typical IE boxed red "x" in its place) ....
Any reason you can think of?


Yup, I haven't ever tested on TivoWebPlus (I don't use it). I have fixed the image on the server so you shouldn't need to download a new version :)

SwissDude
08-22-2006, 06:06 PM
Everything is perfect now :) Thanks again for your help.

BTW, I don't use TiVoWebPlus either.

...coolstream
08-22-2006, 07:11 PM
Clear the Highlights cache (Options -> Clear Cached Shows)
Problem solved! Thanks again :up:

BobBlueUK
09-12-2006, 05:41 PM
I'm having intermittent problems with RSS - the highlights module seems to 'forget' the TiVoWeb URL that's set in options every now and then. Works fine for a while and then I have to re-enter the TiVoWeb URL manually to get RSS working again. Any ideas what the problem could be?

goodisonboy
09-14-2006, 04:45 AM
I'm having intermittent problems with RSS - the highlights module seems to 'forget' the TiVoWeb URL that's set in options every now and then. Works fine for a while and then I have to re-enter the TiVoWeb URL manually to get RSS working again. Any ideas what the problem could be?

I also noticed this yesterday that my RSS link was showing as c:\highlights..

This possibly may of been after a TIvo reboot?

d33mb33
09-14-2006, 04:57 PM
I'm having intermittent problems with RSS - the highlights module seems to 'forget' the TiVoWeb URL that's set in options every now and then. Works fine for a while and then I have to re-enter the TiVoWeb URL manually to get RSS working again. Any ideas what the problem could be?

Yup, sorry about that. I am saving the config settings to a temporary area on the TiVo drive.. which gets cleared on a reboot.

I will save it to somewhere more permanent in the next version.. Until then we need to keep reentering it.. or stop the TiVo from rebooting ;)

BobBlueUK
09-14-2006, 06:01 PM
Thanks for that, at least it's a known 'issue' rather than an obscure bug!

Unfortunately most of the reboots are probably self-inflicted as a result of too much tinkering (or just a lazy way to restart endpad etc when they stop) but it's good to know what the cause is all the same...

Look forward to the next version! :)

BobBlueUK
09-20-2006, 07:17 PM
Yup, sorry about that. I am saving the config settings to a temporary area on the TiVo drive.. which gets cleared on a reboot.

I will save it to somewhere more permanent in the next version.. Until then we need to keep reentering it.. or stop the TiVo from rebooting ;)Just a quick update to point out that my RSS listings have stopped working again as above (disappearing config), but it is NOT related to a TiVo reboot. The RSS feed stopped working at some point over the last 24 hours, but my TiVo uptime is showing as 3 days or so (and my Dailymail emails confirm that no unscheduled reboots have occurred lately).

Not too worried as d33mb33 is aware of the issue, but just wanted to confirm that the temporary area on TiVo where the config is stored seems to be cleared more often than just on reboots!

d33mb33
09-24-2006, 07:43 AM
V1.02 can now be downloaded from the start of the thread. This release fixes the issue where the RSS tivo url randomly clears itself.

BobBlueUK
09-24-2006, 05:51 PM
Wahey! :cool:

Downloaded and installed - working fine and have confirmed RSS does indeed survive a reboot now...

Thanks for the update, d33mb33! Much appreciated. :)

d33mb33
09-25-2006, 04:59 PM
Downloaded and installed - working fine and have confirmed RSS does indeed survive a reboot now...

Glad it worked!

Could I ask all existing Highlights users to comment on a proposed new feature of this module?

I have posted details here: http://www.tivocommunity.com/tivo-vb/showthread.php?t=318709

dogo
10-01-2006, 03:30 PM
Hi,
I've installed this module and it works fine, except when i click on the film option i get this
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 5)
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 16)
invoked from within
"getAllFilmsFromDb"
(procedure "getFilms" line 11)
invoked from within
"getFilms"
(procedure "::action_highlights" line 35)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--


sometimes i get no error message just a reboot on the Tivo any ideas as to why

also i found this in the logs

Oct 1 19:31:42 (none) TmkAssertionFailure[116]: (BlockFailure, line 1771 ())
Oct 1 19:31:42 (none) tivosh[116]: Tmk Fatal Error: Thread tivosh <116> died due to signal -2
Oct 1 19:31:42 (none) tivosh[116]: Tmk Thread Backtrace: 1a344ec 1a32a44 1a2ed70 1b95e0c 1c4d5e8 1c91a7c 1c67ec4 1c61118 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c640f8 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c61798 19148b8 19230c0 1929274 1c98f2c 1c88c24 1c88f34 1919d90 1c61118 1c77e7c 1c61a10 1c849c0 1c85ec8 1c4d248 1c28cac 1800134 ipe
Oct 1 19:31:42 (none) tivosh[116]: Tmk Fatal Error: Thread died due to signal -2
Oct 1 19:31:42 (none) tivosh[116]: Invoking rule 834: rebooting system


Regards

Dogo

d33mb33
10-01-2006, 04:22 PM
See LJ's post earlier in this thread:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=3750186#post3750186

0x00030007 crops up sometimes.. I don't think it's anything specific to the Highlights module.

dogo
10-01-2006, 04:36 PM
Hi,

Did not work for me, done a full reboot and it still crashes the Tivo

regards

Dogo

See LJ's post earlier in this thread:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=3750186#post3750186

0x00030007 crops up sometimes.. I don't think it's anything specific to the Highlights module.

Pete77
12-12-2006, 07:14 AM
I have been using this fantastic TivoWeb Highlights module and its earlier and its very latest version happily for ages but I have seen a couple of broken Episode Links lately so no doubt the Radio Times have changed something in their data format somewhere? In general though most of the Episode Links to the Tivo EPG are all still working though.

I have forgotten what one of the breaks I spotted a couple of weeks back was now but can point to one that has just appeared for next Monday 18th December.

This is the Highlights item for "When The Levees Broke" shown as being on BBC2 at 9pm but where the Episode Link is instead for The Choir on BBC2 at 9pm. I have now done a Search for the program in TivoWeb and have found out that its in fact due to be shown at 9pm on BBC4 on that day so it seems Highlights has picked up the wrong channel number for it from the Radio Times for some reason?

By the way d33mb33 how are you getting on with your idea of showing other programs that Tivo users who recorded that program also watched? I haven't heard any more of late so does that mean that you are deep in development or have simply given up on the whole idea?

Any thoughts on why there are now some broken links to the wrong channel with the Highlights module would be greatly appreciated.

Pete77
12-12-2006, 05:49 PM
Has no one else been experiencing problems with Highlights selecting the wrong episode to record lately?

BobBlueUK
12-12-2006, 06:39 PM
Can't say that I've encountered the problem much, but I checked your "When The Levees Broke" example yesterday and the episode link did indeed lead to "The Choir" just as you stated...

d33mb33
12-12-2006, 06:46 PM
I have been using this fantastic TivoWeb Highlights module and its earlier and its very latest version happily for ages but I have seen a couple of broken Episode Links lately..

Glad to hear that you still find the module useful. Due to some limitations in the way the module is coded and some 'variances' in the RadioTimes listings the odd broken link is inevitable. When something is seriously broken (e.g. Five US doesn't work on my setup) I will try to issue a patch fix.


This is the Highlights item for "When The Levees Broke" shown as being on BBC2 at 9pm but where the Episode Link is instead for The Choir on BBC2 at 9pm.

Funnily enough, this looks like a listings error rather than a problem with Highlights. Tribune is currently listing "The Choir" at 9pm Monday when it should actually be "When The Levees Broke". This will probably get fixed by Tribune in the coming days.


By the way d33mb33 how are you getting on with your idea of showing other programs that Tivo users who recorded that program also watched? I haven't heard any more of late so does that mean that you are deep in development or have simply given up on the whole idea?

A few people got behind the idea but I think on the whole the payback ratio wasn't good enough for it to be worth doing the work. We are only a small community here and these things generally only work when you have enough people to filter out the anomalies and get some real trends out of the data.

I'm still very willing to continue to enhance the module if people have got some killer ideas!

Pete77
12-12-2006, 07:03 PM
I'm still very willing to continue to enhance the module if people have got some killer ideas!

It would certainly be quite useful to be able to Allow some generic data series and to Block other series on a series by series basis instead of only through the global settings as at present.

For instance I may have a Wishlist with say the word Air in it that may repeatedly keep catching certain series with generic data that I want to block but also catches other programs with generic data that I want to record.

Also it would be very handy if there was some way for Tracker to forcibly update itself after a certain period and before episode data is permanently lost without having to set up a Cron job to achieve this as without a user manual telling me how to do so (I'm very good at following well written instructions even when the Linux bash prompt and commands like Mount and Unmount are involved) then using the Cron route seems to be beyond my capabilities.

I don't suppose there is any way for TivoWeb to call Tracker every time it starts up and if Tracker hasn't been Updated for more than x weeks then the process is triggered automatically?

But anyhow overall my view is that your Highlights module is the main reason that most people actually use TivoWeb along with easier block deletion of outdated items in Now Playing (especially for those of us with large hard drives and total recording numbers) and better management of Season Passes. Also using Suggestions in TivoWeb is a lot better than on the Tivo and Ljay's module to edit Thumbs values for series via User Interface/Preferences is pretty useful too. It still seems a pity that no one has found a way to start recordings listed in Now Playing actually playing on the Tivo though. Unless of course someone can tell me a way to do this? :(

By the way I should have known those Tribune boys rather than your TivoWeb Highlights module were to blame on "The Day The Levies Broke" front. I have only seen this and one other fault in recent weeks so I expect Tribune were to blame for that one too. I should also have added that the Tribunites have failed to link the two episodes of When The Levies Broke together as a series too. To be honest they just don't seem to be bothering to link up any of these two episode series that have become more popular with the broadcasters in recent times. Tsunami:The Aftermath was another one.

d33mb33
12-12-2006, 07:24 PM
One for the Tracker thread i think! :)

I'd find Tracker more useful if it ran like Endpad.. cron seems to make my machine unstable and I don't have the time or energy to track down why.

Suggestions are next to useless for me because of the sheer volume of UKGold and Paramount repeats.

Pete77
12-12-2006, 08:27 PM
One for the Tracker thread i think! :)

I'd find Tracker more useful if it ran like Endpad.. cron seems to make my machine unstable and I don't have the time or energy to track down why.

What was that I was drinking. It must have been stronger than it looked ;) :D

On the Highlights front it would be really useful to be able to see the whole week at one go for Films and in that context to also be able to select by only Four Star Films or better or possibly even to have only Five Star films too. This combined with the year restrictions would provide a really powerful tool for only finding the best films.

It would also be nice if Highlights could work for more than a week at one go but clearly that's a limitation currently imposed by the Radio Times and not by your TivoWeb Module.

Of course there are other online tv, radio and film guides in addition to the Radio Times that you could possibly come up with another section of the Highlights module to link to.................. :up:

Suggestions are next to useless for me because of the sheer volume of UKGold and Paramount repeats.

I don't have either UK Gold or Paramount Comedy channels in my lineup. One advantage of refusing to cough up for subscriptions and only having the Freesat and Freeview channels I suppose.

However I do find Suggestions never seems to work for me on Films, (that is that Suggestions never comes up with any films rather than it coming up with the wrong kind of films), which is rather disappointing as I'm something of a film buff. :down:

Pete77
03-17-2007, 01:12 AM
Hi d33mb33,

I just wondered if you were perhaps suffering any withdrawal symptoms from Tivoweb module development lately? ;) :D

If you were can I possibly suggest a couple of useful little projects, which would be much appreciated by me and probably a few others. These are as follows:-

1. Updating Highlights Module to run under TivoWebPlus 2.0

You may be aware that a new version of TivoWebPlus called TivoWebPlus 2.0 is out that is not directly backwardly compatible with modules written for TivoWeb 1.9.4 but apparently only requires a modest amount of modification of those modules in order to get them to work with it. The big advantage of TivoWebPlus 2.0 is that those of us with larger program databases like Sky Digital and Freeview combined don't suffer the reboot issues that were common under TivoWeb 1.9.4 when using modules like your Highlights, Tracker, Search by Advisory Codes and one or two others.

As TivoWebPlus 2.0 seems to be rather taking off in popularity due to its much greater stability I wondered if there was any chance you would think it was ultimately worth coming out with a TWP 2.0 compatible version of your module?

2. Enhanced Backup Module to Also Backup Thumbs Ratings

The other matter on which you may be able to help is in possibly enhancing the Backup module (which currently backs up Season Passes and Wislists) so that it also backs up the many hundreds or thousands of thumbs ratings most of us have set over the years and that lead to TivoWeb's Suggestions (both the manual sort you can Search for and the automatic ones it tries to record when there is disk space).

I assume you use this Backup module yourself but are you aware that none of your thumbs data is protected by it and the only way to do this at present is to take the hard drive out of the Tivo and save some sort of image of the Tivo setup.

Well I'm probably pushing my luck here but considering what a great job you did with Highlights I just wondered if getting it working for the new version of TivoWebPlus, or trying your hand at a module to backup and restore all the thumbs data appealed to you at all.

Sadly as a non programmer such activities would be beyond the capabilities of a mere mortal like myself. :o

TCM2007
03-17-2007, 07:27 AM
It's not as hard as you think Pete; go on, invest in a copy of Hacking TiVo and show us what you're made of!

Pete77
03-17-2007, 07:46 AM
It's not as hard as you think Pete; go on, invest in a copy of Hacking TiVo and show us what you're made of!

You clearly hold me in less lowly regard than I had previously imagined to be the case TCM ;) :p

I did do some programming in Basic long ago but its results were enough to suggest to me that I was not a born programmer. Also the amount of work required to get any kind of graphical output on screen rather than simple text is usually fairly prodigious, although I suppose the main Tivoweb engine has most of the graphics generation features built in and one merely has to call them up as required?

TCM2007
03-17-2007, 09:16 AM
There is no graphical work at all. You simply "print" lines of HTML for the results bit of the screen, the rest of it is done by TW, and TW even has built-in functions to take the pain out of generating the HTML.

Pete77
03-17-2007, 10:01 AM
It's not as hard as you think Pete; go on, invest in a copy of Hacking TiVo and show us what you're made of!

OK I got hold of the last copy of the 2nd edition of Hacking Tivo by William Von Hagen from www.bookdepositry.co.uk for £13.63. www.amazon.co.uk wanted £17.45, although they have the 1st edition for only £8 or something.

I do hope this is the book you were talking about:-

www.bookdepository.co.uk/WEBSITE/WWW/WEBPAGES/showbook.php?id=1592004814

Pete77
03-17-2007, 10:20 AM
Looking at it again I have a nasty feeling that you meant the book by Jeff Keegan rather than by William Von Hagen?

TCM2007
03-17-2007, 10:29 AM
Fraid so, it's Keegan you want.

Pete77
03-17-2007, 10:38 AM
Fraid so, it's Keegan you want.

OK I found a second hand copy of the Keegan version of Hacking Tivo via amazon from somewhere called Betterworld in the USA for £4.42 including delivery (hope there is no VAT or customs on top and that they declare it as having negligible value)

Hopefully the www.bookdepository.co.uk will accept my cancel instruction sent only a few minutes after ordering for the Von Hagen version.

Or was there anything worth having in the William Von Hagen book I wouldn't already know?

ColinYounger
03-17-2007, 10:49 AM
Pete - I've got Keegan en-route from the US at the moment. I got mine from A1 Books on Amazon.

Be aware - it seems to take an interminable amount of time for it to arrive. It took two weeks for them to get a copy from the publisher, and it's been a week since they shipped it. That was even though they claimed on Amazon that they had stock. Ho hum.

I've done enough tweaking now to be very interested (i.e. I understand the language mostly), it's all the clever stuff about 'where things are' that I can't get my head round (i.e. comments from TCM that say 'it's in the MFS' :) ) and scoping.

I've found The Tcler's Wiki (http://wiki.tcl.tk/) useful for odd keywords that I don't understand the syntax of.

As ever - with any programming - looking at how someone else has done something similar is always fruitful. Just don't look at the DailyMail script just yet. :D

Pete77
03-17-2007, 11:01 AM
Pete - I've got Keegan en-route from the US at the moment. I got mine from A1 Books on Amazon.

Be aware - it seems to take an interminable amount of time for it to arrive. It took two weeks for them to get a copy from the publisher, and it's been a week since they shipped it. That was even though they claimed on Amazon that they had stock. Ho hum

Mine is supposed to be secondhand and they are only charging £1.73 for the book and £2.75 for the shipping, so I can't see how they can be ordering it from somewhere else at that price?

I'm sure for a programmer like yourself looking at TCL will be fascinating. For me though as a numbers and data geek its really the end product of the coding, rather than the coding itself, which is usually the more interesting part.

Pete77
03-17-2007, 11:07 AM
Have now received this email. Looks like 2 weeks to a month to arrive. No real hurry for this here though.

At least I'm helping fund literacy initiatives around the world and giving a new home to a book that might otherwise have been pulped. :up:

-----Original Message-----
From: BetterWorld.com
Sent: 17 March 2007 14:53
Subject: Your order from Amazon.co.uk: "Hacking TiVo: The Expansion, Enhancement and Development Starter Kit with CD-ROM"

Thank you for your recent
book purchase from Better World Books!

Better World Books utilizes the value of the
book to fund literacy initiatives locally, nationally and around the world. Please know that your purchase will help us in our efforts to promote and support our literacy partners and their initiatives. Your purchase will provide much needed funding that is instrumental to the efforts of those whose passion it is to provide the world's least fortunate with the opportunities that literacy affords.

We have received your order, which includes: Hacking TiVo: The Expansion, Enhancement and Development Starter Kit with CD-ROM, and we will be sending it via International shipping to the following address:

We provide quick shipping service to all our customers. You can expect delivery within the following time frame:

For International shipments we ship via Brokers Worldwide. Since we ship from the US, delivery time for shipments is usually 7-14 business days, but it can sometimes take up to 21 business days. Unfortunately, our arrangements with Brokers Worldwide do not include tracking, but we have a very good record of shipments arriving in a timely fashion. Most orders arrive within 2-3 weeks.

If you need to cancel this order for any reason please visit http://www.betterworldbooks.com/CustomerWebService to cancel your order or update the shipping address. You will be asked to provide your Order #and either your email, name, or zip code. Cancellations will only be accepted until 8:00 AM EST the next business day after your order is placed.

If you need to contact us for any other reason, you can reach us by email at:. Please be sure to include your Order ID # with your inquiry.

Thank you again for your purchase!

Sincerely,

The Better World Books Team

ColinYounger
03-17-2007, 05:05 PM
Pete - I ordered a second hand one as well. But they didn't have any and as compensation sourced a new one.

So - into statistics and data analysis, eh? Interesting. Please expand as I want to 'get into' data analysis.

d33mb33
03-18-2007, 07:31 PM
I spent a few hours this afternoon making some modifications to get Highlights working on TWP 2.0. I haven't had time to properly look at TWP 2.0 so have just made the modifications necessary to get it running. I think there might be scope for optimising the module to run under the new framework (faster, more reliable etc) but I'll look at that another day.

I'll keep an eye on it over the next couple of days and then release it if nothing untoward happens.

Pete77, do you want a beta copy to help me with testing?

And can we keep the stuff about the book out of this thread?

Ta

Pete77
03-19-2007, 02:49 AM
I spent a few hours this afternoon making some modifications to get Highlights working on TWP 2.0. I haven't had time to properly look at TWP 2.0 so have just made the modifications necessary to get it running. I think there might be scope for optimising the module to run under the new framework (faster, more reliable etc) but I'll look at that another day.

I'll keep an eye on it over the next couple of days and then release it if nothing untoward happens.

Pete77, do you want a beta copy to help me with testing?

d33mb33,

Confession time here as I am still on TWP 1.3.1 plus TW 1.9.4, however the release of your TWP 2.0 compatible beta, along with PortlandPaw's recent release of his TWP 2.0 compliant version of Hackman (seemingly also still a Beta although technically classed as an official release by PortlandPaw) gives me the incentive to try to change over. Whilst I also use DailyMail and Tracker both of those have TCL modules run by crontab that do not rely on me using the TW 1.9.4 interface modules.

As one particularly afflicted with TW 1.9.4 reboots having a copy of a Beta to try your new Highlight module variant under TWP 2.0 would be great.

What kind of stuff exactly did you need to change in the module and where did you find out what you needed to change? I agree not many UK users saw an advantage in TWP up to v1.3.1 but the reboot resistance of TWP v2.0 compared to earlier versions of TivoWeb seems to rather change the picture.

Let me know how I can get the Beta from you or if you simply plan to post it in this thread?

And can we keep the stuff about the book out of this thread?

It was that TCM fellow what started it. I suppose I should have started a new thread to respond to him though. :o

RichardJH
03-19-2007, 06:13 AM
d33mb33

I am running TW2.0 and TW 1.9.4 on 2 Tivos and if you want another beta tester for your modded highlights module let me know

mark.stringer
03-22-2007, 03:50 PM
Just a quick thanks for this great new module! Was just checking the forum for anything new and came across it. Installed and working in minutes. Cheers!

BobBlueUK
03-29-2007, 08:14 AM
As pointed out by others in a separate thread (http://www.tivocommunity.com/tivo-vb/showthread.php?t=346123), the Highlights module currently does not seem to be working. Possibly due to changes at the Radio Times site??

Below is the error message I get when accessing Highlights in TiVoWeb. Also my RSS live bookmarks aren't loading in Firefox any more.INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
couldn't open socket: connection refused
while executing
"socket 212.58.235.200 80"
(procedure "getRTShowsFromWeb" line 6)
invoked from within
"getRTShowsFromWeb "/${gtype}highlights/""
(procedure "getRTShows" line 10)
invoked from within
"getRTShows"
(procedure "::action_highlights" line 33)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

Pete77
03-30-2007, 04:54 AM
As pointed out by others in a separate thread (http://www.tivocommunity.com/tivo-vb/showthread.php?t=346123), the Highlights module currently does not seem to be working. Possibly due to changes at the Radio Times site??


If you ping www.radiotimes.co.uk you find that the IP address is now 212.58.235.203 instead of 212.58.235.200. But is this the entire extent of the problems or has the whole data format to be extracted now changed as well?

mesaka
03-30-2007, 07:27 AM
I just edited the module to change the ip address. Unfortunately although there is no server error anymore there are also no highlights shown - it looks like the RT web site has been changed... :(

PS For some reason the films part still works - just the radio and tv highlights fail.

Pete77
03-30-2007, 08:23 AM
PS For some reason the films part still works - just the radio and tv highlights fail.

The Highlights films data doesn't come from the Radio Times but from some internet movie database or other I believe. The Films part of the module manages to find ratings and reviews for even the most obscure of films on TrueMovies or Zone Horror and Zone Thriller. These are not listed in the Radio Times as far as I know.

cwaring
03-30-2007, 07:02 PM
Phew! Not just me then :) (Proof that searching before posting does help :p)

Pete77
03-31-2007, 04:32 AM
I suppose d33mb33 is possibly either on holiday or has a major crisis at home or at work to attend to or the forum has unsubscribed him from this thread without him realising (has happened to me on a couple of threads lately).

If Radio Times have literally chucked away the whole of their old site structure, leaving him with having to rewrite everything from the ground up, he may be wondering if it is worth all the trouble.

Can I assure him that it is worth it since as far as I'm concerned this is by far the best and most useful Tivoweb add on module.

d33mb33
03-31-2007, 05:14 AM
No crisis here :cool:

RadioTimes have changed the format of their website.. no biggie.. I purposely wrote the code to be able to handle this sort of thing without too many problems.

More worringly is the fact that the RadioTimes website seems to crash with a stack trace half the time.

Leave it to me to fix the module. We'll have to hope that RadioTimes fix the intermittent problem they seem to be having

Pete77
03-31-2007, 05:22 AM
More worringly is the fact that the RadioTimes website seems to crash with a stack trace half the time.

Leave it to me to fix the module. We'll have to hope that RadioTimes fix the intermittent problem they seem to be having

Can you translate "crash with a stack trace" for us non programmer or web developer types d33mb33. I can gather that its clearly a botched and poorly executed job by the BBC's web developers that isn't stable at the present time but not what the precise technical details are.

Anyhow its good to hear you are still out there d33mb33 and will be getting our beloved Highlights module working again. I did test your modified module with TivoWebPlus 2 briefly after I got TivoWebPlus 2 installed and broadly speaking it did seem to be working.

However I have now come to the conclusion that TivoWebPlus2 still has a lot of issues with non compatibility wild old TivoWeb 1.9.4 modules or non availability of features I regard as indispensible and so I will be sticking to TivoWeb 1.9.4 for the time being.

d33mb33
03-31-2007, 05:37 AM
Can you translate "crash with a stack trace" for us non programmer or web developer types d33mb33.

Sure.. we should get this..

[Picture of working site]

but half the time get this..

[Picture of non working site]

Pete77
03-31-2007, 05:45 AM
Perhaps you should send an email to the people at the BBC with an interest in this matter alerting them to the issues:-

Director, Marketing, Communications & Audiences

tim.davie@bbc.co.uk

and

Director, Future Media & Technology

ashley.highfield@bbc.co.uk

Perhaps no harm in also copying in the Director General of the BBC

mark.thompson@bbc.co.uk

Pete77
03-31-2007, 06:10 AM
Just sent this email to the editor of the Radio Times, Gill Hudson:-

-----Original Message-----
Sent: 31 March 2007 11:10
To: gill.hudson
Cc: ashley.highfield; tim.davie; mark.thompon
Subject: New www.radiotimes.co.uk Website is Defective

Dear Ms Hudson,

Since the format and content of the www.radiotimes.co.uk was altered a week or so ago it has been totally unreliable and when accessed around 50% of the time it crashes with a "stack overflow error".

Even the most basic testing of the site would indicate this problem and it is surely totally unacceptable that a stable and previously working www.radiotimes.co.uk website should be replaced with this version when development and testing is clearly not yet complete.

Here is an example of the error being reported around 50% of the time when accessing the www.radiotimes.co.uk website:-

500

Could not invoke Java compiler, please make sure jikesw is in /usr/local/jrun4/bin or put a JDK bin directory in your path.

jrunx.compiler.JavaCompiler$NoCompilerFoundException: Could not invoke Java compiler, please make sure jikesw is in /usr/local/jrun4/bin or put a JDK bin directory in your path.
at jrunx.compiler.JavaCompiler.outProcessCompile(JavaCompiler.j ava:467)
at jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:132)
at jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:100)
at jrun.jsp.Translator.compilePage(Translator.java:176)
at jrun.jsp.Translator.translate(Translator.java:254)
at jrun.jsp.Translator.translate(Translator.java:101)
at jrun.jsp.JSPEngine.translateJSP(JSPEngine.java:693)
at jrun.jsp.JSPServlet.translate(JSPServlet.java:125)
at jrun.jsp.JSPServlet.service(JSPServlet.java:113)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.ja va:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatc her.java:259)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineServ ice.java:541)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyS ervice.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable( ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(Thr eadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(Th readPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

I look forward to your comments.

Regards,

Pete77
03-31-2007, 06:21 AM
It seems that David King, IT Director of BBC Worldwide (which Radio Times is part of) may in fact be the person with most direct responsibility for this issue:-

See www.bbc.co.uk/pressoffice/biographies/biogs/worldwide/davidking.shtml

firstname.surname@bbc.co.uk should once again be the email address to use.

Also Peter Phippen, Managing Director of Magazines:-

www.bbc.co.uk/pressoffice/biographies/biogs/worldwide/peterphippen.shtml

Again firstname.surname@bbc.co.uk

cwaring
03-31-2007, 08:48 AM
Oh good grief! Why don't you write to your local MP and the papers too, while you're at it!! :mad:

I'm all in favour of getting errors corrected, but would never think to bombard a handfull of people, some of whom (the DG, FFS!) probably have nothing to do with the web-site (on a day-to-day basis) with the same email. Isn't that usually called Spamming?

ONE email to hostmaster@bbc.co.uk (according to this (http://www.who.is/domain_information-com/radiotimes.com/) page) or even the official way to contact them, via this (http://www.bbc.co.uk/feedback/tech_fault_web.shtml) page would have been perfectly adequate :rolleyes:

Pete77
03-31-2007, 08:56 AM
You can make a report through the official channels via BBC Information and their Capita Call centre in Belfast if you like but my experience is that a complaint in that quarter never gets anything fixed.

Emailing the editor of the Radio Times and the IT Director of BBC Worldwide seems a pretty relevant thing to do if you ask me Carl.

The BBC is such a large and faceless outfit that usually nothing ever gets addressed unless you make a fair bit of noise about it. Also Mark Thompson has a secretary who keeps track of things the public are irate enough to email him directly on. He doesn't have to take up his own day with it directly but no doubt gets a summary report once a week or so.

There are outfits where complaints via the usual channels will lead to a problem being addressed. In my experience the BBC is not one of them because they get so much feedback that their poorly skillled labourers working for the official channels don't what to do with it all.

Also how is emailing the IT Director of BBC Worldwide not a relevant thing to do? Clearly when his contactors are not competent enough to do the job and he is not competent enough to be informed of major faults in their services then emailing him directly may well be a productive thing to do.

ColinYounger
03-31-2007, 11:19 AM
Hint:

BBC upper management and executives don't see their real email. It's filtered.

Feel free to protest all you want. :)

Pete77
03-31-2007, 11:25 AM
Hint:

BBC upper management and executives don't see their real email. It's filtered.

Feel free to protest all you want. :)

Only the very senior people like Mark Thompson don't directly read their own email. Most of the next level down read their own email as the public doesn't think to email them directly on the whole.

I fear some of you suffer from a syndrome of thinking you are not personally important enough to be allowed to email a senior executive of an organisation and must deal with customer services.

ColinYounger
03-31-2007, 11:37 AM
I have no illusions, but you do. I'm not making any declarations about 'allowed to email', but supporting Carl's point about contacting the correct people in a rational way.

In short: you're taking a sledgehammer, and one that misses it's knock-out blow due to it's aim.

Remember; we're talking about a faulty web-page here. Not the future of broadcasting.

ColinYounger
03-31-2007, 11:40 AM
...and I can see you have your argumentative mood back, Pete. You've been better behaved in the last few weeks, and sometimes a pleasure to 'argue' with.

I prefer that Pete, not this one.

ColinYounger
03-31-2007, 11:44 AM
PS. Thread Drift. Conversation should be continued in a new thread.

TCM2007
03-31-2007, 12:28 PM
Did it occur to anyone that the BBC might know the website is broken and are trying to fix it? E-mailing executives as a first step rather than a last resort seems thoroughly OTT.

Pete77
03-31-2007, 12:39 PM
Did it occur to anyone that the BBC might know the website is broken and are trying to fix it? E-mailing executives as a first step rather than a last resort seems thoroughly OTT.

Then why don't their web developers just restore the old site till the new one is fixed and properly developed.

You will notice that the home page of www.easyjet.com does not go down for hours or days at a time. ;) :rolleyes:

No senior executive I have ever emailed so far has complained about the fact that I have emailed them and many of them have caused the problem that customer services have persisently ignored to be addressed.

Customer service departments frequently fail to communicate customer issues to the correct people and this is why the customer then has to bring it to the attention of senior management directly.

If the management of the BBC was aware there was a problem with the home page of the radiotimes website then they would probably at least have asked for a home page apologsing for the issue to be posted until the matter was addressed.

TCM2007
03-31-2007, 02:05 PM
Then why don't their web developers just restore the old site till the new one is fixed and properly developed.

I have run a number of web projects and sometimes there's a go live date which you have to hit for commercial reasons no matter what.


You will notice that the home page of www.easyjet.com does not go down for hours or days at a time. ;) :rolleyes:

Really, You check it every minute to be sure? Or are you making up facts to support your argument?


No senior executive I have ever emailed so far has complained about the fact that I have emailed them

Well of course not. I get many such e-mails from people like you who think that the best way to get their problem solved is to e-mail someone higher in the managment tree than the person they should actually be dealing with because it's their job to deal with customer issues. Frequently these people are patently nuts, but I always resist the temptation to tell them so.

There's nothing at all wrong with escalating a problem if you can't get the solution you want from customer services, but doing it by default is just rude. It's saying that you are more important than "normal" people who get help by calling the helpline.

Pete77
03-31-2007, 02:26 PM
There's nothing at all wrong with escalating a problem if you can't get the solution you want from customer services, but doing it by default is just rude. It's saying that you are more important than "normal" people who get help by calling the helpline.

But the BBC have outsourced their customer services department to some pretty third rate call advisors in Belfast working for Capita (seemingly picked mainly for their tolerance for low wages and not for their passion for broadcasting issues) and then have the further rudeness to use a covert revenue share 0870 number despite being a public sector organisation.

I have dealt with Capita enough times to know that feedback in that quarter simply goes nowhere at all unless 10,000 other people have complained about the same issue as you have done that week.

In any case it turns out the Radio Times is run by BBC Worldwide which shares some but not all senior directors with the BBC and BBC Information specifically claimed this was not their problem to resolve in response to the Complaint form I filled out on the BBC website to that official complaint channel. In the circumstances I would have thought that both the editor of Radio Times and the IT Director of BBC Worldwide would have a pretty strong personal interest in the failure of their website.

Typically the third party website will have been outsourced to a third party contractor with all sorts of aggressive sounding penalty clauses in the contract for not delivering on time but of course the main people monitoring whether the website is delivering the service expected is often the the third party contractor themselves, who then have every incentive to claim the website was responding 99% of the time even when it was not. And typically the last people checking up on these things at the weekend themselves are the IT Director and Editor of BBC Worldwide.

I think your charcterisation of those who email you directly as cranks etc is unfair and that typically such people are even more passionate about the need for their matter to be resolved than the average customer. Whatever you say about it being better for them to go to customer services (but only from your selfish point of view) in the outfits I have worked for customer emails that went direct to the managing director or marketing director far more often saw their issues addressed rapidly than those who patiently called the customer services number and had another one clicked on the counter list for that problem type.

Pete77
03-31-2007, 02:32 PM
By the way I see the www.radiotimes.co.uk website is now basically working most of the time, apart from an ad box hosted on another site on part of the home page that it links to.

Strange that it should suddenly be working now after several days of problems. ;) :rolleyes:

In my experience directors know precisely who to pick up the phone up to in order to tell them to get their fingers out and I imagine that Saturday is probably the busiest day of the week for the RadioTimes website.

TCM2007
03-31-2007, 03:28 PM
In any case it turns out the Radio Times is run by BBC Worldwide which shares some but not all senior directors with the BBC and BBC Information specifically claimed this was not their problem to resolve in response to the Complaint form I filled out on the BBC website to that official complaint channel. .


Why would you complain to the BBC website about the Radio Times website? :confused:

Why not just use the "Contact" section on the Radio Times website?

Talk about making a drama out of a (tiny) crisis.

The irony of course is you chasing them because their site is down so you cannot breach their terms and conditions by screenscraping the data for a TW module? Did you perchance mention that part in your e-mail? :p

cwaring
03-31-2007, 03:35 PM
But the BBC have outsourced their customer services department to some pretty third rate call advisors in Belfast ...and then have the further rudeness to use a covert revenue share 0870 number....
Try using one of the ways I mentioned in my post (http://www.tivocommunity.com/tivo-vb/showthread.php?p=5018581&&#post5018581) above then. Neither way will cost you any more than you're already paying for your internet connection :rolleyes:

(Of course, I was going to say that neither way would "cost anything" but then I feel sure you would have pointed-out that it does cost; ie the price of your internet connection; but that would be pedantic even for you ;))

Strange that it should suddenly be working now after several days of problems. ;) :rolleyes:
Maybe they just, you know, finally fixed it ;):rolleyes:

Pete77
03-31-2007, 03:44 PM
The irony of course is you chasing them because their site is down so you cannot breach their terms and conditions by screenscraping the data for a TW module? Did you perchance mention that part in your e-mail? :p
Naturally I did not mention that point. Although I would have thought that people extracting the data purely to set recordings for programs they watch themselves in a module not sold for commercial gain is unlikley to be something they would be bothered about.

As to the www.radiotimes.co.uk website having no connection with the BBC you may wish to check at www.internic.co.uk to whom that domain name is registered. ;) :p

It seems that BBC Worldwide do not register their own domain names. :(

Pete77
03-31-2007, 04:00 PM
Maybe they just, you know, finally fixed it ;):rolleyes:

Well its a bit slow to respond but now working near perfectly most of the time in the end and with no sign of the earlier 501 errors. Seems a bit of a coincidence on a Saturday if you ask me.

www.radiotimes.co.uk is a high profile and widely used website. If you are the IT Director of BBC Worldwide and now know main board directors of the BBC know your website isn't working you are going to be inclined to try to kick some ass and get the problem fixed ASAP. If it means some techie or other coming in on a Saturday then so be it. Those guys usually have nothing better to at the weekend anyway. ;) :p :D

Pete77
03-31-2007, 04:05 PM
ONE email to hostmaster@bbc.co.uk (according to this (http://www.who.is/domain_information-com/radiotimes.com/) page) or even the official way to contact them, via this (http://www.bbc.co.uk/feedback/tech_fault_web.shtml) page would have been perfectly adequate :rolleyes:

I did also try the second official way you mention and received this reply earlier this afternoon:-

-----Original Message-----
From: bisgen479a@main.bbc.co.uk [mailto:bisgen479a@main.bbc.co.uk]
Sent: 31 March 2007 12:21
Subject: BBC Information [T2007033100D0S010Z2197450]

Thank you for your e-mail.

I understand you are experiencing problems with the radio Times website.

However, I must advise you to contact Radio Times directly with your concerns. The contact information is as follows:

By email
radio.times@bbc.co.uk

By post
Radio Times, 80 Wood Lane, London W12 0TT

By telephone
0870 608 4455 (Monday - Friday, 9:30am - 5:30pm*)

By fax
020 8433 3923

*Calls may be receorded.

Thank you once again for contacting the BBC with your concerns.

Regards

Gary Sullivan
BBC Information

I then also emailed my complaint to radio.times@bbc.co.uk

Pete77
03-31-2007, 04:09 PM
With reference to the easyjet.com website

Really, You check it every minute to be sure? Or are you making up facts to support your argument?

Various air travel forums I frequent suggest that www.easyjet.com is basically never out of action other than perhaps for a few minutes at 3am once in a blue moon. The same cannot be said of their customer service department which on a consistent basis almost never replies to letters and keeps you waiting 30 minutes if you telephone on their 50p per minute 09 number.

TCM2007
03-31-2007, 04:25 PM
Strangely it seems that BBC Worldwide do not register their own domain names. :(

When I license a brand name to a third party (and Radio Times pre-dates BBCW by many, many years), I always insist that domain names, registered trade marks etc are assigned to me (paid for by the licensee obviously) and I then license their use.

ColinYounger
03-31-2007, 04:26 PM
typically the last people checking up on these things at the weekend themselves are the IT Director and Editor of BBC Worldwide.

That's a load of bull.

Pete. Stop polluting threads and trolling. Seriously. It's getting old now.

So old, that I might need to complain to the Chief exec of the forums about you. :down:

Pete77
03-31-2007, 04:32 PM
So old, that I might need to complain to the Chief exec of the forums about you. :down:

Surely that isn't the official channel for Tivo UK complaints though. ;) :p

And what makes you think he would be interested in what we Brits across the pond with our 5 year plus old Tivos get up to. :(

Happy to delete any of my Off Topic posts in the thread if you will too, although the failure of the radiotimes website is somewhat on topic in the context of this module.

d33mb33
04-01-2007, 10:29 AM
Version 1.05 of the module is available from the first post.

BIG thanks go to LJ for doing all the hard work in parsing the new format. His hard work meant that I was able to get this done this weekend.

New features / fixes include:

- Update for major change in data format
- Reworked to be compatible with TWP2
- Better time handling inc. noon / midnight times
- Added version number to both the module and menu item

We might get a few glitches with the new format in the next week or so. Please let me know of any issues as and when they occur

Cheers

mesaka
04-01-2007, 12:59 PM
So glad to see this back - unfortunately I got this error....


INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
invalid command name "slotfree"
while executing
"slotfree [expr ($prgdate * 86400) + $prgtime] $duration $junk"
("uplevel" body line 2)
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 4)
invoked from within
"getFreeSlotInfo $prgdate $prgtime $duration"
(procedure "getRecordingText" line 36)
invoked from within
"getRecordingText $showingfsid"
(procedure "writeShowsHtml" line 28)
invoked from within
"writeShowsHtml $shows $chan "
(procedure "writeHighlightsHtml" line 27)
invoked from within
"writeHighlightsHtml $chan $shows $timer"
(procedure "::action_highlights" line 49)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here-


I guess its one of the glitches promised :)

TCM2007
04-01-2007, 01:11 PM
Sounds like you don't have LJ's Now Playing modules installed.

BobBlueUK
04-01-2007, 07:15 PM
Thanks very much for the quick fix, d33mb33! :up: :)

Pete77
04-01-2007, 09:07 PM
OK I have now tested the new revised Highlights module v1.05 under both Tivoweb v1.9.4 and TivoWebPlus v2.0

It seems to be working very well indeed under both Tivoweb versions and I could find only one bug which existed only under TivoWeb 1.9.4 and not under TivoWebPlus 2.0. That bug is that when selecting a Film to record from the Film listings after you have selected the film to record and it has been scheduled to record if you hit the Back button you receive a white screen and a "the page has expired" message. This happens consistently when selecting all films to record from the Films pages under TW 1.9.4 but not under TWP 2.0 This problem is not encountered when scheduling recordings from the Tv and Radio listings pages in TivoWeb 1.9.4 and I can find no problems at all under TWP 2.0 and the module aldo seems to run faster under TWP 2.0 than under TW 1.9.4

Two small suggestions for corrections/improvements on top of the above bug fix:-

1. The version number of the new module has been included in the actual Tivoweb main menu item. This goes against the general convention which is that where modules have version numbers they are shown only inside the module itself at the bottom once selected. I have no problem at all with both the version number and the author being shown in the module screen itself along with a link to the Tivocommunity discussion thread for the module.

2. Just a small request to ask if we could also be able to select only 4 Star and 5 Star or better films and/or in conjunction with only picking 4 or 5 star films if there would be any way to list the whole week of such films in one go rather than day by day? Indeed there also seems to be a case to be made to be able to view the radio and tv Highlights for the whole week on one screen too for those that want this facility, although that might well make for a very long list indeed to scroll, which could therefore possibly cause out of memory issues? However certainly asking for a listing of any 5 star films for the whole week rather than day by day seems reasonable, as it is unlikely there would be more than a handful each week.

Thanks for all your hard work in fixing this so quickly d33mb33 and for making it TivoWebPlus 2.0 compatible. As just the one module is now compatible with both TivoWeb 1.9.4 and TivoWebPlus 2.0 perhaps you could indicate what has to be done to a TivoWeb 1.9.4 module in order to also make it capable of working as the same module under TivoWebPlus 2.0?

Many thanks again for getting this invaluable module back up and running so quickly. :cool: :) :up: :up: :up:

Pete77
04-01-2007, 09:14 PM
P.S. Congratulations also to BBC Worldwide for getting the new www.radiotimes.co.uk website now working almost totally reliably. :up:

However I'm sure Carl will be quick to assure the rest of you that this rapid fix by the BBC obviously has nothing at all to do with my several emails of complaint yesterday to people at the BBC and BBC Worldwide regarding the matter. ;) :rolleyes: :p :D

cwaring
04-02-2007, 05:01 AM
Well, my lack of ego certainly wouldn't let me assume that my emails alone were responsible for it getting fixed at all :)

Pete77
04-02-2007, 05:27 AM
Well, my lack of ego certainly wouldn't let me assume that my emails alone were responsible for it getting fixed at all :)

David Cameron didn't get where he is today through a lack of ego.........................

Pete77
04-02-2007, 07:50 AM
My theory that senior staff of organisations often care more about things going wrong than those who constantly take the flack from customers in customer services (from where there has not yet been a reply at Radio Times) has once again shown itself to be valid.

Below is a reply directly from Gill Hudson, Editor of Radio Times.

-----Original Message-----
From: Gill Hudson
Sent: 02 April 2007 09:30
Subject: RE: New www.radiotimes.co.uk Website is Defective

Thanks for your email. Please accept our apologies for the performance of the Radio Times site over the past few days. I can assure you that I'm not happy either!

During the relaunch we suffered a major technical problem with one of the computers that the site sits on. As you can imagine we have been working round the clock to fix the problem and have certainly made progress over the past few days, but it is not yet up to 100% capacity. Our technical team have assured me that the site will be back to running at full capacity this week. If not, they will have me to answer to!

Yours sincerely,

Gill Hudson

Gill Hudson
Editor
Radio Times

Pete77
04-02-2007, 09:11 AM
I have now received this further update from the Editor of Radio Times:-

-----Original Message-----
From: Gill Hudson
Sent: 02 April 2007 13:08
Subject: further update

Hello again,

I have asked my technical team for a more detailed breakdown of the problems currently affecting our site, and thought you might want to read this too, following your email.

The Radio Times website is load-balanced on two web servers and two application servers in order to deliver the service to the large number of users it receives. During the relaunch of the site on Wednesday we suffered a problem with one of our web servers and the java configuration in terms of how it communicates to the application servers. We have been forced to shut down the application on this one server while we fix it. This means the site is only running on one server, therefore, in times of peak traffic (especially in the early evenings), the single web server cannot cope and shuts down. It then takes us about ten minutes for our engineers to restart the service and put it live again. On average this is currently happening about three times a day, but for the majority of the time the site is fine. However, it's clearly not acceptable that it is shutting down at all.

The site was tested before launch, but this problem was completely unforeseen and could not have been anticipated.

We now have java experts working on the problem in order to get the second server up and running and the load balance resumed. I will let you know when the problem has been fixed.

Best wishes,

Gill Hudson

Editor
Radio Times

cwaring
04-02-2007, 11:46 AM
As you can imagine we have been working round the clock to fix the problem



So much for your assumptions that you were the catalyst for them fixing the site then ;):p

Pete77
04-02-2007, 12:17 PM
So much for your assumptions that you were the catalyst for them fixing the site then ;):p

We will never know. At least she, as editor, cares what the public think. :up:

No reply of course from the official Radio Times feedback email address. :rolleyes:

cwaring
04-02-2007, 01:55 PM
We will never know.
But we do. They'd been working on it since finding the fault shortly after the new site launched last Wednesday :)

TCM2007
04-02-2007, 01:55 PM
"We will never know" !!!????

I think that we can clearly see from that that it was a known problem which they were working on fixing, and nothing whatever to do with your e-mail.

It is, however, good communication to give so detailed a reply (especially as I'm sure she got someone else to write it; I have met Gill Hudson and I doubt talk of load balancing with Java comes naturally to her!).

cwaring
04-02-2007, 04:09 PM
...I doubt talk of load balancing with Java comes naturally to her!).
It doesn't come all that naturally to me either but I actually understood the explanation :p:)

Pete77
04-02-2007, 06:45 PM
It is, however, good communication to give so detailed a reply (especially as I'm sure she got someone else to write it; I have met Gill Hudson and I doubt talk of load balancing with Java comes naturally to her!).

Of course I am realistic enough to know that these people often do not write their own replies on these matters but what is important is when they care enough about their public image to feel it is important to have a reply sent out under their name and a much better reply than customer services would have been capable of sending out.

And in that regard I have relatively little respect for BBC New Media supremo Ashley Highfield, who has never replied to any communication I have sent to him. The Controllers of the BBC television and radio stations show a remarkable propensity for being willing to respond to pertinent viewer and listener comments, especially Mark Damazer, Controller of BBC Radio Four. Since these replies were both on a Saturday or Sunday I have every reason to think that they were personally composed by Mr Damazer. Of course a Controller of a BBC radio or tv station is meant to pay rather closer attention to individual viewer opinions than someone on the BBC Main Executive Board.

TCM2007
04-02-2007, 07:04 PM
How often do you e-mail them?

Actually, I'd rather not know, I think it would scare me. Literally.

Pete77
04-02-2007, 07:31 PM
How often do you e-mail them?

Actually, I'd rather not know, I think it would scare me. Literally.

I think I have emailed the Controller of BBC Four and BBC Three just once and got a reply from each. I have emailed Mark Damazer (Controller of BBC Radio 4) about three times I will concede and had a reply on two of them.

I also emailed the MD of Darlow Smithson productions about their particularly gruesome Seconds From Disaster program on the Amsterdam Air Crash on National Geographic channel and received a personal reply justifying their production values. Of course a researcher may well have written that reply but at least he understood the PR value of a reply under his own name.

The point is if I feel strongly about a program emailing these senior bods seems to achieve far more than telephoning or emailing BBC Information, which merely ensures I am just one another one on the total click counter for that type of complaint in that week. And yes I do preposterously think my views count more than those of Mr and Mrs Average, who hardly every have a view on anything. I subscribe to the John Stuart Mill philosophy that everyone should have a vote but that those of us with more valuable opinions to contribute to society should have more votes.

In my experience many people who make programs actually like to know what viewers think if they feel strongly about something. It is just the large company syndrome that says those making programs should be insulated from receiving those views directly and instead only get a sanitised summary from viewer and listener enquiries.

If you think that your views are important and set about expressing them loudly then often you will be heard (as Gerry Adams and the Rev Ian Paisley will undoubtely confirm). But if you think your views are unimportant to others and keep them between you and your arm chair then no one will know about them. And we live after all in an era where the broadcasters constantly encourage the viewers to contribute their views on the programs they ware watching............

Raisltin Majere
04-02-2007, 07:45 PM
And yes I do preposterously think my views count more than those of Mr and Mrs Average, who hardly every have a view on anything. I subscribe to the John Stuart Mill philosophy that everyone should have a vote but that those of us with more valuable opinions to contribute to society should have more votes.



::speechless::

Except, surely, more weight should be given to the (rare) views of people"who hardly ever have a view on anything" than to the views of a person who has one on everything.

Pete77
04-02-2007, 07:47 PM
::speechless::

Except, surely, more weight should be given to the (rare) views of people"who hardly ever have a view on anything" than to the views of a person who has one on everything.

That doesn't seem to be how it works in life generally.

SilkMan
04-03-2007, 04:29 AM
And yes I do preposterously think my views count more than those of Mr and Mrs Average, who hardly every have a view on anything. I subscribe to the John Stuart Mill philosophy that everyone should have a vote but that those of us with more valuable opinions to contribute to society should have more votes.


I also have an opinion on much of what has been said, which I consider to be very valuable and in my view should count double, but to avoid offence, I think I will keep it to myself. I think I'll give my chair a good kicking instead... :D

Pete77
04-03-2007, 04:59 AM
::speechless::

Except, surely, more weight should be given to the (rare) views of people"who hardly ever have a view on anything" than to the views of a person who has one on everything.

However life in a commercial situation in a company doesn't seem to work that way does it. Those on the Board control nearly everything and have a say on everything while those packaging items up for shipping just dutifully follow instructions.

Unfortunately life just isn't fair. Survival of the fittest and all that kind of stuff.......

Raisltin Majere
04-03-2007, 05:23 AM
However life in a commercial situation in a company doesn't seem to work that way does it. Those on the Board control nearly everything and have a say on everything while those packaging items up for shipping just dutifully follow instructions.

Unfortunately life just isn't fair. Survival of the fittest and all that kind of stuff.......

Perhaps, but that isn't what you said. You said society.

You seem to be saying that your views should hold more weight purely because of your vexatious nature.

Pete77
04-03-2007, 07:31 AM
You seem to be saying that your views should hold more weight purely because of your vexatious nature.

Ask Ian Paisley or Arthur Scargill.

Often those with a vexatious nature seem to have their views more widely heard. :p

Raisltin Majere
04-03-2007, 07:33 AM
"the squeeky wheel gets oiled"

Doesn't mean anybody likes or respects the squeeky wheel, they just want to shut the damn thing up

bugmenever
04-03-2007, 08:47 AM
So glad to see this back - unfortunately I got this error....


INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''

I guess its one of the glitches promised :)


It's LJ's_Utils you need installed, which you can find via google (sorry, can't post URLs)

Another vote here to shut the squeaky wheel up - I wouldn't appreciate being contacted by such a character when there's a clear process that is working for feedback. I'd hope they would think about how they would be perceived by the people they were harrasing, and the wider world...

Pete77
04-03-2007, 09:48 AM
I find it strange that bugmenever is already so knowledgeable about LJ's various Tivoweb add ons and hacks.

ColinYounger
04-03-2007, 10:24 AM
My turn!!! I'll beat myself up for thread drift in a moment.

My guess is that Pete hasn't had a job with responsibility and been contacted by every crank with an agenda and\or a selfish need for their own point of view to prevail to understand why 'going through the back door' should not be his preference.

That last paragraph was deliberately written in a style that is preferred by these kind of people to demonstrate that all it achieves is to annoy the recipient. The people up the ladder have a wider view of a large section of problems. Writing to them may get mixed results, but it's not in their interest - or job remit I would suggest - to get involved with single-issue views. They have to look at short to long term objectives which help everyone in their area of influence.

The correct route - which should work in a customer focused environment - is through normal points of contact. Trends can be monitored and tracked and dealt with accordingly. Perversely, contacting someone up the tree will not benefit the customer base as a whole.

Secondly, a new user's ability to read the many FAQs, posts and some such (not to mention that TCM posted the solution in this thread) points to someone we like around here as they can work stuff out for themselves - Bugmenever should be encouraged. Shame on you, Pete for not welcoming new people.

Pete77
04-03-2007, 10:35 AM
Shame on you, Pete for not welcoming new people.

I always welcome genuine newbies. ;)

ColinYounger
04-03-2007, 10:49 AM
I'm not hiding behind another userID, if that's what you're implying. I'll happily call you a tosser under this ID if I need to. :D

Pete77
04-03-2007, 11:01 AM
I'm not hiding behind another userID, if that's what you're implying. I'll happily call you a tosser under this ID if I need to. :D

I was referring to bugmenever Colin and not you.

Raisltin Majere
04-03-2007, 11:07 AM
Pete

That's a serious accusation, the forum rules clearly state users must not use more than one account. Doing so, I believe, results in a ban.

If you have any justification for this accusation, I suggest you contact a mod and request they check the IPs of anyone against whom you are directing it. Not make groundless accusations in open forum

bugmenever
04-03-2007, 11:46 AM
That's a serious accusation, the forum rules clearly state users must not use more than one account. Doing so, I believe, results in a ban.


Is there any banning policy in place for jumped-up idiots who are so big-headed they think people are going around breaking rules just to annoy them?
TCM's advice to mesaka was almost correct, but after following it (because I had the same problem as mesaka) I realised the problem still remained - but installing TJ's utils fixed the problem. I'm really glad I shared the solution now :mad: Apologies for upsetting long-standing members who have been here since, er, August.

TCM2007
04-03-2007, 02:23 PM
Welcome to the forum bugmenever.

Don't mind Pete, you get used to him. And if you ever fancy an argument to vent some stress, you always know Pete will oblige.

Pete77
04-03-2007, 08:03 PM
Have they changed the data structure of the site again today as am now getting this when trying to run the Highlights module:-

INTERNAL SERVER ERROR
--cut here--
action_highlights '/' ''
can't read "cache_sp_key": no such variable
while executing
"lsearch $cache_sp_key "$seriesfsid|*""
(procedure "isSeasonPass" line 11)
invoked from within
"isSeasonPass $showingfsid"
(procedure "getRecordingText" line 22)
invoked from within
"getRecordingText $showingfsid"
(procedure "writeShowsHtml" line 28)
invoked from within
"writeShowsHtml $shows $chan "
(procedure "writeHighlightsHtml" line 27)
invoked from within
"writeHighlightsHtml $chan $shows $timer"
(procedure "::action_highlights" line 49)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

d33mb33
04-04-2007, 05:17 PM
Working OK for me Pete

Can you quit TivoWeb and start it again from telnet/bash? Or just restart the box?

Looks like a similar problem to:

http://www.tivocommunity.com/tivo-vb/showthread.php?t=324862&highlight=cache_sp_key

mesaka
04-05-2007, 09:14 AM
TCM's advice to mesaka was almost correct, but after following it (because I had the same problem as mesaka) I realised the problem still remained - but installing TJ's utils fixed the problem. I'm really glad I shared the solution now :mad: Apologies for upsetting long-standing members who have been here since, er, August.
Thanks for spotting this - I just got it all back and working but it would have taken me much longer if you hadn't realised that we needed to add the utilities!

d33mb33
04-05-2007, 06:12 PM
Sorry about the error. When I ported it to TivoWebPlus 2 I removed the check for LJ's utilities.. I just assumed everyone had them!

boringgit
04-09-2007, 01:55 PM
I hate you - like I don't spend enough of my life watching telly!

Naah - seriously - great module - many thanks for it. Particluarly impressed by the images (photos for progs / films) - really does help.

d33mb33
04-09-2007, 02:57 PM
Thanks. I'm glad you like it. :)

RichardJH
04-11-2007, 02:18 PM
Have installed Highlights on both Tivos and working ok except on one of them when selecting Films option in highlights get the following
INTERNAL SERVER ERROR
--cut here--
action_highlights '' 'set "gtype" "film";set "gday" "00";'
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--

Have I done something wrong

d33mb33
04-12-2007, 06:06 PM
Have I done something wrong

I don't know.. looks like you don't have guide data for one of the channels. I can make the module a bit more resiliant to it but it doesn't appear to be a common problem. :confused:

Try rebooting at some point and make sure that a daily call has taken place.