TiVo Community Forum banner
1 - 20 of 62 Posts

·
TiVoer since 11/2000
Joined
·
6,341 Posts
Discussion Starter · #1 ·
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)
 

Attachments

·
Tweaked and poked
Joined
·
1,846 Posts
Interesting little module, that, I can see myself using this one quite a bit. Thanks very much!
 

·
TiVoer since 11/2000
Joined
·
6,341 Posts
Discussion Starter · #4 ·
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.
 

·
Tweaked and poked
Joined
·
1,846 Posts
Yup, I can see that, or "Whole week by favourites", a bit like Mr Tickle's guide checking module.
 

·
Tivo is getting old
Joined
·
215 Posts
Stuart - whatever your job is - I want one!

another great module ...where do you get the time?
 

·
TiVoer since 11/2000
Joined
·
6,341 Posts
Discussion Starter · #8 ·
This one took two hours to write from start to finish - it really is easy once you get started!
 

·
Registered
Joined
·
1,719 Posts
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.
 

·
Registered
Joined
·
1,719 Posts
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.
 

·
Registered
Joined
·
216 Posts
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?
 

·
TiVoer since 11/2000
Joined
·
6,341 Posts
Discussion Starter · #16 ·
"errDbNotFound" means that the datbase connection is broken. TiVoWeb sets that up, so try doing a Full Restart.
 

·
Registered
Joined
·
216 Posts
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. :D
 

·
Image Bank Manager
Joined
·
692 Posts
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!
 

·
TiVoer since 11/2000
Joined
·
6,341 Posts
Discussion Starter · #19 ·
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!
 

·
Image Bank Manager
Joined
·
692 Posts
Originally posted by sanderton

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

I don't mind having a stab if someone can point me at some good online guides to this language?
 
1 - 20 of 62 Posts
Top