View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 15 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Nov 18, 2003 10:39 pm 
Offline
Joined: Sun Nov 16, 2003 12:55 am
Posts: 15
Location: Seattle, WA
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.

_________________
Henry's very clever at printing.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 19, 2003 1:14 am 
Offline
Joined: Wed Nov 19, 2003 1:13 am
Posts: 1
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 20, 2003 9:43 pm 
Offline
Joined: Thu Nov 20, 2003 9:32 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: How to edit
PostPosted: Sun Nov 23, 2003 12:22 pm 
Offline
Joined: Sun Nov 23, 2003 12:16 pm
Posts: 1
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 23, 2003 1:28 pm 
Offline
Joined: Sun Nov 23, 2003 1:18 pm
Posts: 21
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 23, 2003 1:40 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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


Top
 Profile  
 
PostPosted: Tue Nov 25, 2003 9:16 pm 
Offline
Joined: Tue Nov 25, 2003 12:03 am
Posts: 5
Location: Catskill, NY USA
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


Top
 Profile  
 
 Post subject: Still not working here
PostPosted: Fri Dec 05, 2003 1:45 pm 
Offline
Joined: Fri Dec 05, 2003 1:41 pm
Posts: 1
Location: Wisconsin, USA
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 11, 2003 6:22 pm 
Offline
Joined: Wed Dec 10, 2003 6:22 pm
Posts: 4
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.


Top
 Profile  
 
 Post subject: setup
PostPosted: Thu Dec 11, 2003 7:19 pm 
Offline
Joined: Thu Dec 04, 2003 12:45 am
Posts: 17
Location: Perth Australia
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

_________________
Linux makes my head hurt!!! ;-)


Top
 Profile  
 
 Post subject: shoulda read here first
PostPosted: Fri Dec 12, 2003 12:34 am 
Offline
Joined: Fri Dec 12, 2003 12:30 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: okay, I'm an idiot
PostPosted: Mon Jan 19, 2004 8:08 pm 
Offline
Joined: Mon Jan 19, 2004 7:56 pm
Posts: 1
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?


Top
 Profile  
 
 Post subject: Re: okay, I'm an idiot
PostPosted: Sat Jan 24, 2004 4:46 pm 
Offline
Joined: Sun Jan 04, 2004 12:50 pm
Posts: 5
Location: Omaha, NE
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)

_________________
Lloyd Christmas, Esq
email://stephen at eruptingkingdom dot com
icq://6654423

System:
Dell 2400 Celeron 2.2, 256MB RAM, 2(120GB Deskstars), PVR250, Turtlebeach Santa Cruz, Intel Extreme Graphics (onboard)


Top
 Profile  
 
 Post subject: Re: Nano
PostPosted: Sat Feb 07, 2004 12:34 pm 
Offline
Joined: Tue Feb 03, 2004 11:05 pm
Posts: 18
Location: Ohio
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

_________________
Where all think alike, no one thinks very much.
- Walter Lippmann


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2004 1:14 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Nano is a text editor. Some would say it is "easier" than vi.;)

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu