1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New TiVoWeb Module: New Episodes

Discussion in 'TiVo Series 1 - UK' started by sanderton, Nov 16, 2003.

  1. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    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:

  2. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Tweaked to cope better with a busy db.
     
  3. kitschcamp

    kitschcamp Tweaked and poked

    1,845
    0
    May 18, 2001
    Adelaide,...
    Interesting little module, that, I can see myself using this one quite a bit. Thanks very much!
     
  4. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    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.
     
  5. kitschcamp

    kitschcamp Tweaked and poked

    1,845
    0
    May 18, 2001
    Adelaide,...
    Yup, I can see that, or "Whole week by favourites", a bit like Mr Tickle's guide checking module.
     
  6. pahunt

    pahunt New Member

    1,719
    0
    Apr 7, 2003
    England
    Another nice module. I don't know where you find the time :D
     
  7. tivo_boj

    tivo_boj Tivo is getting old

    215
    0
    Feb 10, 2001
    Pitsea,...
    Stuart - whatever your job is - I want one!

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

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    This one took two hours to write from start to finish - it really is easy once you get started!
     
  9. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Version 0.2 has the option to view by channela s well as by day.
     
  10. Trinitron

    Trinitron New Member

    411
    0
    Jan 20, 2003
    North West
    Is there a simple listing anywhere of links to the various tivoweb modules?
     
  11. pahunt

    pahunt New Member

    1,719
    0
    Apr 7, 2003
    England
    I wouldn't say it was definitive but this thread is the best list you will find in one place.
     
  12. pahunt

    pahunt New Member

    1,719
    0
    Apr 7, 2003
    England
    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.
     
  13. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Yeah, I noticed that the other day.
     
  14. pahunt

    pahunt New Member

    1,719
    0
    Apr 7, 2003
    England
    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.
     
  15. Adder

    Adder New Member

    216
    0
    Oct 26, 2002
    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?
     
  16. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    "errDbNotFound" means that the datbase connection is broken. TiVoWeb sets that up, so try doing a Full Restart.
     
  17. Adder

    Adder New Member

    216
    0
    Oct 26, 2002
    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
     
  18. Wonder_lander

    Wonder_lander Image Bank Manager

    692
    0
    Jan 13, 2003
    Staffordshir...
    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!
     
  19. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    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!
     
  20. Wonder_lander

    Wonder_lander Image Bank Manager

    692
    0
    Jan 13, 2003
    Staffordshir...
    :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?
     

Share This Page