TiVoWeb module to help resolve clashes if you have two TiVos

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

  1. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004

    Advertisements

    Ok...got it to work...no idea what was hamming it up. I rebooted both tivos and tried again.

    Looks like its not dumping all the call signs. Below is what I got at the top of the other side page...
    Code:
    NMX SMX KMX PPV PPV ESN2 DTV FINE OXGN PAX NGC NKTN GAC DTV CSTV FUEL CBS TSO RSNa NBA2 NBA6 NBA7 NB12 NHL MC35 TIVOS
    Since these are all DirecTivos how can I make it use the actual channel number?
     
  2. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Without re-writing it you can't.

    Are you sure you have the "Channels I recieve" set correctly on the second TiVo - it's just reading that list.
     
  3. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004
    I'm not sure what you mean by "Channels I recieve". Is that something that I have to setup in TW or through some settings on my TiVo menu?
     
  4. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004
    Ok...I resolved the channel guide issue. I copied my entire module dir from my working tivo to the tivo in question. I was able to confirm the channel line was there by using the User Interface/Channel Guide/All link in TW+.

    Now for the strange issue that I can not figure out for the life of me. Once I try to transfer the show to the other side I get the -integer issue again.
    Code:
    INTERNAL SERVER ERROR
    --cut here--
    action_otherside '' 'set "conflicts" "{1111627800 1111629600 DT2 EP7133100008 {The Simple Life: Interns} 5400} {1112580000 1112583600 E! EP7215080010 {The Entertainer} 7200}";set "Save" "Pass them to the other TiVo";'
    expected integer but got "7.1"
        while executing
    "lsort -integer [array names channeltablenum]"
        (procedure "getchannelsir" line 10)
        invoked from within
    "getchannelsir"
        (procedure "::action_otherside" line 9)
        invoked from within
    "::action_$action $chan $part $env"
        ("eval" body line 1)
        invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
    I have ftp'd confres.itcl off the tivo and checked it. Just like I stated above the file has the -integer removed. Is there another TW+ module that is called when the data is transfered to the other side? I'm starting to loose my mind :eek:
     
  5. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002

    Advertisements

    Did you do a full restart of TW? The code is all held in memory after loading; changes on the disk will do nothing until restarted.
     
  6. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    On the TiVo, where you tick the channels you have subscriptions to?
     
  7. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004
    Yep..not only did I do a full reload. I quit TW+ and telneted into the box and restated the service. I also rebooted both Tivos. I also made some text changes to the page so I knew the new version was loaded. I would call myself an experienced TiVo hacker and this one has got me baffled. I also even tried clearing my internet cache and I tried this on 3 different PCs.
     
  8. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Well, you clearly haven't deleted the "-integer" from getchannelsir I'm afraid! The error message is pretty clear...
     
  9. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004
    I agree with you on clarity of the error message. Today I tried a cold boot of both tivos. No luck. I then changed just the -integer from your original file via vi from the command line on both tivos. Did a full reload in TW+ and I still get this !@#$%^&* error message :mad: I have also tried moving the conflict to a 3rd tivo with the same damn problem.

    I also removed confres.itcl and did a full restart verified that the module was gone then copied it over in binary mode via ftp. Edited the file with vi and did another full reload. I'm getting close to throwing the towel in.
     
  10. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    FTP the confres.itcl from the target TiVo and post it here.

    Two that have caught me out on accisaion:

    * Do you have more than one install of tivoweb, say 1.9.4 and TW+?
    * Are you sure you are working on the copy from the /modules directory of the live install?
     
  11. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004
    I only have TW+ installed. I just double checked to make sure. And I am 100% confident that I am working with the /modules version.

    I started messing around with the manual version and had success with that. The manual version deleted my conflict (Local Channel Conflict) off my tivo so I was unable to test it again. I had to go and add a bunch of wish list items to make some new conflicts to test with.

    I've come to two conclusions so far. One, this might be a TW+ bug or two, the conflicts that I am currently working with do not have the decimal or local channels and they are passing the -integer test.

    The reason I think it might be a TW+ problem is that I modified your file to use confres2 and otherside2 and titled it Conflict Resolver 2. That was a test so I knew that it was using the new code that had the -integer removed. Well..when I passed the show to the other side it failed with the -integer problem. So I removed my modified .itcl file and did a full reload. I then used your file again and when I went to pass to the other side it sent it the my old url http://tivo/otherside2 instead of http://tivo/otherside. For some reason it must load the code and store it somewhere...like it cached it or something. Here is the part that puzzles me the most. I did a cold restart and it did the same thing. So it must write it to some files somewhere. But I am not a TW+ guru so I could be way off base here.

    As for the file it is currently working...it has passed a ton of shows...but they are all from the movie channels so I have a feeling they are passing the -integer. As far as I know the locals are the only non integer values. So at this point I can not confirm if my problem is resolved or not. Is there a way to force a conflict on my locals?

    I have attached the file as you requested. I put some notes in it where I modified it.
     

    Attached Files:

  12. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    This will definitely be a smack-to-the forehead mmeonet when you figure out what you are doing. I don't believe this is a subthe TW+ bug, but something very obvious, whatever it is. :)

    First off, there is certainly no cache in TW and I very much doubt that there's one in TW+, but all the code in /modules is loaded into memory on TW startup. A Full Restart will start over (actually a Quick Restart will too so far as modules are concerened).

    One possibility is that another module you have loaded has a procedure called getchannelsir which is taking priority over the one in conflict resolver? An old copy of the conflict resolver module perhaps? Try renaming the proc and the call to it.
     
  13. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004
    I changed the getchannelsir proc to getchannelsir2 and it seems to be working now. To test it I used the values from one of my previous post and built a test html file to pass the data to the otherside tivo.

    Code:
    <FORM METHOD="POST" ACTION="http://tivo/otherside"">
    <INPUT TYPE="hidden" NAME="conflicts" VALUE="{1111627800 1111629600 DT2 EP7133100008 {The Simple Life: Interns} 5400} {1112580000 1112583600 E! EP7215080010 {The Entertainer} 7200}">
    <INPUT TYPE="submit" NAME="Save" VALUE="Pass them to the other TiVo">
    </FORM>
    These shows were failing before and now I get the Availability on second TiVo: screen. Thanks for the all the direction you gave me Stuart. Plus, I learned alot about coding on the TiVo :D

    I've attached the final file that has worked for me. For anyone that uses this file they may want to change the default value for your remote tivo. The value in bold is what needs to be changed.

    puts $chan [tr "" [td "The other TiVo to try to find recording space on: "] [td [html_form_text 1 35 "tivoname" "10.0.0.99:99"]]]
     

    Attached Files:

  14. chippyt

    chippyt New Member

    157
    0
    Jan 17, 2002
    Colorado
    The module doesn't seem to take into account the second tuner on DirecTivos. I tried to pass a few recordings from one HDVR2 to another and it said the other HDVR2 was busy. Only one tuner was busy, so it could record on the second tuner, but the module doesn't realize it. A fix for this would be a great addition. Regardless, this is one module I use regularly. Thanks
     
  15. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Kid of assumed that with a two tuner DirecTivo you wouldn't need it; it's for us lowly series 1 SA users really.

    Wouldn't have a clue how to program for two tuners anyway, and couldn't test any code.

    Which is why the DirecTivo version of Endpad ended up being written by someone else.
     
  16. cmylxgo

    cmylxgo New Member

    33
    0
    May 20, 2004
    With wish lists and all those damn reality shows my wife likes to watch...its common that 2 tuners wont cut it. In fact I ran into a situation once that I had 5 shows recording at one time. I had to do some serious juggling (3 DirecTivos) to make it work...but now that your file is working...life is now going to be alot easier ;)
     
  17. DaytonaDave

    DaytonaDave New Member

    21
    0
    May 31, 2003
    Manhattan...
    Hi All,

    I have this running fine now with my two Tivos, but am having one issue that does not seem to be addressed.

    When my main Tivo tries to pass over a show being recorded on a Local, I always get the response that the channel is not available on the 2nd Tivo. (I do have locals on both, and they both work fine).

    Anyone else seeing this?
    Thanks,
    Dave
     
  18. sabu

    sabu New Member

    17
    0
    Jan 29, 2002
    Harrisburg, PA
    Does anyone have this working with one Tivo being an SA Series 1 and the other being an SA Series 2? I'm thinking about adding a second Tivo for conflict resolution (both show and wife) and want to know if I need to go digging for a Series 1.

    Thanks,
    Bob
     
  19. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I see no reason why it wouldn't work.
     
  20. gem2919

    gem2919 gem2919

    1
    0
    Jun 10, 2005
    Adelaide,...
    Hi to all, new user from down-under, Sanderton, I'm in awe.. great work mate. However its one of your babies that has drawn me to join the forum as I'm having a little trouble. If you can help I'd appreciate it.

    I'm running 2 Series1 tivo's with the Oztivo image 1.3 (Just bought my second unit). I'm having trouble with Conflict Resolve, all goes well, until I select a show to resolve, once I choose "pass them to the other Tivo" I get a response "Slot free, error finding fsid for link" and cant go any further. I've searched high and low and cant find any previous reporting / solution. I'm sure its basic, but I am definitely "amateur" when it comes to software issues.

    Thanks in advance

    Gary
     

Share This Page

spam firewall

Advertisements