iamtalhaasghar / yewtube

Terminal based YouTube player and downloader. No Youtube API key required. Moved to https://github.com/mps-youtube/yewtube
GNU General Public License v3.0
246 stars 20 forks source link

A way to set volume on launch? #96

Closed rodneydup closed 2 years ago

rodneydup commented 2 years ago

I wonder if there could be a way to programmatically set the volume when yewtube is launched. Such as by setting something in the config.json or by using a flag.

Suggestion

I regularly use scripts to launch a video with 'yt playurl' and I'd love to be able to add '--volume=60' as a flag for example to set the volume to 60%. Otherwise, it would also be very convenient to have a line in the config.json file like: "DEFAULT_VOLUME": 60

iamtalhaasghar commented 2 years ago

I believe, you can set this in your mpv config.