Drazzilb08 / daps

DAPS (Drazzilb's Arr PMM Scripts) A collection of useful scripts for media management and automation
MIT License
152 stars 31 forks source link

border_replacerr scheduled runs ignoring end date ranges #179

Closed dweagle79 closed 4 months ago

dweagle79 commented 5 months ago

When testing to add a holiday schedule in border_replacerr under normal run conditions, I discovered that certain date ranges are being ignored by the script. Originally, I was testing under normal runs, but then switched to testing various dates by just running the script using docker at the command line with a small test source library and output folder. The issue persists regardless of how daps is executed.

End date ranges of 7/1 through 7/12 will not run the schedule. No errors are reported in dubug log, it just ignores those dates.

Example with screenshots below: range: (6/5-7/4) will not run, but range: (6/5-7/13) will run.

I would estimate probably trying 100 different dates/months. I tested this with and without several combinations of leading zeros in single digit dates.

Screenshot from 2024-06-13 11-50-20

Screenshot from 2024-06-13 11-49-41

Drazzilb08 commented 5 months ago

I'll be looking into this amongst all the other things I've got going on when I get a chance.

Drazzilb08 commented 4 months ago

Neat, I can duplicate this. I'm working on it today. I'll let ya know if I get a fix.

Drazzilb08 commented 4 months ago

Just pushed an update to dev branch, switch over and give it a try. Let me know

dweagle79 commented 4 months ago

Did several runs with varying date combinations similar to the ones I submitted. It seems to be running the schedule every time.