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

Configurable available and autostart modules #47

Closed
wolferCZ opened this issue Nov 6, 2019 · 3 comments
Closed

Configurable available and autostart modules #47

wolferCZ opened this issue Nov 6, 2019 · 3 comments

Comments

@wolferCZ
Copy link
Contributor

wolferCZ commented Nov 6, 2019

As a developer I would like to integrate my private watchers to the aw-qt without necessity to alter the aw-qt and maintain my own fork.

Currently aw-qt (v0.8.0b9) supports only few modules that are hard-coded in:

_possible_modules = [


Posible solutions:

Based on TODO in

# TODO: Fetch these from somewhere appropriate (auto detect or a config file)

aw_qt/manager.py:

# TODO: Fetch these from somewhere appropriate (auto detect or a config file)
#       Save to config wether they should autostart or not.
_possible_modules = [
    "aw-server",
    "aw-watcher-afk",
    "aw-watcher-window",
    # "aw-watcher-spotify",
    # "aw-watcher-network"
]
  1. Available modules and modules to be started automatically will be listed in new aw-qt configuration.
  2. Autodetect available modules. Modules to be started automatically will be listed in new aw-qt configuration.

NOTE: Available modules can be separated to independent issue/story (nice to have).

wolferCZ added a commit to wolferCZ/aw-qt that referenced this issue Nov 6, 2019
…ivityWatch#47

NOTE: `ConfigParser` does not correctly store array values.
Store module lists as json.
@ErikBjare
Copy link
Member

Seems like a duplicate of #35?

@wolferCZ
Copy link
Contributor Author

wolferCZ commented Nov 6, 2019

Seems like a duplicate of #35?

🤦‍♂️ Yes, my bad.

xylix pushed a commit to xylix/aw-qt that referenced this issue Mar 3, 2020
…ivityWatch#47

NOTE: `ConfigParser` does not correctly store array values.
Store module lists as json.
@ErikBjare
Copy link
Member

Duplicate of #35, worked on in PR #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants