These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

failed to download radio programme with only podcast2 version

user-2371

using Win10 v1809 build 17763.437 64bit
latest gip 3.20.0
in the UK

GIP working fine for radio and TV, except for this one programme alone:

"
C:\Users\Username>get_iplayer --type=radio --pid=m00040hk
get_iplayer 3.20.0-MSWin32, Copyright (C) 2008-2010 Phil Lewis
 This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
 This is free software, and you are welcome to redistribute it under certain
 conditions; use --conditions for details.


Episodes:
Profile - Andrew Moffat, BBC iPlayer, m00040hk
INFO: 1 total programmes

INFO: No versions of this programme were selected (available versions: podcast2)
"
Programme can be downloaded direct from website as an mp3 (not via GIP).

Verbose version follows

Code:
get_iplayer 3.20.0-MSWin32, Copyright (C) 2008-2010 Phil Lewis
 This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
 This is free software, and you are welcome to redistribute it under certain
 conditions; use --conditions for details.

INFO: Start: 2019-04-14T12:39:33 (1555241973)
INFO: encodinglocale = cp1252
INFO: encodinglocalefs = cp1252
INFO: encodingconsoleout = cp437
INFO: encodingconsolein = cp437
INFO: ${^UNICODE} = 0
INFO: Profile dir: C:\Users\Username\.get_iplayer
INFO: User options file: C:\Users\Username\.get_iplayer\options
INFO: System options file: C:\ProgramData\get_iplayer\options
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Current options:
encodingconsolein = cp437
encodingconsoleout = cp437
encodinglocale = cp1252
encodinglocalefs = cp1252
nopurge = 1
outputradio = D:\iPlayer Recordings\radio
outputtv = D:\iPlayer Recordings\TV
pid = m00040hk
subtitles = 1
type = radio
verbose = 1

INFO: Search args: ''
INFO: Cleaning PID - old: 'm00040hk' new: 'm00040hk'

INFO: Downloading URL (1/3): https://www.bbc.co.uk/programmes/m00040hk.json
INFO: radio episode PID detected (m00040hk)
Episodes:
Profile - Andrew Moffat, BBC iPlayer, m00040hk
INFO: 1 total programmes
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history

INFO: Downloading URL (1/3): https://www.bbc.co.uk/programmes/m00040hk.json
INFO: Getting stream data for version: 'original'

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/m00040hj?cb=00680

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/m00040hj?cb=00680
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/m00040hj?cb=00680

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/m00040hj?cb=00680
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/m00040hj?cb=00680

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/m00040hj?cb=00680
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/m00040hj?cb=32511

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/m00040hj?cb=32511
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/m00040hj?cb=32511

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/m00040hj?cb=32511
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/m00040hj?cb=32511

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/m00040hj?cb=32511
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/m00040hj?cb=63817

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/m00040hj?cb=63817
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/m00040hj?cb=63817

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/m00040hj?cb=63817
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/m00040hj?cb=63817

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/m00040hj?cb=63817
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/m00040hj?cb=44894

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/m00040hj?cb=44894
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/m00040hj?cb=44894

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/m00040hj?cb=44894
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/m00040hj?cb=44894

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/m00040hj?cb=44894
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: No streams available for 'original' version (m00040hj) - skipping
INFO: Getting stream data for version: 'podcast'

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p075k9yf?cb=70829

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p075k9yf?cb=70829
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p075k9yf?cb=70829

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p075k9yf?cb=70829
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p075k9yf?cb=70829

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p075k9yf?cb=70829
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p075k9yf?cb=99178

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p075k9yf?cb=99178
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p075k9yf?cb=99178

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p075k9yf?cb=99178
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p075k9yf?cb=99178

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p075k9yf?cb=99178
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p075k9yf?cb=95141

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p075k9yf?cb=95141
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p075k9yf?cb=95141

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p075k9yf?cb=95141
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p075k9yf?cb=95141

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p075k9yf?cb=95141
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p075k9yf?cb=43429

WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p075k9yf?cb=43429
WARNING: Response: 404 Not Found

INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p075k9yf?cb=43429

WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p075k9yf?cb=43429
WARNING: Response: 404 Not Found

INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p075k9yf?cb=43429

ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p075k9yf?cb=43429
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: No streams available for 'podcast' version (p075k9yf) - skipping
INFO: Getting stream data for version: 'podcast2'

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p075mnx8?cb=57084

INFO: Downloading URL (1/3): https://cp143012-i.akamaihd.net/i/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-8510b8bf-5f79-42f7-a7dd-a736c275ff1a_p075mnx8_cUnknown_1554468789240.mp4/master.m3u8?hdnea=st=1555241976~exp=1555263576~acl=/*bUnknown-8510b8bf-5f79-42f7-a7dd-a736c275ff1a_p075mnx8_cUnknown_1554468789240.mp4*~hmac=1bc9fbcf1b06b2042256fde8ba5227d2f07cc0e33f9fed2dbd0bba82d3efc026

INFO: Downloading URL (1/3): https://aod-dash-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/1429a5-p075mnx8/vf_p075mnx8_5880fe58-95ad-490f-968e-5fb2f8fe5f6c.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?__gda__=1555263576_362ed27c7d4ee5fb0ee84afdbce6380e

INFO: Downloading URL (1/3): https://aod-hls-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/1429a5-p075mnx8/vf_p075mnx8_5880fe58-95ad-490f-968e-5fb2f8fe5f6c.ism.hlsv2.ism/vf_p075mnx8_5880fe58-95ad-490f-968e-5fb2f8fe5f6c.ism.hlsv2.m3u8?__gda__=1555263576_b074f2dc77e4b1423f61782a459b571d

INFO: Downloading URL (1/3): https://aod-dash-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_audio/1429a5-p075mnx8/vf_p075mnx8_5880fe58-95ad-490f-968e-5fb2f8fe5f6c.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?s=1555220376&e=1555263576&h=8face994f1cde940b35767d6e0212f6c

INFO: Downloading URL (1/3): https://aod-hls-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_audio/1429a5-p075mnx8/vf_p075mnx8_5880fe58-95ad-490f-968e-5fb2f8fe5f6c.ism.hlsv2.ism/vf_p075mnx8_5880fe58-95ad-490f-968e-5fb2f8fe5f6c.ism.hlsv2.m3u8?s=1555220376&e=1555263576&h=6761bb1cfe2ff6419960655a1859dde1

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p075mnx8?cb=51058

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p075mnx8?cb=59293

INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p075mnx8?cb=21364

INFO: Downloading URL (1/3): http://cp401492-vh.akamaihd.net/i/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-8510b8bf-5f79-42f7-a7dd-a736c275ff1a_p075mnx8_cUnknown_1554468791442.mp4/master.m3u8?hdnea=st=1555241977~exp=1555263577~acl=/*bUnknown-8510b8bf-5f79-42f7-a7dd-a736c275ff1a_p075mnx8_cUnknown_1554468791442.mp4*~hmac=a83e58c406284fb4e48e8efa578f2f11e9bff383b93d28618614268da9e30074
INFO: Found mode   hafhigh1:  gip_haf_340  hls  aac       N/A   N/A      N/A 340kbps af_limelight_uk_hls_https/20
INFO: Found mode   hafhigh2:  gip_haf_340  hls  aac       N/A   N/A      N/A 340kbps af_akamai_uk_hls_https/10
INFO: Found mode   dafhigh1:  gip_daf_320 dash  aac       N/A   N/A      N/A 320kbps af_limelight_uk_dash_https/20
INFO: Found mode   dafhigh2:  gip_daf_320 dash  aac       N/A   N/A      N/A 320kbps af_akamai_uk_dash_https/10
INFO: Found mode    hafstd1:  gip_haf_136  hls  aac       N/A   N/A      N/A 136kbps af_limelight_uk_hls_https/20
INFO: Found mode    hafstd2:  gip_haf_136  hls  aac       N/A   N/A      N/A 136kbps af_akamai_uk_hls_https/10
INFO: Found mode    hlastd1:  gip_hla_128  hls  aac       N/A   N/A      N/A 128kbps akamai_hls_open_https/100
INFO: Found mode    dafstd1:  gip_daf_128 dash  aac       N/A   N/A      N/A 128kbps af_limelight_uk_dash_https/20
INFO: Found mode    dafstd2:  gip_daf_128 dash  aac       N/A   N/A      N/A 128kbps af_akamai_uk_dash_https/10
INFO: Found mode    hafmed1:  gip_haf_102  hls  aac       N/A   N/A      N/A 102kbps af_limelight_uk_hls_https/20
INFO: Found mode    hafmed2:  gip_haf_102  hls  aac       N/A   N/A      N/A 102kbps af_akamai_uk_hls_https/10
INFO: Found mode    dafmed1:   gip_daf_96 dash  aac       N/A   N/A      N/A  96kbps af_limelight_uk_dash_https/20
INFO: Found mode    dafmed2:   gip_daf_96 dash  aac       N/A   N/A      N/A  96kbps af_akamai_uk_dash_https/10
INFO: Found mode    haflow1:   gip_haf_51  hls  aac       N/A   N/A      N/A  51kbps af_limelight_uk_hls_https/20
INFO: Found mode    haflow2:   gip_haf_51  hls  aac       N/A   N/A      N/A  51kbps af_akamai_uk_hls_https/10
INFO: Found mode    hlalow1:   gip_hla_48  hls  aac       N/A   N/A      N/A  48kbps akamai_hls_open/10
INFO: Found mode    daflow1:   gip_daf_48 dash  aac       N/A   N/A      N/A  48kbps af_limelight_uk_dash_https/20
INFO: Found mode    daflow2:   gip_daf_48 dash  aac       N/A   N/A      N/A  48kbps af_akamai_uk_dash_https/10
INFO: No media streams found for 'original' version (m00040hj) - deleting
INFO: No media streams found for 'podcast' version (p075k9yf) - deleting
INFO: Programme not in history
INFO: No versions of this programme were selected (available versions: podcast2)

user-586

The giP download works here.

My options file includes

Code:
radiomode good
versions original,shortened,podcast,editorial,lengthened

I get this:
Code:
Recording The Following Programmes

    https://www.bbc.co.uk/programmes/m00040hk - - (https://www.bbc.co.uk/programmes/m00040hk)


Episodes:
Profile - Andrew Moffat, BBC iPlayer, m00040hk
INFO: 1 total programmes

INFO: Downloading radio: 'Profile - Andrew Moffat (m00040hk) [podcast]'
##################################################################################################
INFO: Downloaded: 10.73 MB (00:14:01) @ 1.95 Mb/s (hafmed1/ll) [audio]
INFO: Converting to M4A
INFO: Tagging M4A

Recording complete

user-2371

Many thanks for your quick reply, forget.it.
I've just tried adding your prefs, and got exactly the same result as before, then struggled to reverse the prefs changes (yes, it is all in the help, but I don't think I've ever needed to do this before).
Very strange that I have no trouble with previous episode (Profile_-_Oliver_Letwin_m0003snn) of the same programme.
I've tried flushing cache and restarting giP to no avail, so now I will have to reluctantly try the techie's ultimate weapon and power cycle the PC.

user-2

(14-04-2019, 12:59 PM)INFO: No versions of this programme were selected (available versions: podcast2)
It's never a bad idea to actually read the output before posting. If get_iplayer can't figure out which programme version to download, it tells you which ones are available so that you can do it.

user-2371

Dinky

Thanks for that: I can confirm that --versions=podcast2 was enough to allow download.
The metadata shows that "versions=podcast" for previous episodes changed to "versions=podcast2" for the awkward one, as the PID changed from m0003snn to m00040hk, perhaps indicating a change of CDN.
Presumably get_iplayer has a series of "versions" coded as defaults (in the same way as it does for "modes" and so on), though I haven't yet found this in the documentation; I've never needed to change this setting hitherto.
If I were to add podcast2 via prefs, would it take precedence over other settings?  If so, would I need to add the normal defaults explicitly and in sequence to avoid this?
I would like to thank you and all the others who have contributed to the development and maintenance of get_iplayer, which has been so useful to me over many years, particularly in time-shifting radio programmes for my wife to listen to when she has been stuck in hospital.

user-2

This programme is an outlier. When this happens, just re-download using a version that get_iplayer indicates is available. That said, get_iplayer needs some changes to adapt to the BBC's recent penchant for making only podcast edits available. We'll implement some sort of workaround for the next release.

Don't add "podcast2" to your preferences. You should never define a version list in preferences unless you always need to select TV programmes with audio description or signing.

user-1949

Dinky (& Chuck Bennett)

Thanks for explaining why the Profile Programme (Andrew Moffat - m00040hk) failed to download.  My system also failed to download it but I hadn't got around to checking the logs.  I understand better now.

The next Profile (Danny Rose - m00045sx) also failed to download at about 0530 yesterday (Sun 14-Apr) and also failed today (Mon 14-Apr) at about the same time.  Suspecting a similar problem, I checked my log file for "available versions:", but the line didn't exist.  The pid was in the radio.cache on both days.

So I've just tried a manual download (~1400 on 15-Apr), and it has now worked fine.  Can one assume that this was a problem at the beeb?

Now I know a little more about odd podcast versions, I went digging in my logs and found another culprit - "Only Artists: Series 7 - Debbie Wiseman meets Peter Kosminsky, BBC iPlayer, m00035n4".  GiP reports that the available version for this is podcast3.

Thanks again, Dinky, for the hard work and keeping us sane.

pf

user-2

(15-04-2019, 03:13 PM)So I've just tried a manual download (~1400 on 15-Apr), and it has now worked fine.  Can one assume that this was a problem at the beeb?
It appears so.

Bottom line: If the only available version of a radio programme is "podcastX" (where X = 2,3,...), it will not be recognised by default and the download will fail with the "No versions of this programme were selected"  message. Use the --versionlist option to target the available version shown in the warning message. This will be fixed in the next release. This problem has been added to the knownissues page in wiki, so I'm closing this thread.

user-2

If a lot of programmes begin to exhibit this problem with podcast versions, it might worth temporarily changing your preferences (contrary to what I wrote above)  until a new release is available. Do it like this:

Code:
get_iplayer --prefs-add --versionlist=default,podcast2,podcast3,podcast4,podcast5

With "default" as the first value, the default version list is still checked as normal before the additional podcast versions. Remember to remove this from your preferences when you upgrade to the next release.

user-2

Fixed in v3.21

These forums are archived

See this post for further info