Raspberry Pi as a dedicated “Twitch Plays Pokemon” Viewer

Update: 12 October 2016

Thanks to commenter Fishscene for pointing out the following:

livestreamer for twitch is broken. Twitch made a change to require an OAUTH token and disallow annonymous viewing. livestreamer hasn’t been updated in over a year. Project was forked to streamlink and includes twitch fix:

https://github.com/streamlink/streamlink

I’ll leave this for prosperity, it has been linked to several time.

I’m not too proud of this but my laptop couldn’t handle streaming ‘Twitch Plays Pokemon’ and me doing day to day tasks and I can’t stop watching now. I’ve decided to use a spare Raspberry Pi have to keep the stream open 24/7 on a spare monitor I have.

Here’s a video:

Thanks to Livestreamer it is unbelievably easy to view this stream.

The following command will install Livestreamer:

To make things even simpler, I have also written the following python program that will open the stream to HDMI. You can set the line that runs this program as a cron job to run at boot if you wish.

Which you can get on your pi with:

Once it is downloaded you can run it with:

And it will open on your HDMI monitor.

Hey! This post was written a long time ago, but I'm leaving it up on the off-chance it may help someone. Proceed with caution. It may not be a good idea to blindly integrate this code or work into your project, but instead use it as a starting point.

6 Comments

    1. Hi mitch, try os.system(“livestreamer twitch.tv/twitchplayspokemon best -np “) in the python script, let me know how this goes.

  1. Could you do a video tutorial for those of us who have no idea about livestreamer and scripts? I would totally be thankful if you could do that.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.