[DONE] Add option to make get_iplayer fail over if segment cannot be downloaded
#9
(14-08-2016, 01:34 PM)robcamstone Wrote: How about an option to make get_iplayer try the next mode in the comma separated list of modes when segment cannot be downloaded is detected.

Since commit 1564276 on the development version, that is exactly what get_iplayer does:

get_iplayer Output:

Matches:
2344: Versailles - Episode 10, BBC Two, b07p0q0j

INFO: 1 Matching Programmes
INFO: Checking existence of original version
INFO: hlshd1,flashhd1,flashhd1 modes will be tried for version original
INFO: Trying hlshd1 mode to record tv: Versailles - 10. Episode 10
INFO: File name prefix = Versailles_-_10._Episode_10_b07p0q0j_original                  
INFO: Begin recording file: D:\get_iplayer_temp\Versailles_-_10._Episode_10_b07p0q0j_original.partial.mp4.ts

ERROR: Segment not found (3)
http://cp401489-vh.akamaihd.net/i/iplaye...t3_2_av.ts
ERROR: Download aborted at 20 secs in programme
INFO: skipping hlshd1 mode
INFO: Trying flashhd1 mode to record tv: Versailles - 10. Episode 10
INFO: File name prefix = Versailles_-_10._Episode_10_b07p0q0j_original                  
INFO: Begin recording file: D:\get_iplayer_temp\Versailles_-_10._Episode_10_b07p0q0j_original.partial.mp4.flv
RTMPDump v2.4-102-ga3a600d-get_iplayer
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
It is also probably worth noting that the TV hls recording modes have been removed completely in commit 78e253d as they have become unreliable, quote 'left to rot'.


Messages In This Thread
RE: Add option to make get_iplayer abort if segment cannot be downloaded - by errfmt - 14-08-2016, 08:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [DONE]  Make --type work with --pid-recursive GrahamCobb 4 2,191 14-07-2019, 02:25 AM
Last Post: dinky