jp1995 / kappa-launcher

Twitch launcher using Rofi
MIT License
27 stars 4 forks source link

Make streamlink arguments configurable #12

Closed rasmus-saks closed 3 years ago

rasmus-saks commented 3 years ago

The launcher passes --hls-live-edge=1 to streamlink when launching a stream, however for me this causes the stream to constantly lag and stutter. When launching streamlink through Streamlink Twitch GUI, it passes a different set of arguments and there is no lag.

Thus this PR adds STREAMLINK_ARGS as a configuration option to enable configuring the arguments that are passed to streamlink. Also, even though previously the default was --hls-live-edge=1 I would not set it as the default for STREAMLINK_ARGS to maximize compatibility and hopefully prevent others from having the same issue I had.