Skip to content

feat(ccapi): 支援媒體保護評分與旋轉 - #111

Merged
js051 merged 4 commits into
mainfrom
feat/ccapi-media-metadata
Aug 5, 2026
Merged

feat(ccapi): 支援媒體保護評分與旋轉#111
js051 merged 4 commits into
mainfrom
feat/ccapi-media-metadata

Conversation

@js051

@js051 js051 commented Aug 5, 2026

Copy link
Copy Markdown
Owner

變更內容

  • 依 Canon CCAPI 1.3 PUT /contents/... 契約加入媒體保護、0 至 5 星評分與 0/90/180/270 度旋轉。
  • Android、iOS、Desktop Bridge 與瀏覽器 UI 共用動態能力閘門,只有相機公告可寫 contents 時才顯示操作。
  • Simulator 支援狀態持久化與讀回驗證;USB/libgphoto2 未有可靠寫入依據時維持 planned/unsupported。
  • 更新英文、繁中介面、離線預覽、診斷文件與傳輸功能矩陣。

驗證

  • Android testDebugUnitTestlintDebugassembleDebug
  • Android Pixel 6 Pro API 34 AVD:connectedDebugAndroidTest 79/79
  • Simulator:34 tests passed
  • Desktop Bridge:完整 pytest 通過
  • PC 靜態 UI 測試與 Node syntax check 通過
  • Gitleaks staged 與 pre-push 掃描:0 leaks

依據

Canon Camera Control API Reference 1.3 §4.7.6:媒體內容資源的 protect、rating、rotate 動作,寫入後必須由 GET ?kind=info 讀回確認。

@js051
js051 marked this pull request as ready for review August 5, 2026 14:13
@js051
js051 merged commit 44a890e into main Aug 5, 2026
9 checks passed
@js051
js051 deleted the feat/ccapi-media-metadata branch August 5, 2026 14:27
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