That would actually be beneficial... I'll look into adding that.Thank you @Gymratz for making this tool, with @tech101's guide I was able to get this working.
Would it be possible to add an option to have it automatically start the auto download as soon as the program opens? I have it installed on a computer I remotely restart sometimes and I'm not able to remotely start auto download.
Can you stop / start so it does the full download? See what is picked up?
Honestly, I never really considered there would be a desire for anything other than every minute! Hah - I'll take a look at this.
Most settings are remembered (everything on the "Settings" page), but the minutes one I can add in too.It would be nice if downloader can say remember last setting and run as service.. Also if it detects say 0 plates imported in more than 24 hours or 12.. then restart the service auto login and all that good stuff That be nice.. And Gym Ratz put a donation link I would definitely donate.. Thank you for making such a great tool
I have seen it I think it like after a week or so It ask for clicking on login not a biggie I usually do and it starts working again. But agree the auto login is not working for some reason probably like you said they must have changed something within there page. I Have mine do it every 15 mins just because I think in the past I have seen where mine was crashed and no longer there.. Not sure it was because of my own PC or what caused it.Most settings are remembered (everything on the "Settings" page), but the minutes one I can add in too.
It is supposed to auto log you in. I've had issues twice in the past few months where it hasn't for me - not sure if a change to the webpage caused that. Next time it happens, if I'm able to I'll take a look at why so I can fix it (instead of just clicking the login button).
Not sure I'll ever get to it being a service or auto-healing. In all honesty, with the "start downloading on load" - I was probably just going to restart the app nightly like I do with ALPR.
Tested and working, thank you!Setting to allow Auto Download on Startup = Works
Updated login code = Works
Updated "Start Auto Downloads" saves the Timer Value
Validated by setting to 2 minutes & auto start, closing app, opening, set to 2 minutes and did the 2-day download right away.
Of course, this involved changing a handful of files / locations, and I didn't exactly keep track.
Took me damn near as long to remember how to commit/send to github... Hopefully it worked (seems like it).
@tech101 if you're feeling ambitious, can you give it a try and pull down the updates? Definitely keep a copy of what you have - just in case. This process of publishing the code for others is quite foreign to me!
I would also suggest you save a copy of your current (running) configuration file. You can't just flat out paste it into the new build (two new values) - but you can use it to repopulate the new config file easier by combining the values.
Finally, for what it's worth, I have a batch file on my machine that I use the windows built-in task schedule to execute once a day.
Current content of batch file is:
net stop "OpenALPR Agent"
net stop "OpenALPR Link"
net stop "OpenALPR Queue"
net start "OpenALPR Agent"
net start "OpenALPR Link"
net start "OpenALPR Queue"
net stop "DahuaSunriseSunset"
net start "DahuaSunriseSunset"
I think it will be pretty easy to add in killing the lpr_downloader process and re-start it. Just haven't looked at it yet.
Will you be making a guide for those of us that need to update the viewer? Asking for a friend...