laurencee / Livestream.Monitor

A windows GUI for livestreamer/streamlink
GNU General Public License v2.0
60 stars 8 forks source link

Twitch.tv: No client ID specified #21

Closed Tharn closed 7 years ago

Tharn commented 7 years ago

Hi,

Since today, LM throws errors when trying to update twitch streams or loading VOD lists. For lack of copypaste or a log, I'll just abbreviate it. Is there a debug option?

ExternalAPIs.HttpRequestWithStatusException: {"error":"Bad Request","status":400,"message":"No client id specified"} at ExternalAPIs.HttpClientExtensions.d__4.MoveNext() in H:\Programming\Git\Livestream.Monitor\ExternalAPIs\HttpClientExtensions.cs:line 49

A couple more, at.. same file:line 35, TwitchTvReadonlyClient.cs:line 12, TwitchApiClient.cs:line 209, VodListViewModel.cs:line 235

laurencee commented 7 years ago

Looks like twitch requires their api's to be called with either an OAuth token or a ClientID header. https://discuss.dev.twitch.tv/t/client-id-requirement-faqs/6108

Here's a link so you can fix livestreamer being able to launch streams: https://github.com/chrippa/livestreamer/issues/1456#issuecomment-247192307

I'll update the app soon to send what twitch needs.

laurencee commented 7 years ago

The latest release will fix your issue. Take note of the bolded text about the OAuth token for livestreamer.

https://github.com/laurencee/Livestream.Monitor/releases/tag/2.8.0