bastimeyer · GitHub

Follow-up of #5708
Improves #5591

No more unnecessary error log messages for offline channels (twirp error not_found: transcode does not exist).
Error log messages for geo-blocked content or other kinds of errors are kept.


Online

$ streamlink twitch.tv/shroud
[cli][info] Found matching plugin twitch for URL twitch.tv/shroud
Available streams: audio_only, 160p (worst), 360p, 480p, 720p, 720p60, 1080p60 (best)

Offline

$ streamlink twitch.tv/lirik
[cli][info] Found matching plugin twitch for URL twitch.tv/lirik
error: No playable streams found on this URL: twitch.tv/lirik

Offline (corrupt data on Twitch's end)

$ streamlink twitch.tv/paymoneywubby
[cli][info] Found matching plugin twitch for URL twitch.tv/paymoneywubby
error: No playable streams found on this URL: twitch.tv/paymoneywubby

Geo-blocked content currently not available, but tests have the necessary data. Would look like this:

$ streamlink twitch.tv/primevideo
[cli][info] Found matching plugin twitch for URL twitch.tv/primevideo
[plugins.twitch][error] Content Restricted In Region
error: No playable streams found on this URL: twitch.tv/primevideo

Read the original on github.com ↗