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

How to increase/decrease volume? #12

Open
arozans opened this issue Oct 24, 2018 · 2 comments
Open

How to increase/decrease volume? #12

arozans opened this issue Oct 24, 2018 · 2 comments

Comments

@arozans
Copy link

arozans commented Oct 24, 2018

somafm starts too loud. Is there any way to set starting volume? I tried with the volume=30 in the ~/.config/mpv/mpv.conf but sadly this does not work.

@rockymadden
Copy link
Owner

Interesting. Your approach is what I would suggest. I'll take a look to see if I can pass volume into MPV upon invoke. If so, we can add an optional flag to set the initial volume.

@jcsims
Copy link

jcsims commented Feb 16, 2019

I would assume the --no-config flag here: https://github.com/rockymadden/somafm-cli/blob/master/src/somafm#L73 prevents those volume settings from getting picked up.

From the mpv man page:

--no-config
       Do not load default configuration files. This prevents loading of both the user-level and system-wide mpv.conf and input.conf files. Other configuration  files  are
       blocked as well, such as resume playback files.

       NOTE:
          Files explicitly requested by command line options, like --include or --use-filedir-conf, will still be loaded.

       See also: --config-dir.

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

No branches or pull requests

3 participants