| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | Re: [ECS] problem upgrading Tom Hutchins Wed, 5 Jan 2000 20:05:57 -0500 |
Mark, Don, Paul, Thanks to all your help I have TV-Guide / TV-Listings up and running great!!!!!!!! I had two things wrong first of all I didn't realize that my TZ-E file was overwritten when I upgraded so I had to go back in and "start from scratch" adding "*"'s and changing the channel #'s. Secondly, when I cut and pasted some of the TVL items into ecs.cfg somehow some extra spaces got into the 'FILE : ' lines and so ECS was looking for " : TVL.TXT" for example. So , a little editing repair work and now everything works great!! Now for a question. I want to get the VCR to record my favorites! I understand the selection of favs no problem. Now I need to get the 'IR stuff' working using my HV-PC w/ Xantech dual emitters plugged into the back. Help file describes how to input the IR signal data but I want to know if I can simply edit the existing VCR:REC ect items instead of starting over. Also, I don't need the Announcement along w/ the Record (am using the bedroom TV/VCR for this and the 'BOSS' will get very upset if the computer starts announcing that it will 'Record Poirot in 60 seconds' at 2am!!!). Can this be done? Thanks, Tom ----- Original Message ----- From: Don Stephens To: ecs-list@netbloc.com Sent: Wednesday, January 05, 2000 9:13 AM Subject: Re: [ECS] problem upgrading Tom: And I thought I got up early. :-) OK, here's TVL.BAT. It requires three arguments, Time Zone,Amount of Days forward, and the last number channel override. In my case it looks like this. TVL.BAT TZ-P 8 1. This is reflected in the TVL.BAT Item in your ECS.CFG. If you run this manually.... DEL ISPSTAT.DAT Deletes file ISPSTAT.DAT IF "%1"=="" GOTO ERR If there is no argument (TZ-P) the batch file jumps to ERR, else.. rem Generate TVLDL.BAT to download listings starting at 12:00AM rem (%2 is the day-count - default is 8 days) TVL0 %1 %2 TVL0 Runs with 1st and 2nd arguments, TZ-P and 8 or TVL0 TZ-P 8 rem Download listings: CALL TVLDL Calls the batch file TVDL and then returns here... START /W RASDIAL /DISCONNECT This is some of Mark's magic stuff to deal with the state of the modem.. IF NOT EXIST TVL.HTM GOTO ERR If the file TVL.HTM isn't found then jump to ERR... rem Convert HTML to text file and assign chan #s if applicable rem (%3 denotes channel# override): TVL1 TVL.HTM %1.CHN %3 TVLNEW.TXT This converts TVL.HTM to TVLNEW.TXT parsing the stuff in %1.CHN or in my case, TZ-P. At this point TVLNEW.TXT should exist...The 3rd argument tells the executable TVL1 if you want to override the channel numbers... rem Delete unwanted channels: FILTER @%1.CHN TVLNEW.TXT 0 29 Throw out unwanted channels from %1.CHN or in my case TZ-P.CHN... rem Calculate length (minutes) of each show: TVL2 TVLNEW.TXT TVL.TMP Like Mark says in the comment...TVL.TMP is a temporary file storing the future TVLNEW.TXT COPY TVL.TMP TVLNEW.TXT DEL TVL.TMP Coping the TMP file to TXT file, and then deleting the TMP file rem Save original TVLNEW.TXT (for possible reference) COPY TVLNEW.TXT TVLNEW0.TXT creating a TVLNEW0.TXT, mirroring the TVLNEW.TXT file.. And So on. You can copy TVL.BAT to another file and place pauses (PAUSE) between the commands of this new file and watch it execute. Just make sure you include the three arguments TimeZone, Amount of Days, Switch for channel override (0 or 1) and see what happens. I'm going to be home for part of the day, so drop me a note if you have any questions. Don
----- Original Message -----From: Don StephensSent: Wednesday, January 05, 2000 9:13 AMSubject: Re: [ECS] problem upgradingTom:And I thought I got up early. :-)OK, here's TVL.BAT. It requires three arguments, Time Zone,Amount of Days forward, and the last number channel override. In my case it looks like this.TVL.BAT TZ-P 8 1. This is reflected in the TVL.BAT Item in your ECS.CFG.If you run this manually....DEL ISPSTAT.DATDeletes file ISPSTAT.DATIF "%1"=="" GOTO ERRIf there is no argument (TZ-P) the batch file jumps to ERR, else..rem Generate TVLDL.BAT to download listings starting at 12:00AM
rem (%2 is the day-count - default is 8 days)
TVL0 %1 %2TVL0 Runs with 1st and 2nd arguments, TZ-P and 8 or TVL0 TZ-P 8rem Download listings:CALL TVLDLCalls the batch file TVDL and then returns here...START /W RASDIAL /DISCONNECTThis is some of Mark's magic stuff to deal with the state of the modem..IF NOT EXIST TVL.HTM GOTO ERRIf the file TVL.HTM isn't found then jump to ERR...rem Convert HTML to text file and assign chan #s if applicable
rem (%3 denotes channel# override):
TVL1 TVL.HTM %1.CHN %3 TVLNEW.TXTThis converts TVL.HTM to TVLNEW.TXT parsing the stuff in %1.CHN or in mycase, TZ-P. At this point TVLNEW.TXT should exist...The 3rd argument tells theexecutable TVL1 if you want to override the channel numbers...rem Delete unwanted channels:
FILTER @%1.CHN TVLNEW.TXT 0 29Throw out unwanted channels from %1.CHN or in my case TZ-P.CHN...rem Calculate length (minutes) of each show:
TVL2 TVLNEW.TXT TVL.TMPLike Mark says in the comment...TVL.TMP is a temporary file storing the futureTVLNEW.TXTCOPY TVL.TMP TVLNEW.TXT
DEL TVL.TMPCoping the TMP file to TXT file, and then deleting the TMP filerem Save original TVLNEW.TXT (for possible reference)
COPY TVLNEW.TXT TVLNEW0.TXTcreating a TVLNEW0.TXT, mirroring the TVLNEW.TXT file..And So on. You can copy TVL.BAT to another file and place pauses (PAUSE)between the commands of this new file and watch it execute. Just make sure you include the three arguments TimeZone, Amount of Days, Switch for channel override (0 or 1) and see what happens. I'm going to be home for part of the day, so drop me a note if you have any questions.Don