Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new sub_label format from Frigate #127

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

robchandhok
Copy link
Contributor

In 0.13.0-beta the structure of the sub_label changed to include a person name AND score.

Could be improved to better test for null values, or support both versions of the field at the same time.

Tested against Frigate 0.13.0-beta5 and DoubleTake 1.13.11.8 (fork https://github.com/skrashevich/double-take/)

In 0.13.0-beta the structure of the sub_label changed to include a person name AND score.

Could be improved to better test for null values, or support both versions of the field at the same time.

Tested against Frigate 0.13.0-beta5 and DoubleTake 1.13.11.8 (fork https://github.com/skrashevich/double-take/)
@SgtBatten
Copy link
Owner

Thanks very much. It looks good. I'll test it next week. Really appreciate it.

@robchandhok
Copy link
Contributor Author

Cool. I tried to make it detect which format of sublabel was being used but failed. Need something like isarray(). I also noted to the frigate project discussion that it should really be JSON not an array. Maybe next release but not 0.13.

SgtBatten
SgtBatten previously approved these changes Nov 30, 2023
@SgtBatten SgtBatten merged commit 30b9454 into SgtBatten:main Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants