Skip to content

Conversation

zehnm
Copy link
Contributor

@zehnm zehnm commented Dec 29, 2024

The API expects the configuration file in the current working directory, without an option to specify another location.
We are using the node-roon-api on an embedded device, where the working directory is read-only and cannot be changed.

This PR adds an optional configDir parameter in the RoonApi constructor, where the configuration file is located. If the parameter is not specified, the working directory is used . I.e. the API remains backward compatible.

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.

3 participants