TiVoWeb module to help resolve clashes if you have two TiVos

Discussion in 'TiVo Series 1 - UK' started by sanderton, Oct 17, 2003.

  1. Oct 17, 2003 #1 of 154
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I've written this TiVoWeb module because I was aware that I was missing recording on one TiVo while the other was sat idle, but figuring out which recordings to copy was too much like hard work.

    To use it, copy the module into the tivoweb-tcl/modules directory of BOTH TiVos, and restart TiVoWeb on both machines.

    Click "Conflict Resolve" on one of the TiVos, type in the name/IP address of the second TiVo and the number of days ahead you want to look for conflicts. It will then show you a list of unresolved conflicts on the first TiVo. Click the button and it will display the possibilities of recording those shows on the second TiVo:

    [​IMG]

    Click the links to record using the normal TiVoWeb system.

    I have written this for my own use and it works for me, but I offer it in case its of use to anyone else.
     

    Attached Files:

  2. Oct 17, 2003 #2 of 154
    pahunt

    pahunt Active Member

    1,719
    0
    Apr 7, 2003
    England
    Sounds like a brilliant idea. I only wish I had 2 tivos :(
     
  3. Oct 17, 2003 #3 of 154
    pgogborn

    pgogborn Well-Known Member

    8,623
    205
    Nov 11, 2002
    Having seen what one volunteer can do to greatly increase the functionality of networked TiVos, the salary earning team at TiVo Inc should be hanging their heads in shame.
     
  4. Oct 17, 2003 #4 of 154
    dialanothernumb

    dialanothernumb New Member

    334
    0
    Dec 6, 2002
    Stuart,

    Which should you be most embarrassed about, being a Bath supporter or showing "evidence" of extr@ction

    This looks good. Will try when I've recovered from my little "pulled disks" problem of earlier in the week
     
  5. Oct 17, 2003 #5 of 154
    warwick

    warwick New Member

    10
    0
    Jan 11, 2002
    I was just discussing how handy a feature like this would be with a friend at work today (we've both just installed endpad this week)

    And I get in and it's sitting waiting for me... Fantastic !!!!

    Installed no problems - and it appears on both menus - and - if I start the procedure from my Sky Tivo (192.168.1.200) it works fine, - BUT _ if I start it from my freeview Tivo (192.168.1.201) I get this:

    --cut here--
    action_findconfs '' 'set "tivoname" "192.168.1.200";set "daysahead" "7";set "Save" "Next";'
    can't read "conflicts": no such variable
    while executing
    "html_form_hidden "conflicts" $conflicts"
    (procedure "::action_findconfs" line 52)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--

    The only thing I did that's not mentioned in the instructions was to CHMOD 664 both files, so that they have the same permissions as everything else in the modules folder. Was this right ??

    Any ideas where i'm going wrong ???
     
  6. Oct 17, 2003 #6 of 154
    horwitz

    horwitz New Member

    70
    0
    Jan 11, 2002
    Well, it sounds like it's finally time to hack the second TiVo. Nice work!
     
  7. Oct 17, 2003 #7 of 154
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    The conficts variable stores a list of the unresolved conflicts. Is it possible that there aren't any on that TiVo (check the Recording History module of TiVoWeb to see)? My Freeview TiVo comes up with very few. If that were the case the bit of the routine that adds to the conflicts list never gets called so the conflicts variable never gets initialised, hence the error. TCL's a bit crap like that.

    You don't need to chmod TiVoWeb modules, but it doesn't hurt if you do,
     
  8. Oct 18, 2003 #8 of 154
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I fixed that bug, and it was suggested in Another Place that it would be good to have the "Busy" entries clickable to cancel the existing recording and record the conflict, which seemed a good idea, so I've added that.

    The zip in the firts post has been amended.
     
  9. Oct 18, 2003 #9 of 154
    cyril

    cyril Active Member

    1,128
    0
    Sep 5, 2001
    London UK
    What about if you have more than 2 TiVos ? :)

    Well I suppose I don't really get any clashes except during Christmas Day and Boxing Day :)
     
  10. Oct 18, 2003 #10 of 154
    warwick

    warwick New Member

    10
    0
    Jan 11, 2002
    Working perfectly now ...

    Thanks for all your help.
     
  11. Oct 18, 2003 #11 of 154
    km

    km Member

    92
    0
    Dec 1, 2001
    Atlanta....
    This module suggests another that would be useful with multiple tivos., namely a unified "Now Showing" list.
     
  12. Oct 18, 2003 #12 of 154
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I did think of you Cyril, but then I figured you probably ahd one TiVo per channel anyway!
     
  13. Oct 19, 2003 #13 of 154
    cyril

    cyril Active Member

    1,128
    0
    Sep 5, 2001
    London UK
    I guess I might be the one who would most benefit from a unified Now Showing List! :)
     
  14. Oct 19, 2003 #14 of 154
    dialanothernumb

    dialanothernumb New Member

    334
    0
    Dec 6, 2002
    I have an unsubbed tivo, mainly for kids programmes. Will this work with a subbed tivo and its unsubbed cousin?
     
  15. Oct 19, 2003 #15 of 154
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    No, as it expects there to be programme guide details on the other TiVo. You could adapt the code easily enough though.
     
  16. Oct 23, 2003 #16 of 154
    dialanothernumb

    dialanothernumb New Member

    334
    0
    Dec 6, 2002
    Seems that it takes a while for the conflict database to refresh (or whatever it does in tivo-ese)

    I've found that shortly after I've set up a few new recordings, confres isn't picking the conflicts up... needs about an hour. Is this similar to other experiences.

    Also, how often do others run confres? Once a week or so? Prehaps it could be automated?

    Stuart, I have ordered the tcl book you mentioned so (but don't hold your breath) a buggy bugger of a piece of code will attempt to link this module with the manrec module to hand off conflicts to an unsubbed box.

    I alsowondered (and I know this is offtopic) whether one could write script to pass a marker in digiguide to the manual recording module. I would use this as a quicker way of scheduling when at the computer/at work, than the standard way in tivoweb. Also it would be a marginally easier interface than manual recording alone on an unsubbed spare box. Any views?
     
  17. Dec 22, 2003 #17 of 154
    PaulK

    PaulK New Member

    64
    0
    Jul 3, 2001
    London, UK
    Another top mod Stuart !

    I wonder if this could ever be automated?

    Paul
     
  18. Dec 22, 2003 #18 of 154
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I set off with that in mind, but found that for my purposes I actually wanted manual control.

    It would be reasonably simple for the code to automatically schedule into any free slots, but it's not something I want to do myself. If anyone wants to mod it, then feel free!
     
  19. Dec 22, 2003 #19 of 154
    ChrisJB

    ChrisJB Member

    42
    0
    Dec 9, 2003
    Regarding automation, I found that using the DailyMail email was enough to give me a nudge to sort out conflicts. Like Stuart, I would prefer to do the handoff manually
     
  20. Dec 22, 2003 #20 of 154
    bignoise

    bignoise New Member

    240
    0
    Oct 7, 2000
    The man. You are.. the man. I'm sorry, but that's the way it is. You are the man.
     

Share This Page