r/iplayer • • 19d ago

Get_iplayer 'Divide by zero' error

Just started in the last week.

The error sting is: "Illegal division by zero at C:\Program Files\get_iplayer\get_iplayer.pl line 6256".

I've tried:

  • updating get_iplayer to the latest version
  • uninstalling/reinstalling get_iplayer
  • restoring my PC to an earlier restore point (about 2 days after get_iplayer last worked)

I've tried with a couple of various shows, and get the same error everytime. Anyone else have this problem, and maybe a fix?

6 Upvotes

18 comments sorted by

4

u/DaveAlot 19d ago

See here: https://github.com/get-iplayer/get_iplayer/issues/524#issuecomment-6798973037

There's a fix already in the works and there's a workaround listed there until the fix is released.

2

u/random_Images 19d ago

Thanks! I did go to the Github repository, but didn't see the "issues" section.

Thanks again!

2

u/quetzal80z 15d ago

Thanks. The workaround is working for me on windows.
Just need the below typed into the prompt...
get_iplayer --prefs-add --exclude-format=dash

1

u/Natural_Parsley_6396 14d ago

LEGEND thank you that fixed it

1

u/TalktoBes 12d ago

Top Banana! thank you

1

u/GruderMcScruder 12d ago

Can confirm working for me too on Raspberry Pi OS.

In my ignorance, can anyone explain simply what a DASH stream is and what we're potentially missing out on here by excluding it as a format? Or does it not really matter?

1

u/CarsCarpal 3d ago

This is great and worked for me, thanks!

Can I ask what this does?

1

u/naszdom 18d ago

I found the issue but unfortunately the fix is not for the windows version

1

u/DaveAlot 18d ago

Works for for me on Windows.

1

u/naszdom 11d ago

What do you paste and where? What's the prompt?

1

u/Extreme-Dream-2759 10d ago

I just typed into the command box on get_iplayer and it worked for me on windows 11

get_iplayer --prefs-add --exclude-format=dash

1

u/steviefaux 9d ago

And mention that's a one off, which adds that setting. Then you do usual download commands. From what I'm seeing.

However, oddly for me, the new get_iplayer doesn't work when you pick a whole series page link. It says its a series or brand pid then doesn't actually download.

Yet 3.35 works OK with the series links.

1

u/Extreme-Dream-2759 9d ago

I know there is also an issue with some pages on iplayer

Some people have mentioned "Blue Planet 3" giving "No programmes are available for this PID with version(s)"

The workaround was to download episodes individually

Hopefully 3.37 will fix these issue

1

u/BaconPoweredPirate 4d ago

I'm probably being a bit dense here, but i don't see a command box? i'm using the web gui version

1

u/Extreme-Dream-2759 10d ago

Thanks I needed this

1

u/PoweredSquirrel 10d ago edited 10d ago

I am trying the workaraound of adding get_iplayer --prefs-add --exclude-format=dash at the command prompt and get the message unknown option: exclude-format. Am I missing a step?

1

u/Training_Constant_84 13d ago

Any workaround for docker on synology

0

u/Arse_Grapes13 16d ago

Getting the same, with the workaround having no success.