Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2123 Media Player Controller: toggle play/pause #1102

Merged
merged 2 commits into from
Mar 4, 2025
Merged

Conversation

sevorl
Copy link
Contributor

@sevorl sevorl commented Dec 29, 2024

The Ikea E2123 Medie Player controller has a toggle button to play/pause. However, the mapping was set to "PLAY" instead of "PLAY_PAUSE", so it was not possible to pause the media player.

Pausing was only possible with a custom
merge_mapping:
toggle: play_pause

(Note: the same button is named "toggle" or "play_pause" depending on the firmware of the device)

Copy link

codecov bot commented Dec 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95%. Comparing base (1f41783) to head (df2825e).
Report is 10 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1102   +/-   ##
====================================
  Coverage    95%     95%           
====================================
  Files        65      65           
  Lines      2713    2720    +7     
====================================
+ Hits       2582    2589    +7     
  Misses      131     131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sevorl and others added 2 commits March 4, 2025 00:58
The Ikea E2123 Medie Player controller has a toggle button to play/pause.
However, the mapping was set to "PLAY" instead of "PLAY_PAUSE", so it was not possible to pause the media player.

Pausing was only possible with a custom
  merge_mapping: 
    toggle: play_pause
  
(Note: the same button is named "toggle" or "play_pause" depending on the firmware of the device)
@xaviml
Copy link
Owner

xaviml commented Mar 4, 2025

Thank you @sevorl for the PR. I will release this fix on ControllerX v4.29.0.

@xaviml xaviml merged commit 4561783 into xaviml:main Mar 4, 2025
11 checks passed
xaviml added a commit to harrismck/controllerx that referenced this pull request Mar 4, 2025
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.

2 participants