[mythtvnz] invalid epg data
Hadley Rich
hads at nice.net.nz
Tue May 19 22:24:34 BST 2020
Thanks for posting, this was a copy and paste error and should be fixed the
next time the script runs today.
On Sun, May 17, 2020 at 9:52 PM Mark van Dijk <mark.van.dijk.74 at gmail.com>
wrote:
> hi guys - my machine ran out of epg data today. I use tv_grab_nz-py.
> Investigation shows that the XMLTV data downloaded is not quite valid.
> mythfillldatabase was reporting malformed XML - premature end-of-file. The
> issue is that many of the <programme> entries contain the following:
> <audio>
> <audio>dolby digital</audio>
> </audio>
>
> However this should instead be:
> <audio>
> <stereo>dolby digital</stereo>
> </audio>
> '
> I've fixed it for now by adding the following line to:
> /usr/local/bin/tv_grab_nz-py
>
> res = res.replace('<audio>dolby digital</audio>', '<stereo>dolby
> digital</stereo')
>
> Line is added inside the 'getListings' function - right before the 'return
> res' line.
>
> Cheers
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20200520/f976dc67/attachment.html>
More information about the mythtvnz
mailing list