These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

"Illegal division by zero" when downloading radio

user-1535

Just came across an error when downloading any radio program using 2.99 on Raspbian (latest). This only occurs with radio, TV works fine. Error happens in both CLI and web GUI.

Code:
Illegal division by zero at /usr/local/bin/get_iplayer line 5591.

Example log is attached.

user-2

Works fine here. Upload the entire log so I can see what is happening on your machine. The excerpt you uploaded doesn't even show the error.

user-1535

Thanks for your reply. Just recorded another go at the same query. Includes a feed refresh. Log attached.

user-2

Try it again, and then download the DASH manifest shown in your log to a file with wget or curl. Post that file, not the get_iplayer log. The manifest is the long URL just before the error message. In your last upload it was:
Code:
http://aod-dash-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_audio/262377-b08f16ty/vf_b08f16ty_f685866a-08cf-40eb-8980-6e89d2a76a62.ism/pc_hd_abr_v2_uk_dash_master.mpd?s=1488168312&e=1488211512&h=ba2b95737bafb82cd0d550dd23d56ebb

user-1535

Stumbled into the problem myself. An intermediary DNS service was interfering with just the radio media from iPlayer. Extremely odd problem but turns out that get_iplayer was not at fault. Thanks for leading me to the issue.

These forums are archived

See this post for further info