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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump vlc_telnet to 2.0.1, several bug fixes #44776

Closed
wants to merge 1 commit into from
Closed

Conversation

dmcc
Copy link
Contributor

@dmcc dmcc commented Jan 2, 2021

Switch to python-telnet-vlc 2.0.1 and avoid some unnecessary int/str
conversions.

Add SUPPORT_VOLUME_STEP.

Fix various state issues (initial state not sent as part of first
update, unmute detection, seeking didn't actually work).

Breaking change

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

  • No score or internal
  • 馃 Silver
  • 馃 Gold
  • 馃弳 Platinum

To help with the load of incoming pull requests:

Switch to python-telnet-vlc 2.0.1 and avoid some unnecessary int/str
conversions.

Add SUPPORT_VOLUME_STEP.

Fix various state issues (initial state not sent as part of first
update, unmute detection, seeking didn't actually work).
@homeassistant
Copy link
Contributor

Hi @dmcc,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@probot-home-assistant
Copy link

Hey there @rodripf, mind taking a look at this pull request as its been labeled with an integration (vlc_telnet) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

@MartinHjelmare
Copy link
Member

MartinHjelmare commented Jan 2, 2021

Please split this PR into at least three PRs:

  • Bump library version
  • Fix issues
  • Add volume step support

@MartinHjelmare MartinHjelmare changed the title vlc_telnet: Switch to 2.0.1, several bug fixes Bump vlc_telnet to 2.0.1, several bug fixes Jan 2, 2021
Copy link
Member

@ludeeus ludeeus left a comment

Choose a reason for hiding this comment

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

Please split this PR into at least three PRs:

  • Bump library version
  • Fix issues
  • Add volume step support

Marking this as "Request changes"

Dev automation moved this from Needs review to Review in progress Jan 13, 2021
@github-actions
Copy link

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days.
Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 12, 2021
@dmcc
Copy link
Contributor Author

dmcc commented Feb 15, 2021

Sorry for the delay, finally had cycles to test what happens if we slice it up as requested. Unfortunately, while python-telnet-vlc is a general improvement, Home Assistant relies on bad its APIs. So, if we just bump the python-telnet-vlc version, we'll actually introduce two new issues (volume control will break and we'll no longer get any position status info).

Which course of action would you like to pursue?

  1. Split into 3+ PRs as requested (this is presumably fine as long as they're not split across Home Assistant releases)
  2. Split into 2 PRs: (1) bump python-telnet-vlc version and address breaking changes + fix bugs (mute/unmute detection, fix initial state update), (2) add SUPPORT_VOLUME_STEP
  3. Split into 3 PRs: (1) bump python-telnet-vlc version and address breaking changes, (2) separate bugfixes (mute/unmute detection, fix initial state update), (3) add SUPPORT_VOLUME_STEP
  4. Keep this as one larger PR
  5. (something else?)

@github-actions github-actions bot removed the stale label Feb 15, 2021
@MartinHjelmare
Copy link
Member

Please do 3.

@dmcc dmcc mentioned this pull request Feb 16, 2021
21 tasks
@dmcc
Copy link
Contributor Author

dmcc commented Feb 16, 2021

Alright, I've extracted the first of several PRs into #46608 (apologies if there's a better way to do this in git).

(I'm planning to cancel this PR once the other PRs are in)

@github-actions
Copy link

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days.
Thank you for your contributions.

@github-actions github-actions bot added the stale label Mar 18, 2021
@frenck
Copy link
Member

frenck commented Mar 18, 2021

Seems like 3 PR are made and merged. As far as I can see, the update handling changes have not ended up in the other PRs.

Is there still a PR on route? Or are you planning on rebasing/updating this PR?

@dmcc
Copy link
Contributor Author

dmcc commented Mar 18, 2021

Hey @frenck, thanks for checking in. Right, update handling changes still haven't been pulled out and I'm still planning on getting to this (there might be others too). That said, there's probably no point in keeping this one open since it's not going anywhere, so will close it.

@dmcc dmcc closed this Mar 18, 2021
Dev automation moved this from Review in progress to Cancelled Mar 18, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2021
@dmcc dmcc deleted the dev branch March 28, 2021 01:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Dev
  
Cancelled
Development

Successfully merging this pull request may close these issues.

None yet

5 participants