Open arozans opened 6 years ago
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.
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.
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.