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

Use Mousai from the command line #3

Open
onny opened this issue Apr 6, 2021 · 5 comments
Open

Use Mousai from the command line #3

onny opened this issue Apr 6, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@onny
Copy link

onny commented Apr 6, 2021

Hey,
it would be cool to use Mousai from the commandline like

mousai --recognize-audio

and it would print the result without using the GUI.
Best regards
Jonas

@SeaDve SeaDve added the enhancement New feature or request label Apr 6, 2021
@SeaDve
Copy link
Owner

SeaDve commented Apr 6, 2021

Nice idea, although, I'm currently busy with school. I'll try to implement it on weekends, together with new features

Also, with flatpak it might be flatpak run io.github.seadve.Kooha --args, so it may be longer than what's convenient.

@ab1nn
Copy link

ab1nn commented Feb 6, 2022

Any updates. BTW, thanks for do this.

@SeaDve
Copy link
Owner

SeaDve commented Jul 31, 2022

The codebase has been refactored to simplify the implementation for this.

@ChristianSilvermoon
Copy link

ChristianSilvermoon commented Aug 30, 2022

Nice idea, although, I'm currently busy with school. I'll try to implement it on weekends, together with new features

Also, with flatpak it might be flatpak run io.github.seadve.Kooha --args, so it may be longer than what's convenient.

This can be simplified by either of the following:

# Solution 1: Alias The Flatpak Command For That App
alias mousai='flatpak run io.github.seadve.Mousai'
mousai --args # Shortest and sweetest

# Solution 2: Add System & User Flatpak Apps to $PATH
PATH="/var/lib/flatpak/exports/bin:${XDG_DATA_HOME:-$HOME/.local/share}/flatpak/exports/bin:$PATH"
io.github.seadve.Mousai --args # Not likely to be confused for a non-flatpak app

@gregorni
Copy link

Does --recognize-audio really need to be specified? I would think --hidden or --cli should be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants