TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Series 1 - UK
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 11-16-2003, 02:04 PM   #1
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
New TiVoWeb Module: New Episodes

A TiVoWeb module which displays all episodes on a given day or channel which, according to the guide data at least, have never been shown before.

Wrote it as I thought it might flag up some interesting shows that I would otherwise miss.

If you have Sky, be patient!

(Install - just unzip, FTP to the TiVoWeb modules directory and do a Quick Restart)
Attached Files
File Type: zip newepisodes0.2.zip (1.6 KB, 1566 views)

Last edited by sanderton : 11-17-2003 at 03:49 PM.
sanderton is offline   Reply With Quote
Old 11-16-2003, 05:02 PM   #2
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
Tweaked to cope better with a busy db.
sanderton is offline   Reply With Quote
Old 11-17-2003, 01:09 AM   #3
kitschcamp
Tweaked and poked
 
kitschcamp's Avatar
 
Join Date: May 2001
Location: Adelaide, Australia
Posts: 1,845
Interesting little module, that, I can see myself using this one quite a bit. Thanks very much!
__________________
Stephen

ˇɥɐɹɹnɥ ˙oʌıʇ uɐıןɐɹʇsnɐ ɥʇıʍ ʍou
kitschcamp is offline   Reply With Quote
Old 11-17-2003, 03:49 AM   #4
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
Having used it a bit, I think a "whole week by channel" option might be more useful (I would typically scan BBC 2 and C4). I think I'll add that later.
sanderton is offline   Reply With Quote
Old 11-17-2003, 04:24 AM   #5
kitschcamp
Tweaked and poked
 
kitschcamp's Avatar
 
Join Date: May 2001
Location: Adelaide, Australia
Posts: 1,845
Yup, I can see that, or "Whole week by favourites", a bit like Mr Tickle's guide checking module.
__________________
Stephen

ˇɥɐɹɹnɥ ˙oʌıʇ uɐıןɐɹʇsnɐ ɥʇıʍ ʍou
kitschcamp is offline   Reply With Quote
Old 11-17-2003, 12:38 PM   #6
pahunt
Registered User
 
pahunt's Avatar
 
Join Date: Apr 2003
Location: England
Posts: 1,692
Another nice module. I don't know where you find the time
__________________
Paul
pahunt is offline   Reply With Quote
Old 11-17-2003, 01:15 PM   #7
tivo_boj
Tivo is getting old
 
Join Date: Feb 2001
Location: Pitsea, Basildon, Essex, UK
Posts: 215
Stuart - whatever your job is - I want one!

another great module ...where do you get the time?
__________________
TiVo Boj (Tivo -Nov 2000)
GSOD caused 160G upgrade Oct 2006. TivoWebPlus (beta 1.4.0) Using PPP over serial (Aug 2002). & Turbocard ( 2005)
tivo_boj is offline   Reply With Quote
Old 11-17-2003, 02:02 PM   #8
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
This one took two hours to write from start to finish - it really is easy once you get started!
sanderton is offline   Reply With Quote
Old 11-17-2003, 03:48 PM   #9
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
Version 0.2 has the option to view by channela s well as by day.
sanderton is offline   Reply With Quote
Old 11-18-2003, 02:23 PM   #10
Trinitron
Registered User
 
Join Date: Jan 2003
Location: North West
Posts: 411
Is there a simple listing anywhere of links to the various tivoweb modules?
Trinitron is offline   Reply With Quote
Old 11-18-2003, 04:15 PM   #11
pahunt
Registered User
 
pahunt's Avatar
 
Join Date: Apr 2003
Location: England
Posts: 1,692
Quote:
Originally posted by Trinitron
Is there a simple listing anywhere of links to the various tivoweb modules?
I wouldn't say it was definitive but this thread is the best list you will find in one place.
__________________
Paul
pahunt is offline   Reply With Quote
Old 11-19-2003, 03:16 PM   #12
pahunt
Registered User
 
pahunt's Avatar
 
Join Date: Apr 2003
Location: England
Posts: 1,692
Just a small point.

It would be nice if it took account of the current time so that it only showed programs for the current day that haven't started yet.
__________________
Paul
pahunt is offline   Reply With Quote
Old 11-19-2003, 05:38 PM   #13
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
Yeah, I noticed that the other day.
sanderton is offline   Reply With Quote
Old 11-20-2003, 02:34 AM   #14
pahunt
Registered User
 
pahunt's Avatar
 
Join Date: Apr 2003
Location: England
Posts: 1,692
I did have a quick look at trying to modify it myself but my TCL knowledge is pretty much non-existant and although I managed to work out how to get the system time I couldn't see how to compare it against the program start time.
__________________
Paul
pahunt is offline   Reply With Quote
Old 11-20-2003, 04:31 PM   #15
Adder
Registered User
 
Join Date: Oct 2002
Posts: 216
Hmm, by day works, but for by channel I get this for each channel I have tried:
Code:
INTERNAL SERVER ERROR
--cut here--
action_shownewepbychan '' 'set "showchan" "706";set "showcall" "C4";'
can't open object (errDbNotFound)

    while executing
"db $db openid $fsid"
    ("uplevel" body line 2)
    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 get Showing]
				set showingfsids [dbobj $stationday g..."
    ("uplevel" body line 6)
    invoked from within
"uplevel $body"
    invoked from within
"ForeachMfsFile fsid name type "/Schedule" "" {

		scan $name "%d:%d:%d:%d:%d:%d" channel day junk1 junk2 junk3 junk4

			if {$channel == $showchan} {
..."
    (procedure "::action_shownewepbychan" line 19)
    invoked from within
"::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
Any ideas?
__________________
6022 Tivo + 2 x 120GB Samsung SV1204H + CacheCard

VM TiVo now installed!
Adder is offline   Reply With Quote
Old 11-20-2003, 05:00 PM   #16
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
"errDbNotFound" means that the datbase connection is broken. TiVoWeb sets that up, so try doing a Full Restart.
sanderton is offline   Reply With Quote
Old 11-20-2003, 05:07 PM   #17
Adder
Registered User
 
Join Date: Oct 2002
Posts: 216
Aha, cheers sanderton, I ended up restarting a couple of times, was trying to add Backup, Re-order Season Passes, the latest version of Endpad, the Digiguide Search 1.4 and New Episodes all at once.

Had to restart to get backup to work, then New Episodes started to work, then crashed tivosh trying to convince endpad that it definately wasn't running.

All seems to be working now though.
__________________
6022 Tivo + 2 x 120GB Samsung SV1204H + CacheCard

VM TiVo now installed!
Adder is offline   Reply With Quote
Old 03-18-2004, 09:31 AM   #18
Wonder_lander
Image Bank Manager
 
Join Date: Jan 2003
Location: Staffordshire, UK
Posts: 692
I have had a look at this module and would most use it by day.

What is the sort order because it seems fairly random to me!

It appears to pick a channel number (not sure how) and then puts those programs in time order.

I would be most interested in a global sort by day and then into time order with the option of sorting it globally into Day > Channel Number > Time order!
Wonder_lander is offline   Reply With Quote
Old 03-18-2004, 09:52 AM   #19
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
It is the order in which the stations are stored in MFS, which seems to be random.

I guess you could add some sort options, but it sends the HTML for each station as it finds it, so you'd have to store all the data, then sort it.

Feel free to do so and post your code back here!
sanderton is offline   Reply With Quote
Old 03-18-2004, 09:56 AM   #20
Wonder_lander
Image Bank Manager
 
Join Date: Jan 2003
Location: Staffordshire, UK
Posts: 692
Quote:
Originally posted by sanderton

Feel free to do so and post your code back here!
I have no programming background at all...I was hinting at modifications that you could make

I don't mind having a stab if someone can point me at some good online guides to this language?
Wonder_lander is offline   Reply With Quote
Old 03-18-2004, 11:13 AM   #21
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
I'm happy with how it works no, so I'm not going to make any changes, sorry!

There are many TCL guides out there, but the best all in one package is a book - Jeff Keegan's Hacking Tivo.
sanderton is offline   Reply With Quote
Old 03-18-2004, 01:55 PM   #22
gyre
Wookie
 
gyre's Avatar
 
Join Date: Nov 2003
Location: Bristol, UK
Posts: 382
Rather than ordering from amazon.com in the US... anybody know of a UK reseller of this book?

Thanks!

-- gyre --
__________________
|6020|1x200GB|Cachecard 2.2 w/512MB|Endpad|Tracker|TivoWeb|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
gyre is offline   Reply With Quote
Old 04-04-2004, 11:05 AM   #23
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 786
New Evening Episodes

Here's a version of 0.2 that only shows new episodes from 7pm until the end of the day. It also sorts the daily list into channel number order and adds a tooltip of the programme description to the episode link. All the procedure names are different to the original so you can happily run both at the same time. Enjoy.
Attached Files
File Type: zip newepisodeseve.0.2.zip (2.2 KB, 205 views)
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

Last edited by LJ : 04-04-2004 at 12:01 PM.
LJ is offline   Reply With Quote
Old 04-04-2004, 11:27 AM   #24
threadkiller
Dark side Nrth Devon
 
Join Date: Dec 2002
Posts: 523
LJ Tried your module, but if I use the channel listing, any of the channels in the right hand column bring up a page not found message left column is fine tho
__________________
Marc.

1 X 120Gig + 2 x 160Gig Tivo's + Turbonet + Sky Digital + Freeview + Tivoweb + Every module available until the novelty wears off, or my wife beats me :)
threadkiller is offline   Reply With Quote
Old 04-04-2004, 11:35 AM   #25
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 786
Well spotted ! New version in the post above.
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 04-04-2004, 11:38 AM   #26
Fozzie
Registered User
 
Fozzie's Avatar
 
Join Date: Sep 2001
Location: Alton, Hants, UK
Posts: 837
Looks good

One thing LJ - when finding episodes by date, the channels are sorted slightly out of sequence. Reading from top to bottom displays the 3 digit channels, then the two digit channels then the single digit channels. Each group is sorted numerically ascending though.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Fozzie is offline   Reply With Quote
Old 04-04-2004, 11:46 AM   #27
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 786
Err, yeah, I almost got the maths right Try the latest one and see if that's better...

My excuse is I've only got 3 digit channels to test on
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 04-04-2004, 11:57 AM   #28
Fozzie
Registered User
 
Fozzie's Avatar
 
Join Date: Sep 2001
Location: Alton, Hants, UK
Posts: 837
hmm - still the same. File timestamp is 1738?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Fozzie is offline   Reply With Quote
Old 04-04-2004, 12:01 PM   #29
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 786
Oops, forgot to update the zip before posting it! Time for more tea!
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 04-04-2004, 12:06 PM   #30
Fozzie
Registered User
 
Fozzie's Avatar
 
Join Date: Sep 2001
Location: Alton, Hants, UK
Posts: 837
That's got it (Just finished my tea and toasted tea cake as it happens!)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Fozzie is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVo® is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 02:35 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |