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

(feat) add simple commands for Output Monitor 1, Monitor 2, Monitor Auto #39

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

splattner
Copy link
Contributor

@splattner splattner commented Jun 13, 2024

contributes to #37

@splattner splattner force-pushed the simple_commands_monitor_output branch from 2bf5e87 to b9ace86 Compare June 13, 2024 13:13
Copy link
Contributor

@zehnm zehnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you! I need to find an HDMI cable to test my unused HDMI out 2 port :-)

Please fix the linting errors, then I'll merge it and include it in the next release, scheduled for tomorrow.

You can leave the pylint intg-denonavr/media_player.py:93:4: R0915: Too many statements (51/50) (too-many-statements) issue, or add an ignore tag if you like.
The existing if-then-else monster just got too big. I'll replace it with the string case statement.

intg-denonavr/media_player.py Outdated Show resolved Hide resolved
intg-denonavr/media_player.py Outdated Show resolved Hide resolved
@splattner
Copy link
Contributor Author

splattner commented Jun 13, 2024

I'll check those. My python dev setup was not really ready/available so I did not lint or anything else... 🙈 sry, but I'll fix asap ;)

@splattner splattner force-pushed the simple_commands_monitor_output branch 2 times, most recently from a578e68 to d25846a Compare June 13, 2024 14:02
@splattner splattner force-pushed the simple_commands_monitor_output branch from d25846a to 5297f9e Compare June 13, 2024 14:03
@splattner
Copy link
Contributor Author

all fixed and I added a pylint disable for R0915. But I agree, this part should probably be solved a bit nicer

Copy link
Contributor

@zehnm zehnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again, looking good!

@zehnm zehnm merged commit 036f4f7 into unfoldedcircle:main Jun 13, 2024
1 check passed
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