How to stream the PEI Legislative Assembly to your TV with a Raspberry Pi and Kodi

Peter Rukavina

It turns out to be remarkable simply to set up the live video from the PEI Legislative Assembly to stream to a television with an inexpensive Raspberry Pi running the open source Kodi media centre.

Here’s how I did it.

First, I bought a Raspberry Pi 3 and an SD card from ModMyPi in the U.K. They have good prices, and inexpensive and quick shipping (6 days from order to receipt).

Next, I installed OSMC, a Raspberry Pi-focused version of Kodi, on the SD card. OSMC is very, very easy to install: just download an installer to your desktop or laptop computer, burn the image onto the SD card, and insert the SD card into the Raspberry Pi.

Powering on the Raspberry Pi with the OSMC SD card inserted leads through a simply configuration process — enter wifi credentials, set time zone, etc. The most important option to be sure to check is the one to enable SSH access to the device, which will allow a file to be transferred to it later.

Now is the somewhat tricky part.

On another computer, create a file called peileg.strm with the following contents:

#EXTM3U
#EXTINF:-1,PEI Legislative Assembly+
http://http-delivery.isilive.ca/live/_definst_/pei/live/chunklist.m3u8

Now you need to get that file onto the Raspberry Pi.

First, you need to find the IP address of your Pi; navigate to System > System info and note the value beside IP address. In this example, it’s 192.168.2.18:

Find your IP address

Next, from the command line of the computer where you created the peileg.strm file, transfer the file to the Pi:

scp ./peileg.strm osmc@192.168.2.18:/home/osmc/Movies

The 192.168.2.18 is the IP address you noted earlier.

You’ll be prompted to enter the password for the username osmc on your Pi (default is osmc; you should change it!).

Now that the file is on your Pi, you simply need to play it.

Navigate to Videos > Files > Add videos. In the Add video source dialog, click Browse, then select Home folder and click OK. If a Set Content dialog pops up you can ignore it and click OK.

At this point you should have video source called osmc, and inside it, under Movies, you’ll see the peileg.strm:

The peileg.strm file

To play the Legislative Assembly livestream, simply click on that file and, presto:

The Legislative Assembly livestream

Comments

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). You can subscribe to an RSS feed of posts, an RSS feed of comments, or receive a daily digests of posts by email.

Search