zen.org Communal Weblog

October 21, 2004

Wires wires wires

Filed under: — brendan @ 10:45 IST

On an impulse, this morning I switched the input line into the tv-box. I plugged the tv-box’s input line to instead go into the TV, to see just what the tv-box has been getting. Messy, snowy, though not quite as severe as was appearing on the tv-box. That’s from using the wall plug for NTL basic cable apparently. (I wonder if the tv-box itself is emitting enough distortion to cause it?)

There’s also a coax cable coming from a separate box on the wall for NTL digital cable. That line goes to a small splitter where the guy who installed it made the signal both go to the regular (fly plug it’s called?) plug on the TV, and also to the input on the NTL digital cable box (made by Pace). Fine, I made the tv-box’s cable plug into that little splitter for its input, instead of the wall. Tried the tv-box’s cable now into the TV again, and voila, a nice crisp picture. Hmm.

I put the cable back into the tv-box, so it’s now getting that nice crisp picture as its input. I make the TV show me the S-Video coming from the tv-box. It’s certainly better, though it is still a bit snowy and jerky, and it only shows a channel ‘1’ with no channel title on the bottom of the screen. Something else must be screwed up. I ran mythtv-setup again saying ‘yes’ to the question, “Would you like to clear all program/channel settings before starting configuration?” Then again created a new Video Source named “NTL”, choosing “United Kingdom (Alternative)” for its channels. Down to terminal window for adding channels where ps shows me that it ran

	  tv_grab_uk_rt --config-file '/home/mythtv/.mythtv/NTL.xmltv' --configure

But it’s not the happiest; it gave me the prompt

	  Enter the name of a channel, or '.' to finish selecting channels: BBC1
	  Which channel to add?  (I hit Return here)
	  Died at /usr/bin/tv_grab_uk_rt line 257,  line 4.

Maybe a bug? Fine, I’ll get the latest version of the script to see if it fixes the problem of not listing the channels matching your search string, like the previous KnoppMyth-included version did. I have to first install CVS since KnoppMyth doesn’t include it by default: apt-get install cvs. When it asked about location of the repositories, I left the /var/lib/cvs default and on the next screen, chose ‘ignore’ to not worry about not having any. Also told it to not enable the CVS pserver. Great!

Now we can get the file:

	cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xmltv login
		(ignoring the warning about .cvspass not existing yet)
	cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xmltv co xmltv
	cd xmltv
	perl grab/uk_rt/tv_grab_uk_rt.PL new-uk /usr/share/xmltv
	as root:
	  mv --backup new-uk /usr/bin/tv_grab_uk_rt
	  chmod 755 /usr/bin/tv_grab_uk_rt

Looking at the diff between the versions, I see that the tv_grab_uk_rt script is now calling ask_choice instead of ask about which channel to add. That was the fix so it now properly lists the matches for ‘BBC1’ or ‘RTE1’.

Back into the Channel Editor we go, now add RTE1 again (since we didn’t get past creating the Video Source), added RTE1 using A11 for both the Channel Name and Frequency ID, but on the third screen asking for the frequency in Hz I left that blank, as well as not modifying the subsequent screen. Then re-ran mythfilldatabase. Much more quiet now (a few messages about wide characters for perl’s IO/Handle.pm line 147, but nothing else). For whatever reason, it’s still invoking

	  /usr/bin/perl /usr/bin/tv_grab_uk_rt --days 1 --offset 0
                --config-file /home/mythtv/.mythtv/NTL.xmltv --output /tmp/mythuZ2Jfu

which has me curious since one of the sites yesterday had a comment about making it understand that it’s getting a full two weeks of information in the radiotimes.com output now. Perhaps I need to rebuild mythfilldatabase to make it understand that? Yeesh.

After a while it’s made it to October 21 in getting the program information, but it’s also still giving the

	Duplicate entry '1000-2004-11-03 22:15:00-678-' for key 1

error. Oh well, more tonight maybe.

Heh, this is a blog catagory turning into a ChangeLog.

Some people may not get health insurance so they have choice to pay for the really expensive prescription drugs or research how to buy generic medications online. Generic drugs are as safe as other branded meds. Only reputable pharmacy produces them such as Cipla. Having this in head one can buy paxil uk in generic online drugstore including free shipping anywhere in the world

Powered by WordPress