-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
plugins.twitch: platform=_ in access_token request #2358
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
plugins.twitch: platform=_ in access_token request #2358
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2358 +/- ##
=======================================
Coverage 52.59% 52.59%
=======================================
Files 237 237
Lines 14802 14802
=======================================
Hits 7785 7785
Misses 7017 7017 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #2358 +/- ##
=======================================
Coverage 52.59% 52.59%
=======================================
Files 237 237
Lines 14802 14802
=======================================
Hits 7785 7785
Misses 7017 7017 |
|
Thanks for adding this @bastimeyer. Which portion of the ToS are we explicitly violating by doing this? In the past Twitch has said they are okay with people bypassing ads, and tons of browser plugins and other tools have been doing so for quite some time with no repercussions. Does this specific change impact us? We're simply modifying the request we send to the server and it's responding to that request with what we've asked for. I don't think I'd be so against the ads on Twitch if they weren't complete cancer (like most video ads). |
|
Hm, I should have said that I'm not sure whether this violates ToS or not.
https://www.twitch.tv/p/legal/developer-agreement/ But you're probably right and it shouldn't be a big deal. I'm just saying that we should be careful when adding this kind of stuff, nothing more :) |
|
@bastimeyer I don't think we fall into that category at all as we aren't embedding or even using their player. I agree with you that we should be careful and apologize if my comment came off as anything other than acknowledging and agreeing with that fact. If it's not explicitly mentioned in the TOS I think we are fine. Twitch has actively monitored this repo in the past as well, so if it was a problem they would likely chime in. |
|
Is this branch available yet? |
|
@MancV21 |
|
I'm going to merge this in @bastimeyer. |
…ess-token-platform plugins.twitch: platform=_ in access_token request
Resolves #2357
Sets the
platform=_GET parameter in the stream access token request, which results inserver_adsto be set tofalsein the response (at least for now - might get changed/fixed in the future).As I've said in #2357, I'm not sure how to feel about actively suppressing ads in Streamlink and its plugins. Yes, this is what probably most - if not all - of the users want, but this violates the ToS of Twitch and may put us at risk of losing our API client ID in the future. Discussion is welcome.