How to download subtitles when episode is not in cache

Timothy tmthywynn8 at aol.com
Thu Jun 19 14:30:37 PDT 2014


dinkypumpkin: You're going to have to find another example to test, though.

Okay, here's one about dolphins (one output is with program in cache, one 
without):
get_iplayer --subtitles-only --pid b046w2n8 --verbose
INFO: User prefs dir: C:\.../.get_iplayer
INFO: System options dir: C:\.../get_iplayer/options
Current options:
 atomicparsley = .\AtomicParsley\AtomicParsley\AtomicParsley.exe
 attempts = 1
 fatfilename = 1
 ffmpeg = .\FFmpeg\ffmpeg-1.2-win32-static\bin\ffmpeg.exe
 force = 1
 lame = .\lame\x86\lame.exe
 mmsnothread = 1
 mplayer = .\mplayer\MPlayer-1.0rc2\mplayer.exe
 nocopyright = 1
 nopurge = 1
 nowrite = 1
 output = D:\BBC iPlayer\Convert
 pid = b046w2n8
 rtmpdump = .\RTMPDump\rtmpdump.exe
 subsfmt = compact
 subsonly = 1
 subtitles = 1
 thumbsize = 150
 verbose = 1
 vlc = .\vlc\vlc.exe
 whitespace = 1

INFO: Search args: ''
INFO: Will try prog types: tv
INFO: Got 1370 file cache entries for tv
INFO Trying to stream pid using type tv
INFO: pid found in cache
Matches:
1147:   The Girl Who Talked to Dolphins - -, BBC Four, Audio 
Described,Factual,Guidance,Highlights,Nature & Environment,Popular,Science & 
Nature,TV, default,audiodescribed,
INFO: Getting page http://feeds.bbc.co.uk/iplayer/episode/b046w2n8
INFO: Getting page http://www.bbc.co.uk/programmes/b046w2n8.rdf
INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/b046w2n8
INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/b046w2n8
INFO: Using Not Live standard TV and Radio: b046w28j
INFO: Version: default, VersionPid: b046w28j, Duration: 3600
INFO: Getting page 
http://www.bbc.co.uk/mediaselector/4/mtis/stream/b046w28j?cb=61694
---snip---
INFO: Found mode subtitles1: (captions) http stream (CDN: http/10)
INFO: Getting page http://www.bbc.co.uk/programmes/b046w28j.rdf
INFO: Will search for versions: default
INFO: File name prefix = The Girl Who Talked to Dolphins - The Girl Who Talked 
to Dolphins b046w2n8 default
INFO: Getting Subtitles from 
http://www.bbc.co.uk/iplayer/subtitles/ng/modav/bUnknown-973a5fea-5294-4e13-8024-0d98d2d3be32_b046w28j_1403117592874.xml
INFO: Getting page 
http://www.bbc.co.uk/iplayer/subtitles/ng/modav/bUnknown-973a5fea-5294-4e13-8024-0d98d2d3be32_b046w28j_1403117592874.xml
INFO: Downloading Subtitles to 'D:\BBC iPlayer\Convert/The Girl Who Talked to 
Dolphins - The Girl Who Talked to Dolphins b046w2n8 default.srt'

INFO: 1 Matching Programmes

Deleting the entry from the cache:
---snip---
INFO: Search args: ''
INFO: Will try prog types: tv
INFO: Got 1369 file cache entries for tv
INFO: Getting page http://www.bbc.co.uk/programmes/b046w2n8.rdf
INFO: Episode-only pid detected
INFO: Trying pid: b046w2n8 using type: tv
INFO: Trying to stream pid using type tv
INFO: pid not found in tv cache
INFO: Cleaning pid Old: 'b046w2n8',  New: 'b046w2n8'

As you can see, it's the same issue. It doesn't even attempt to look at the URLs 
to get the subtitles.

Timothy 




More information about the get_iplayer mailing list