[mythtv] bug in zap2it listings

Gregorio Gervasio Jr. mythtv-dev@snowman.net
Mon Jan 6 09:36:43 EST 2003


        It looks like some channel logos are specified with a trailing
space (like "ae.jpg ") in the zap2it listings, at least in my area.
XMLTV preserves the space but it's works since the space happens to
get stripped when wget downloads it and when mythfilldatabase puts in
the database.  Unfortunately, mythfilldatabase always tries to
download it since the file check is done with a trailing space and
that file doesn't exist.  When wget downloads the file again, it
avoids overwriting the file by adding ".1", then ".2", and so on.  The
end result is that there are multiple copies of the file:  ae.jpg,
ae.jpg.1, ae.jpg.2, ...  Check the files in your ~/.mythtv/channels
directory to see if this is happening.

        Since the file on the web site doesn't have a trailing space
and the web page is correctly displayed on a browser, should XMLTV be
stripping the trailing space?
-- 
Gregorio Gervasio, Jr.
gtgj@pacbell.net



More information about the mythtv-dev mailing list