These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Parser error when loading subtitles

user-1987

I have a repeatable error (on my computer) with Parser error messages (Version 3.06.0)
get_iplayer --pid=b0074513 --subtitlesonly --verbose

Please see the attached log file

Many thanks

royston.txt

user-30

@curious - seems you're outside the UK.

We can't help you.

See forum rules.

Thanks

user-2

This isn't a non-UK issue per se, but we still can't help you. The subtitles are corrupt on the BBC side. You should always check these things on the iPlayer site, where you would see the subtitles don't load either. You have to notify the BBC to get them fixed. However, get_iplayer should fail more gracefully, which I will fix in the next release.

user-2

As a stopgap, you can re-run the command you used to produce the log and pluck out the current subtitles URL (containing the .xml subtitles file, just before the error). Use that URL to download the corrupt file with curl, wget or something similar (your browser likely will choke on it). Then upload it to https://gotranscript.com/subtitle-converter and convert it to SRT.

EDIT: Metadata tagging is skipped when corrupt subtitles cause an error. To complete metadata tagging, re-run the same download command but omit --get and --subtitles and add --tag-only.

user-2

The subtitles for the above programme have been repaired by the BBC.

user-2

v3.07 should fail more gracefully if corrupt subtitles are encountered.

These forums are archived

See this post for further info