Skip to content

update to visualization API 5.0.0 and code cleanups#130

Open
AlwinEsch wants to merge 8 commits into
xbmc:Piersfrom
AlwinEsch:Piers-change
Open

update to visualization API 5.0.0 and code cleanups#130
AlwinEsch wants to merge 8 commits into
xbmc:Piersfrom
AlwinEsch:Piers-change

Conversation

@AlwinEsch
Copy link
Copy Markdown
Member

@AlwinEsch AlwinEsch commented May 17, 2026

Add-on update related to Kodi API change defined on xbmc/xbmc#28278

Further done some code cleanups as some parts was a bit strange and wrong.

Runtime tests on Windows and Linux.

  • Linux OK
  • Windows Bad!

WARNING:

The fact that DirectX no longer works has nothing to do with the changes made here.

For some reason the screen stays black here under Windows 11 and Kodi 22 Piers.

I had already brought Angle in as a test, and there was a display, but it didn't appear correctly.

So it's a major undertaking to get this working correctly again under Windows!

Partly relates to this issue #31 too, only Windows now black and the picture visible there match the screen brought by use of Angle during tests.

I will try to use the latest code from an open pull request on the original for us in the near future.
See here where a newer GL support planned to come in:

The only question now is should we remove the add-on from Windows support immediately or leave it there, maybe it will work for others?

@AlwinEsch AlwinEsch requested a review from garbear May 17, 2026 18:39
@kodiai
Copy link
Copy Markdown

kodiai Bot commented May 17, 2026

Decision: APPROVE

kodiai response

Decision: APPROVE
Issues: none

Evidence:

  • Review prompt covered 8 changed files.
Review Details
  • Review plan: ready hash=fe0ba03cd3cd route=standard task=review.full files=8 lines=960(local-diff) budget=50t/665s gates=3/3 publish=canonical-visible-surface graph=skipped candidates=preferred

  • Review reducer: ready input=3 kept=3 suppressed=0 rewritten=0 deprioritized=0 lowConfidence=0 auditEvents=0 severityDemoted=0 graphValidated=0 graphUncertain=0

  • Review candidates: shadow recorded=3 rejected=0 errors=0 artifact=present repo=xbmc-visualization.spectrum pr=130 key=kodiai-review-output:v1:inst-109141824:xbmc-visualization.spectrum:pr-130:action delivery=c03fb360-521f-11f1-8f6d-6b2b9903c03c

  • Review candidate publication: mode=blocked approved=3 rewritten=0 published=0 directFallback=0 reasons=candidate-publisher-blocked,candidate-publisher-failed

  • Files reviewed: 8

  • Findings: 0 critical, 0 major, 0 medium, 0 minor

  • Lines changed: +508 -452

  • Profile: minimal (auto, lines changed: 960)

  • Contributor experience: profile-backed (using linked contributor profile guidance)

  • Shadow specialist: lane=docs-config-truth status=skipped reason=no-operator-truth-paths candidateCount=0 decisionCount=0 decisionCounts=candidate:0,duplicate:0,disagreement:0,dismissed:0,unclassifiable:0 duplicateCount=0 disagreementCount=0 dismissedCount=0 unclassifiableCount=0 truncatedCandidateCount=0 metricAvailability=token:n,cost:n,latency:n visiblePublicationDenied=true approvalPublicationDenied=true privateOnly=true shadowOnly=true redacted=raw:n,publication:n,approval:n,unsafe:0 correlationKey=c3c2f08241f658d7 deliveryId=c03fb360-521f-11f1-8f6d-6b2b990… reviewOutputKey=kodiai-review-output:v1:inst-10…

  • M072 candidate publication bridge: status=denied; bridgeVersion=candidate-publication-bridge.v1; bridgeId=candidate-publication-record:7047f03e153021f7139b3e3d56f8ecce; recordKey=candidate-publication-record:7047f03e153021f7139b3e3d56f8ecce; correlationKey=candidate-publication-bridge:4cfbc4f246b0ac48c25ab4aab98affc0; source=review-handler-publication; candidateRef=candidate-publication-summary-7b86d010; verification=none; counts=candidateCount:0,evidenceCount:0,verifiedCount:0,partiallyVerifiedCount:0,unverifiedCount:0,disprovenCount:0,publicationEligibleCount:0,malformedRecordCount:0,unsafeInputFieldCount:0; reasons=no-evidence,publication-ineligible; malformed=none; presence=deliveryId:y,reviewOutputKey:y,upstreamCorrelationKey:y,policyCorrelationKey:y; handoffOwner=available; redaction=privateOnly:y,rawPayloads:n,publicationFields:n,evidencePayloads:n,githubCommentBody:n,reducerRawPayload:n,discardedRawPayload:n,discardedPublicationFields:n,discardedEvidencePayloads:n

  • M070 candidate verification publication: status=mixed; counts=attempted:2,allowed:0,denied:2,published:0,skipped:2,failed:1; verification=verified:0,partially_verified:0,unverified:2,disproven:0,unavailable:0; candidateVerification=candidateCount:2,evidenceCount:0,verifiedCount:0,partiallyVerifiedCount:0,unverifiedCount:2,disprovenCount:0,publicationEligibleCount:0; denialCounts=no-evidence:2,classifier-fail-closed:2,publication-ineligible:2; reasons=no-evidence,classifier-fail-closed,publication-ineligible; metadata=deliveryId:y,reviewOutputKey:y,correlationKey:y; redaction=privateOnly:y,candidateBodies:n,specialistProse:n,rawPrompts:n,rawModelOutput:n,diffs:n,evidencePayloads:n,rawFingerprints:n,publicationEvidence:n,unsafeFields:2

  • Review completed: 2026-05-17T18:44:55.705Z

  • Total wall-clock: 5m 20s

  • Phase timings:

    • queue wait: 0ms
    • workspace preparation: 781ms
    • retrieval/context assembly: 2.4s
    • executor handoff: 7.7s
    • remote runtime: 5m 5s
    • publication: 2.7s
  • Tokens: 144 in / 12,848 out | 0.4754

  • Keyword parsing: No keywords detected

@AlwinEsch AlwinEsch changed the title update to visualization API 4.1.0 and code cleanups update to visualization API 5.0.0 and code cleanups May 24, 2026
AlwinEsch added 8 commits May 24, 2026 23:26
As the std::vector needs always a here a resize to a fixed size makes it more sense to use std::array where based upon fixed size.
Relates to:
```
  CMake Deprecation Warning at CMakeLists.txt:2 (cmake_policy):
    Compatibility with CMake < 3.10 will be removed from a future version of
    CMake.
```

And to have equal to Kodi's used version.
This remove the use on class constructor and makes it direct on value with an e.g. "{0};"
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