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

Timers Manager: Use AYON settings #49

Merged

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Feb 13, 2024

Changelog Description

Timers manager addon can use AYON settings without specific conversion. But still requires some conversion to "disable" the addon by removing it's key from output values.

Testing notes:

  1. TimersManager can be turned on/off by using version in bundle.
  2. Changing settings of timers manager take effect on the addon.
from ayon_core.addon import AddonsManager

manager = AddonsManager()
timers_manager = manager["timers_manager"]
print(timers_manager.time_stop_timer)
>>> Your time from settings * 60

@ynbot ynbot added size/XS type: enhancement Improvement of existing functionality or minor addition labels Feb 13, 2024
@iLLiCiTiT iLLiCiTiT merged commit 0df7385 into develop Feb 14, 2024
3 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/OP-8231_TimersManager-use-AYON-settings branch February 14, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants