These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Subtitles not downloading with --pid

user-1202

Hi there

On Windows V98 works fine.

On the LINUX version I downloaded fro GitHub I get error on the subtitles

For example TABOO downloads program fine but error on subtitles

I checked Linux version V.294 (Old I know) and subtitles downloaded correctly.

PID of the program is b08dydz3  Taboo Episode 5

Thanks

BTW great work

Cheers

user-2

Works fine here. It's impossible even to speculate when you don't tell us what the error is.

user-911

My father had a problem with subtitles downloading (albeit on Windows).

The issue seemed to be that as he has "--type=tv,radio" in the prefs (as he downloads both), when downloading via the PID it sometimes checks the radio first and sometimes TV.

If it checks the radio first it doesn't seem to download the subtitles, if however it checks the TV first, it does. This is also the case when using --subsonly to try and just download the subtitles afterwards.

What he does now when this occurs is add --type=tv into the command line (even though it is in the prefs) and the subtitles download.

Maybe this will work for you in Linux.

user-1202

Hi there

Thanks --that worked (--type=tv)

Cheers

user-2

I'll try to change that for next release so that "tv" is always used first if both are specified. The type is effectively ignored for download with --pid, but of course subtitles are only retrieved if get_iplayer thinks it is downloading a TV programme.

user-2

Fixed in get_iplayer 2.99

user-1202

Hi there

I checked again -

Windows V2.99 OK
Linux V2.99  Still not working --- got message download subtitles failed
Linux V2.97  working fine

Programs I wanted were Taboo and Hull city of Culture (BBC 2 Sat)

Thanks for looking and replying

I'll try again later

Linux OS being used -- Centos 7.2 .

Cheers

user-2

Works fine here. Follow our instructions to submit a full report so I can see what is happening on your system. Use --subtitles-only to save time.

user-1177

Maybe you are using flash? I don't see in the code where it handles caption urls (or decodes the entities like "amp" in the url).

I also recall having problems trying to get just subtitles and not having a tvmode set.

./get_iplayer --subtitles-only --pid X

Code:
<media expires="2017-03-21T22:00:00Z" kind="captions" media_file_size="80145" service="captions" type="application/ttaf+xml">
<connection authExpires="2017-02-22T11:51:56+00:00" authExpiresOffset="42146" dpw="50" href="http://vod-sub-uk-live.akamaized.net/iplayer/subtitles/ng/modav/bUnknown-X.xml?__gda__=1487750170_X" priority="10" protocol="http" supplier="mf_akamai_uk_plain" transferFormat="plain"/>
<connection authExpires="2017-02-22T07:00:33+00:00" authExpiresOffset="18163" href="http://vod-sub-uk-live.bbcfmt.hs.llnwd.net/iplayer/subtitles/ng/modav/bUnknown-X.xml?s=148&amp;e=1X&amp;h=5e185256XX" priority="20" protocol="http" supplier="mf_limelight_uk_plain" transferFormat="plain"/>
<connection authExpires="2017-02-22T11:46:57+00:00" authExpiresOffset="35147" dpw="50" href="https://vod-sub-uk-live.akamaized.net/iplayer/subtitles/ng/modav/bUnknown-X.xml?__gda__=148" priority="30" protocol="https" supplier="mf_akamai_uk_plain_https" transferFormat="plain"/>
<connection authExpires="2017-02-22T07:27:13+00:00" authExpiresOffset="19463" href="https://vod-sub-uk-live.bbcfmt.hs.llnwd.net/iplayer/subtitles/ng/modav/bUnknown-X.xml?s=1487&amp;e=1487&amp;h=a3a0X" priority="40" protocol="https" supplier="mf_limelight_uk_plain_https" transferFormat="plain"/>
</media>

These forums are archived

See this post for further info