koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
4.29k stars 254 forks source link

NVR - Multi-server breaks notifications #1583

Closed Ixian closed 1 month ago

Ixian commented 1 month ago

Describe the bug

When two or more servers are configured in Scrypted Cloud or the mobile app (I am using the ios version) notifications work and show the correct thumbnail, however clicking the thumbnail brings up an error message about missing recordings. This happens if the notification comes in from the server that was not selected last in the app/cloud.

To Reproduce Steps to reproduce the behavior:

  1. Configure two Scrypted NVR servers in the mobile app
  2. Enable notifications
  3. Trigger a notification on a specific server. On selecting the notification, if the server that generated it was the last picked in the app, it will work. If the app does not have that server selected it breaks. Expected behavior Since the notification itself comes from the correct server, with thumbnail, when opening the notification auto-switch the app to the correct server.

Thank you!

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

Hardware Model (please complete the following information):

Client (please complete the following information, if applicable):

Additional context Add any other context about the problem here.

koush commented 1 month ago

fixed with latest cloud and nvr releases.