Skip to content

Normalize legacy optic source alias#17

Open
colonelpanic8 wants to merge 1 commit into
N0ciple:mainfrom
colonelpanic8:fix-ls50wii-optical-source
Open

Normalize legacy optic source alias#17
colonelpanic8 wants to merge 1 commit into
N0ciple:mainfrom
colonelpanic8:fix-ls50wii-optical-source

Conversation

@colonelpanic8

Copy link
Copy Markdown

Summary

  • normalize the legacy optic source value to optical in sync and async source setters
  • update source docstrings to use optical, matching the README and testing utility
  • add unit coverage for optic alias normalization and direct optical usage

Context

I verified against an LS50 Wireless II on firmware V41190 that setting kefPhysicalSource to optic is accepted by the API but does not switch the speaker into the Optical input. Setting kefPhysicalSource to optical switches correctly and reports the player metadata as serviceID: Optical.

This keeps optic working as a backward-compatible alias for existing callers while sending the source value the speaker expects.

Test

  • python -m unittest discover -s tests

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