|
|
|
11-16-2003, 02:04 PM
|
#1
|
|
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)
Last edited by sanderton : 11-17-2003 at 03:49 PM.
|
|
|
11-16-2003, 05:02 PM
|
#2
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Tweaked to cope better with a busy db.
|
|
|
11-17-2003, 01:09 AM
|
#3
|
|
Tweaked and poked
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
|
|
|
11-17-2003, 03:49 AM
|
#4
|
|
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.
|
|
|
11-17-2003, 04:24 AM
|
#5
|
|
Tweaked and poked
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
|
|
|
11-17-2003, 12:38 PM
|
#6
|
|
Registered User
Join Date: Apr 2003
Location: Somerset, England
Posts: 1,640
|
Another nice module. I don't know where you find the time
__________________
Paul
|
|
|
11-17-2003, 01:15 PM
|
#7
|
|
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)
|
|
|
11-17-2003, 02:02 PM
|
#8
|
|
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!
|
|
|
11-17-2003, 03:48 PM
|
#9
|
|
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.
|
|
|
11-18-2003, 02:23 PM
|
#10
|
|
Registered User
Join Date: Jan 2003
Location: North West
Posts: 411
|
Is there a simple listing anywhere of links to the various tivoweb modules?
|
|
|
11-18-2003, 04:15 PM
|
#11
|
|
Registered User
Join Date: Apr 2003
Location: Somerset, England
Posts: 1,640
|
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
|
|
|
11-19-2003, 03:16 PM
|
#12
|
|
Registered User
Join Date: Apr 2003
Location: Somerset, England
Posts: 1,640
|
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
|
|
|
11-19-2003, 05:38 PM
|
#13
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Yeah, I noticed that the other day.
|
|
|
11-20-2003, 02:34 AM
|
#14
|
|
Registered User
Join Date: Apr 2003
Location: Somerset, England
Posts: 1,640
|
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
|
|
|
11-20-2003, 04:31 PM
|
#15
|
|
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!
|
|
|
11-20-2003, 05:00 PM
|
#16
|
|
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.
|
|
|
11-20-2003, 05:07 PM
|
#17
|
|
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!
|
|
|
03-18-2004, 09:31 AM
|
#18
|
|
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!
|
|
|
03-18-2004, 09:52 AM
|
#19
|
|
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!
|
|
|
03-18-2004, 09:56 AM
|
#20
|
|
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?
|
|
|
03-18-2004, 11:13 AM
|
#21
|
|
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.
|
|
|
03-18-2004, 01:55 PM
|
#22
|
|
Wookie
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. |
|
|
|
04-04-2004, 11:05 AM
|
#23
|
|
Registered User
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.
__________________
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.
|
|
|
04-04-2004, 11:27 AM
|
#24
|
|
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 :)
|
|
|
04-04-2004, 11:35 AM
|
#25
|
|
Registered User
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. .
|
|
|
04-04-2004, 11:38 AM
|
#26
|
|
Registered User
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.
|
|
|
04-04-2004, 11:46 AM
|
#27
|
|
Registered User
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. .
|
|
|
04-04-2004, 11:57 AM
|
#28
|
|
Registered User
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.
|
|
|
04-04-2004, 12:01 PM
|
#29
|
|
Registered User
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. .
|
|
|
04-04-2004, 12:06 PM
|
#30
|
|
Registered User
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.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|