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

[Request] Showing the last local preset loaded on command line #3179

Open
matsumiya8 opened this issue Jun 12, 2024 · 3 comments
Open

[Request] Showing the last local preset loaded on command line #3179

matsumiya8 opened this issue Jun 12, 2024 · 3 comments

Comments

@matsumiya8
Copy link

It would be great if easyeffects -p would also let us see which preset was previously loaded.
I'd like to put this information on my status bar, but I'm not sure how to access it other than using the GUI.

@Digitalone1
Copy link
Contributor

It's not easy since we show last local or last community preset loaded, depending on what has been selected.

@wwmm
Copy link
Owner

wwmm commented Jun 15, 2024

It's not easy since we show last local or last community preset loaded, depending on what has been selected.

Maybe we can just print more lines. For example this is easyeffects -p output on my system:

Output Presets: music,movies,mrodd,teams,game,teste,music_expander,
Input Presets: aula,teste,echo,debug,

It should be possible to something like

Last Local Input preset: ...
Last Local Output preset: ...
Last Loaded Community Input preset: ...

It is ugly but it should do the job. Or am I missing some detail that makes this not viable?

@Digitalone1
Copy link
Contributor

@wwmm It's doable. You could look at the code to set the labels in the preset menu. When the community package key is not set, it's a local preset, otherwise it's a community one.

https://github.com/wwmm/easyeffects/blob/master/src/presets_menu.cpp#L572

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

3 participants