How to load IR codes in tivosh
I'm trying to set up another TiVo for use without guide data and I'm having problems figuring out to how to properly load the IR.TCL file that I generated with Sam Highley's Tivo IR Blaster File Generator.
I followed the instructions in the IR Wiki:
http://www.oztivo.net/twiki/bin/view...ersionAndSetup
http://www.oztivo.net/twiki/bin/view...sionMoreDetail
I'm unclear what command should be used after:
tivosh
source stb.tcl
In one of the above Wikis it says:
Quote:
9. at a bash prompt enter:
tivosh
source stu100.tcl
stu100
[...]
tivosh
source teac_stb.tcl
loadcodes
However, neither method works. If I enter the name of the ir tcl file without the extension no message is displayed (there are some puts commands at the end of the .tcl file that should be displayed) and the same happens when I use loadcoades afterwards. I also read somewhere else on the Internet that one should enter setcodes instead of loadcodes.
I'm now completely confused. What's the proper way to manually upload an IR TCL file with IR codes? If loadcodes is indeed the correct command how does it "know" which .tcl file to process. And is it normal that no messages are being displayed even though the .tcl file contains puts commands?
Any help is appreciated.
How to load IR codes in tivosh
Thanks for the quick reply, Peter. I had a look at the IR .tcl files created by Sam Highley's Tivo IR Blaster File Generator
and found out that they contain indeed a loadcodes proc statement.
However, the IR .tcl files generated by Gary Sargent's Pronto converter contain a setcodes proc statement.
Also none of them create the same kind of .tcl files.
Unfortunately, neither of them seem to work. Is there any other way to test with whether the TiVo has STB remote codes stored for a given STB box number? And is there an easy way to find out if the IR blaster cable is actually sending out signals? I tried looking at the IR LEDs through an electronic camera, but I didn't see anything, when I pressed the buttons on the Remote.
Trying to add IR support for okano stb.
I've been following the instructions for adding support for a new STB. It has all gone well except for the final part where (I think) the STB should appear in the list of supported STBs.
I've been following the instructions at:
http://www.oztivo.net/twiki/bin/view...FromIRDatabase
http://www.oztivo.net/twiki/bin/view...gCodesWithTivo
and most importantly with
http://www.oztivo.net/twiki/bin/view...IrSliceCreator
Everything seemed to work just as was suggested. However after what seems to have been successful and multiple reboots of the tivo the stb does not appear in the list.
Its been a frustrating 6 days or so trying to get this thing up!
Any hints would be greatly appreciated. Since someone said it might be useful also below please see the tcl that was generated.
thanks!
Bryan.
[TiVo [p0] /hack/etc/ircodes]# tivosh
% source okano.tcl
% okano
Setting okano codes for TiVo 29992...
Finished! Reboot your TiVo for the new codes to take effect.
% loadcodes
invalid command name "loadcodes"
% exit
[TiVo [p0] /hack/etc/ircodes]# cat okano.tcl
source /tvlib/tcl/tv/mfslib.tcl
proc setIr { irObj field irSequence } {
set savedInitial 0
foreach irPart $irSequence {
if {$savedInitial == 0} {
set savedInitial 1
dbobj $irObj set $field $irPart
} else {
dbobj $irObj add $field $irPart
}
}
}
proc okano {} {
set db [dbopen]
puts "Setting okano codes for TiVo 29992..."
RetryTransaction {
set tivoir [db $db open /Component/Ir/TivoFormat/29992]
setIr $tivoir "Dig1" "0 43 36 0 521 182 30 216 302 146 31 123 22 37 22 20 22 20 22 20 22 20 22 49 21 20 22 66 21 49 22 67 22 67 22 67 22 67 21 67 21 38 22 38 21 20 22 20 22 20 21 20 22 20 22 20 21 49 22 49 22 67 21 67 22 66 22 67 22 67 22 1 88 240 81 21 266 "
setIr $tivoir "Dig2" "0 43 36 0 520 255 31 29 29 94 31 28 31 28 30 28 31 29 29 2 8 31 29 30 93 30 28 31 93 30 94 30 93 31 92 32 92 32 91 33 27 29 94 30 30 29 29 29 30 30 29 29 29 30 29 31 92 31 27 33 91 31 94 31 92 31 93 31 93 30 93 30 365 5 20 126 30 362 "
setIr $tivoir "Dig3" "0 43 36 0 520 255 31 29 30 93 30 28 29 30 30 28 31 28 31 2 8 31 27 32 92 31 28 31 92 32 92 31 92 32 92 31 93 30 93 31 92 32 93 31 27 30 29 31 28 29 29 31 28 31 28 31 28 29 29 31 93 30 95 30 93 30 93 30 93 30 93 31 368 5 21 125 32 371 "
setIr $tivoir "Dig4" "0 43 36 0 521 253 32 27 32 92 31 28 31 29 30 28 30 29 31 2 7 31 28 30 93 31 28 32 92 31 92 32 92 31 93 30 93 31 92 31 28 32 27 30 93 31 29 31 27 32 27 31 29 29 29 30 93 31 92 31 28 31 92 33 91 30 95 29 94 30 93 31 366 5 20 126 30 364 "
setIr $tivoir "Dig5" "0 43 36 0 519 256 31 27 32 93 29 29 31 28 30 29 30 28 31 2 8 31 28 30 94 31 27 30 93 31 93 31 93 30 94 30 93 30 93 31 92 33 27 29 94 30 30 30 28 30 29 31 28 30 28 31 28 30 93 31 27 32 92 32 93 29 94 30 93 32 92 31 373 5 20 125 31 370 "
setIr $tivoir "Dig6" "0 43 36 0 521 255 31 27 31 92 32 28 31 28 30 28 31 28 32 2 7 30 29 31 93 30 28 30 94 30 93 30 93 31 93 30 94 31 93 30 28 30 93 32 93 30 27 32 28 30 29 29 29 30 29 31 93 30 28 30 29 31 92 33 90 32 93 29 94 31 93 30 366 5 21 125 30 363 "
setIr $tivoir "Dig7" "0 43 36 0 520 255 30 28 32 92 31 27 31 28 32 28 30 28 30 2 9 31 29 29 94 30 28 30 93 31 92 32 93 29 94 32 92 30 93 31 92 32 92 31 93 30 28 31 28 31 29 29 29 32 27 30 29 29 30 30 28 31 92 31 93 31 92 31 93 31 94 30 367 5 20 125 32 372 "
setIr $tivoir "Dig8" "0 43 36 0 520 256 31 28 30 94 29 30 30 28 31 29 29 28 31 2 9 30 27 32 92 32 27 32 92 30 94 30 94 30 93 30 93 30 93 32 27 31 28 30 29 30 94 29 30 29 30 29 29 30 29 30 93 31 93 31 92 31 28 31 93 30 93 31 92 31 92 32 365 5 20 126 29 371 "
setIr $tivoir "Dig9" "0 43 36 0 522 254 30 28 31 93 30 29 30 28 32 28 30 28 31 2 8 31 28 30 94 31 27 30 94 30 93 30 94 30 93 30 94 30 93 30 94 30 28 31 28 31 93 31 28 30 28 32 28 31 27 30 29 30 94 30 93 30 28 32 92 31 92 31 93 30 94 30 370 5 20 125 31 374 "
setIr $tivoir "Dig0" ""
}
puts "Finished! Reboot your TiVo for the new codes to take effect."
dbclose $db
}
[TiVo [p0] /hack/etc/ircodes]#