iptv-org / epg

Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.
https://iptv-org.github.io/
The Unlicense
1.86k stars 213 forks source link

Syntax Error in AU Guide #1581

Closed lhvy closed 1 year ago

lhvy commented 1 year ago

Guide

https://iptv-org.github.io/epg/guides/au.xml

Description

Visiting the guide's URL, or inputting it into xteve results in the following error:

image
RevGear commented 1 year ago

There are a couple of programmes with a rating of B&W.

<programme start="20221228152000 +0000" stop="20221228170000 +0000" channel="7flix.au"><title lang="en">Obliging Young Lady</title><desc lang="en">A comedy about a young girl caught in a custody battle who finds herself the centre of attention at a mountain resort.</desc><rating system="ACB"><value>B&W</value></rating></programme>

<programme start="20221229163000 +0000" stop="20221229180000 +0000" channel="7flix.au"><title lang="en">The Woman On Pier 13</title><desc lang="en">A newly married shipping magnate is blackmailed into returning to the Communist Party.</desc><rating system="ACB"><value>B&W</value></rating></programme>

I assume it's a error in the source data as that's not even a valid ACB rating

RevGear commented 1 year ago

@freearhey this might be easier for you to fix in the epg-grabber project. Use escapeString when writing the rating value.

freearhey commented 1 year ago

@RevGear fixed in v0.29.5