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

blink.js: Add null check in thumbnail loader to avoid process crash #137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicholaschum
Copy link

Thumbnails are crashing the process, and it seems that it is due to a null object being called upon.

TypeError: Cannot read properties of null (reading 'replace')

Refer to tickets #135 #120 #110

Tested on my Homebridge server and I am able to obtain Thumbnails again. Although not the best as we are limited by the Blink API, this restores functionality to the Homebridge plugin.

@EdouardF
Copy link

@colinbendell can you please merge this PR?

@EdouardF
Copy link

Hey @nicholaschum, I'm working on forking this repo and publish it to Homebridge via npm: https://github.com/EdouardF/homebridge-amazon-blink
Please feel free to create a PR there and I'll merge it when I receive it.
This repo seems dead, trying to fork it to revive it. Feel free to contribute as much as you please!
Ed

@nicholaschum
Copy link
Author

Hey @nicholaschum, I'm working on forking this repo and publish it to Homebridge via npm: https://github.com/EdouardF/homebridge-amazon-blink

Please feel free to create a PR there and I'll merge it when I receive it.

This repo seems dead, trying to fork it to revive it. Feel free to contribute as much as you please!

Ed

Sounds good. I'll run a PR over at your repo later today

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