Skip to content

fix(capture): recorder token reply key; publish-ready install text - #130

Merged
lalit-videodb merged 1 commit into
release-0-5-5from
lalit/recorder-token-key
Nov 30, 2026
Merged

lalit-videodb merged 1 commit into
release-0-5-5from
lalit/recorder-token-key

Conversation

@lalit-videodb

Copy link
Copy Markdown
Collaborator

Two fixes found in the 0.5.5 release review.

generate_recorder_token always raised

  • It read collectionId from the reply, but the server returns collection_id (Spext/videodb-server capture/deferred_recording.py, issue_bound_token). The Python client does not convert key casing, so every call raised "Recorder authorization did not return a resolved collection".
  • It now reads collection_id. The returned dict is unchanged: token and collectionId.
  • The unit test mocked a camelCase reply, which is why it passed. It now mocks what the server sends.

README and capture guide still read as a branch

  • README.md said "not yet published" and "install its local platform wheel". The README is the PyPI page. It now shows pip install 'videodb[capture]', as 0.5.4 did.
  • README links to the capture guide are absolute, because relative links are dead on PyPI.
  • docs/capture.md drops the local-wheel instructions.

Open, not decided here: the old text said the Linux wheel is tagged linux_x86_64 and distributed outside PyPI. I removed that sentence. If the Linux wheel does not go to PyPI, pip install 'videodb[capture]' fails on Linux and this page needs a Linux install line.

Checks: 26 tests pass and ruff check is clean. Not run against the real binary or a live server.

@lalit-videodb lalit-videodb mentioned this pull request Nov 27, 2026
@lalit-videodb
lalit-videodb merged commit a9de99d into release-0-5-5 Nov 30, 2026
1 check failed
@lalit-videodb
lalit-videodb deleted the lalit/recorder-token-key branch November 30, 2026 11:25
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.

1 participant