kerberos-io / agent

An open and scalable video surveillance system for anyone making this world a better and more peaceful place.
https://kerberos.io
MIT License
642 stars 78 forks source link

Improve recorded videos dasboard counter #46

Closed olokos closed 1 year ago

olokos commented 1 year ago

Implemented new util function, which gets count of only .mp4 extension. This solves the problem of folders being counted as recordings on the dashboard.

olokos commented 1 year ago

My PR and commit are now spotless, but codacy still fails some delta and diff test of it's own.

Perhaps the codacy thing could be fixed on this prime example of everything being good, so it would be possible to send a PR that would not be failed everytime?

cedricve commented 1 year ago

looks good!