IsSuEat / open-livestreamer-firefox-addon

Addon for firefox to quickly open stream urls in vlc using livestreamer
GNU General Public License v3.0
18 stars 7 forks source link

Adding twitch.tv authentication fix #59

Closed RosomaczQ closed 4 years ago

RosomaczQ commented 8 years ago

For some time Twitch API requires authentication token to be passed. This extension makes it possible by passing optional arguments to livestreamer (in this case it would be --twitch-oauth-token=). But for some reason those optional arguments are not being passed during url validation which results in an authentication error. I present to you my solution to this problem. :smile:

Tumleren commented 7 years ago

Is there any way for me to get this functionality into the addon, assuming it's not updated at some point?

IsSuEat commented 7 years ago

The best option to get stuff working again is to use a maintained fork of livestreamer[0], that fixes this and various other problems. Just insert the path to the streamlink executable into the preferences for the addon. [0] https://streamlink.github.io/

edit: but this PR might be useful for every other option that needs to be passed to livestreamer. Thanks @RosomaczQ