Results 1 to 6 of 6

Thread: Daily Call Script

  1. #1
    Join Date
    May 2005
    Posts
    35

    Daily Call Script

    Hey guys,

    I am using a wireless bridge connected to my tivo to perform the daily call.
    The problem is that it seems the bridge "goes to sleep".
    I have to ping the bridge a few times before it wakes up and i can connect to Tivonet. Therfore the update fails from time to time as i asume it times out before the bridge wakes up.

    Anywais, my question is what script / process / command gets run when a daily call is performed ? I want to be able to add something to the script such as a ping command from the tivo to the default gateway before the call is made ???

    Cheers,
    BD

  2. #2
    Join Date
    May 2005
    Posts
    35

    Update

    I have been doing some investigating and come across the file forcedailycall.tcl Is this the file that gets run ?

    How would i add a ping command to the start of this file ?


    #!/tvbin/tivosh
    exec /hack/bin/newtext2osd --fg white3 -s 10 -x 8 -t "Making daily call now"
    set Daily [binary format c20 "127 -60 126 100 127 -1 -15 -80 1 -78 92 -56 127 -18 -5 116 127 -75 -91 -8"]
    event send $TmkEvent::EVT_DIALUPEVENT 0 $Daily

  3. #3
    Join Date
    Aug 2004
    Location
    The Mainland
    Posts
    542
    try adding an "exec ping -c <count> <address>" at the top

    eg

    Code:
    #!/tvbin/tivosh
    exec ping -c 5 <address>
    exec /hack/bin/newtext2osd --fg white3 -s 10 -x 8 -t "Making daily call now"
    set Daily [binary format c20 "127 -60 126 100 127 -1 -15 -80 1 -78 92 -56 127 -18 -5 116 127 -75 -91 -8"]
    event send $TmkEvent::EVT_DIALUPEVENT 0 $Daily
    :
    1 x Philips TiVo Series 1, Cachecard, 1 x 1TB SATA (with recent TradeMe sourced adaptor), Mk II Pal Tuner Mod, NZ Emulator, Previously Dual A/V Source, Now Pay Satellite
    2 x TiVo HD, Freeview, HNP, 2TB (WD-AV) jmfs upgraded
    1 x Thomson UK TiVo, Cachecard, 200GB, Testing Work

  4. #4
    Join Date
    May 2004
    Location
    Wellington, NZ
    Posts
    477
    Quote Originally Posted by BenD
    I have been doing some investigating and come across the file forcedailycall.tcl Is this the file that gets run ?
    The ping command can be added as DJC has mentioned... but this command is not the one run for the automated daily call. If I were you I would run this command from cron every morning (2am?) as this way you can control when the daily call is being made and avoid some other potential issues.

  5. #5
    Join Date
    May 2005
    Posts
    35

    Thanks

    Thanks very much guys !

    Just out of intrest what gets run when the daily call gets made ?

  6. #6
    Join Date
    May 2004
    Location
    Wellington, NZ
    Posts
    477
    Quote Originally Posted by BenD
    Just out of intrest what gets run when the daily call gets made ?
    I don't know for sure, but if you are talking about the v3.0 software then I think it is all internal to the tivoapp binary. I do not think there is a pre or post script that could be modified. I think under v2.5.5 there is a postscript, but am unsure if there is a pre.

    You are still better off forcing a daily call to occur when you want, otherwise it could still be indexing information when you wish to use it which can cause issues (this has been partially worked around by having the guide data start a few days ahead).

Similar Threads

  1. S1 now failing to connect for daily call or test call
    By peter in forum Question and Answer Forum
    Replies: 7
    Last Post: 11-11-2009, 05:15 PM
  2. Daily Call?
    By baj11 in forum New Zealand General Forum
    Replies: 3
    Last Post: 12-02-2008, 10:50 PM
  3. Daily Call?
    By dyrplq in forum Question and Answer Forum
    Replies: 8
    Last Post: 28-01-2007, 09:47 PM
  4. Daily call: "Failed. Call Interrupted"
    By leanne in forum TV Guide Issues
    Replies: 4
    Last Post: 18-07-2005, 05:07 PM
  5. Script to avoid daily calls
    By zollymonsta in forum New Zealand General Forum
    Replies: 5
    Last Post: 28-08-2004, 09:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •