Skip to content

Add config options #14

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

Merged
merged 22 commits into from
Jul 10, 2025

Conversation

mintybasil
Copy link
Contributor

Continuation of #8.

Implements configuration capabilities via:

  • CLI (via clap)
  • Environment variables (via clap)
  • Config file (TOML/JSON/YAML) (via confique)

Includes minor tests which are limited and mostly for sanity checks.


Related future tasks may include:

  • Exposing additional options
    • Adding audio_device option to specify which device to use
    • Adding shuffle option to enable/disable preset playlist shuffling
    • Other projectm options
  • Overhaul of readme
    • Target "application" rather than "crate"
    • Document configuration options

@mintybasil mintybasil marked this pull request as ready for review July 10, 2025 18:21
@revmischa
Copy link
Contributor

Cool!

@revmischa
Copy link
Contributor

Ideally it would be compatible with the frontend-cpp settings file but nbd

@revmischa revmischa merged commit b4a33c9 into projectM-visualizer:master Jul 10, 2025
@mintybasil mintybasil deleted the mintybasil/config branch July 16, 2025 19:09
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.

2 participants