I added some better error handling to the @movieposterbot script last night. Eac...

@WiteWulf@cyberplace.social

I added some better error handling to the @movieposterbot script last night.

Each movie in the source archive has a unique numeric ID, and they currently lie between 0 and 6499, but there are gaps. So I pick a random number within that range and test to see if it’s valid.

Before it just exited if it was invalid, and did nothing until cron called it again roughly an hour later (there’s a random delay added each time it’s run).