Skip to content

Ffmpeg async lock#18130

Closed
balloob wants to merge 3 commits intodevfrom
ffmpeg-async-lock
Closed

Ffmpeg async lock#18130
balloob wants to merge 3 commits intodevfrom
ffmpeg-async-lock

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Nov 2, 2018

Description:

Add lock around ffmpeg test.

Tested by @edif30

Related issue (if applicable): fixes #

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

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

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

  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@balloob balloob added this to the 0.81.5 milestone Nov 2, 2018
@ghost ghost assigned balloob Nov 2, 2018
@ghost ghost added the in progress label Nov 2, 2018
hass.services.async_register(DOMAIN, SERVICE_PTZ, handle_ptz,
schema=SERVICE_PTZ_SCHEMA)
add_entities([ONVIFHassCamera(hass, config)])
async_add_entities([ONVIFHassCamera(hass, config)])
Copy link
Copy Markdown
Member

@MartinHjelmare MartinHjelmare Nov 2, 2018

Choose a reason for hiding this comment

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

Instantiating the camera does I/O by checking if a path is a file.

https://github.com/quatanium/python-onvif/blob/master/onvif/client.py#L92

@balloob balloob removed this from the 0.81.5 milestone Nov 2, 2018
@balloob
Copy link
Copy Markdown
Member Author

balloob commented Nov 2, 2018

Closing in favor of #18131

@balloob balloob closed this Nov 2, 2018
@ghost ghost removed the in progress label Nov 2, 2018
@balloob balloob deleted the ffmpeg-async-lock branch November 2, 2018 22:05
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants