[mythtv-users] XMLTV Not "Connecting"?

and hons at rcn.com
Wed Nov 19 00:26:12 EST 2003


I found the problem ...

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

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

The difference is the    \s*

By the way the Zaplisting.pm you need to change is in  
/usr/lib/perl5/site_perl/5.8.0/XMLTV/Zaplisting.pm on my RH9 system.

Just changed mine and it's humming again

rgds
anders


On Nov 18, 2003, at 9:06 PM, and wrote:

> Does the space go before or after the '<' ?
> I've tried both without success.
>
> rgds
> anders
>
> On Nov 18, 2003, at 7:19 PM, Michael J. Hammel wrote:
>
>> On Tue, 2003-11-18 at 21:03, Warren Pattison wrote:
>>> Hello,
>>>
>>> I recently started setting up a MythTV box, and before I got my new
>>> hardware, had most of it running on another system.  When I went
>>> through that first install, the part where you input your zip code
>>> worked flawlessly.
>>>
>>> Now, when I input my zip, no Providers populate the list.
>>
>> I ran into the same problem today.  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.
>>
>> See
>> http://sourceforge.net/mailarchive/forum.php? 
>> thread_id=3489369&forum_id=7180
>>
>>
>> This seems to fix the problem.  It must have just cropped up today.
>>
>> -- 
>> Michael J. Hammel <mythtv at graphics-muse.com>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2059 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20031118/e51cbbbb/attachment.bin


More information about the mythtv-users mailing list