LinHES Forums
http://forums.linhes.org/

XML TV fix for provider listings.
http://forums.linhes.org/viewtopic.php?f=1&t=138
Page 1 of 1

Author:  Paul Davis [ Tue Nov 18, 2003 10:39 pm ]
Post subject:  XML TV fix for provider listings.

I had trouble reconfiguring my myth box tonight -- I could not get the provider list by zip code in the Video Sources dialog.

I found this solution on the mythtv-users mailing list.:

Quote:
Code:
Someone else posted a fix on the xmltv-users mailing list on sourceforge.  In ZapListings.pm, make this very minor change:

old: while ( $options=~s/<OPTION value="(\d+)">([^<]+)<\/OPTION>//ios )
{
new: while ( $options=~s/<OPTION value="(\d+)" >([^<]+)<\/OPTION>//ios ) {
                                              ^

There is a space added where I put that caret.

Author:  UB_KMA [ Wed Nov 19, 2003 1:14 am ]
Post subject: 

That did the trick! I think Zap2it changed something in their db -- my provider list entries all end in &bsp now, but it works, and that's what counts.

Author:  herecomethebugs [ Thu Nov 20, 2003 9:43 pm ]
Post subject: 

Can some one explain how I can edit this file that he is talking about? I'm a complete n00b to linux.

I'm assuming that this has to be done in the console? How do I get to the console so I can edit the file? If I hit Alt-tab while I’m in myth TV I see a window that looks like the console, but it doesn't seem to accept any of the very limited amount of commands that I know. :D

Thanks

Author:  pardsbane [ Sun Nov 23, 2003 12:22 pm ]
Post subject:  How to edit

You can get to a shell by quitting mythtv: Press escape till you are at the main menu. Press escape again. If you are in mythtv-setup, it will just quit. Otherwise it will ask if you want to quit. Say yes.

From the KnoppMyth desktop, left click the desktop and choose Xterm. From there, type:

cd /

This will take you to the root directory, incase you weren't there yet. Then type:

find -name ZapListings.pm

This will search your harddrive for the file to edit.

Then type:

xedit <pathtofile>

And you'll get a window where you can edit a window.

Remember, you need to keep the mouse over the window you want to type in, so the windows border is pink. Otherwise, your keypresses won't go to the right window.

If you are familiar with vi, you could use that. I only suggest xedit because its the most obvious to use text editor shipped with KnoppMyth. I wish KnoppMyth shipped with nano too.

Author:  Dijital [ Sun Nov 23, 2003 1:28 pm ]
Post subject: 

I followed the instructions but I still can't get a provider list. Looking at the terminal window I get the following error:

Code:
Parameterless “use IO” deprecated at /usr/share/perl5/XML/Writer.pm line 16
Zap2it gave us a page with no service provider options


Going to Zap2it.com I can infact find my service provider.

Any ideas?

Author:  cesman [ Sun Nov 23, 2003 1:40 pm ]
Post subject: 

apt-get update
apt-get install nano

I suggest....
rm -fr .mythtv/*.xmltv .mythtv/channels
Run mythtv-setup and reconfigure source
Once complete as root
/etc/cron.daily/mythtv-backend

cesman

Author:  aleone [ Tue Nov 25, 2003 9:16 pm ]
Post subject:  I am getting the listings after changine ZapListings.pm

I do get the listings after editing ZapListings.pm, but occasionally while it's running mythfillbackend the process hangs with an error something like

server gave us an error, format looks ok but no programs
un-retryable error for station xxxx

and then it go's on to the next station. If I re-run this process, it occurs on another station, but I have never gotten it to complete it's run with out getting an error

Author:  stedlj [ Fri Dec 05, 2003 1:45 pm ]
Post subject:  Still not working here

apt-get update
ok
apt-get install xmltv
Only ends up with 0.5.19-2
Where can I get the newer version?


Also
Anyword on R5

Author:  spillins [ Thu Dec 11, 2003 6:22 pm ]
Post subject: 

Hello, I did the edit of the Zaplistings.pm, but how do you go back to reconfigure the mythsetup or mythtvsetup. I tried to type that on the root directory and the myth directory I believe but it wouldn't go to the setup screen. Any help would be appriciated, thanks.

Author:  Fodder1 [ Thu Dec 11, 2003 7:19 pm ]
Post subject:  setup

try

mythtv-setup

from an xterm window

For some reason it is different from the other version (r12) proberly somthing to do with Knoppix.


Chris

Author:  elmegil [ Fri Dec 12, 2003 12:34 am ]
Post subject:  shoulda read here first

I ran into this very problem tonight doing my first successful (well not quite) install of KnoppMyth. I did the apt-get update to try to resolve it, a bunch of gets failed, and now xmltv no longer exists on my system, even though the package info says 19-2.

Any thoughts on this? Since it was a brand new install, I plan to just start over again, but if anything similar happens, I'd like to understand what went wrong. I am completely new to Debian, being a long time RH and SuSE user. Any suggestions/help appreciated.

Author:  JoyMonkey [ Mon Jan 19, 2004 8:08 pm ]
Post subject:  okay, I'm an idiot

I've been having the same problems, and I'm a Linux virgin to boot :oops:

I've tried to follow the steps in this thread, I've done the 'apt-get update' successfully but I still need to edit ZapListings.pm

I can open the file with xedit, but it is read only and I have no idea how to change its permissions; so I can't make any changes to it. Can someone give me a simple step-by-step on how I can modify the file?

Author:  lloydchristmas [ Sat Jan 24, 2004 4:46 pm ]
Post subject:  Re: okay, I'm an idiot

JoyMonkey wrote:
I've been having the same problems, and I'm a Linux virgin to boot :oops:

I've tried to follow the steps in this thread, I've done the 'apt-get update' successfully but I still need to edit ZapListings.pm

I can open the file with xedit, but it is read only and I have no idea how to change its permissions; so I can't make any changes to it. Can someone give me a simple step-by-step on how I can modify the file?


I just did the XMLTV update and I think it negated the need to do this step, but here's some instructions for editing (for the newbies):

Ok follow along:
type: find / | grep "ZapListings.pm"
type: vi path_to_file

while in the vi editor:
type: /word_to_search_for (to find the line in question)
type: i (to enter insert mode)
change the line
hit esc
type: :wq! (colon, write, quit, exclamation)

Author:  dequire [ Sat Feb 07, 2004 12:34 pm ]
Post subject:  Re: Nano

cesman wrote:
apt-get update
apt-get install nano

I suggest....
rm -fr .mythtv/*.xmltv .mythtv/channels
Run mythtv-setup and reconfigure source
Once complete as root
/etc/cron.daily/mythtv-backend

cesman


Just curious...What's Nano? And why is it not mentioned anywhere else in the thread? Just trying to keep learning here :P

Author:  cesman [ Sat Feb 07, 2004 1:14 pm ]
Post subject: 

Nano is a text editor. Some would say it is "easier" than vi.;)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/