neige d'aoust

knowledge, art, and other stuff

User Tools

Site Tools


htpc:kodi

This is an old revision of the document!


Table of Contents

Kodi

FIXME This page is a stub, and needs to be tested on the current setup.

I mostly use Kodi to watch IPTV on it and some movies, although going on the respective TV channels' websites and check out their video players work just as well, at least for the free-to-air channels. It also comes with a remote control app on phone.

IPTV

Kodi has a plugin for IPTV from M3U playlists, with support for EPG. I like to assign channel numbers as if it was on an actual cable set-top box from a proper TV provider, so I usually make my own playlists so I can add the numbers and only keep the channels that works for me.

Common attributes

#EXTM3U
#EXTINF:-1 tvg-id="CBVTDT.ca" tvg-chno="2" tvg-logo="..." group-title="General franco",Ici Radio-Canada Télé Québec (CBVT-DT)
stream URL here.m3u
AttributeComments
tvg-idStation ID, used to sync with the EPG and should be the same
tvg-chnoKodi will use it as a channel number. You can use a decimal point, useful for mapping radio to their FM frequencies or TV to your region's virtual channel mapping as used in ATSC in North America
tvg-logoURL to a channel logo
group-titleKodi can use it to make categories

It works fairly well for most free-to-air channels and radio, although some of them use some tricks like dynamic URLs and formats the IPTV plugin won't like so you'd need another dedicated plugin, although you can use some scripts on a HTTP server to generate a proper M3U playlist for them ;) Some of them are also geolocalized, there's not much you can do other than try to fake your location with proxies and VPNs.

There's also services around so you can use YouTube and Twitch streams. FIXME Look for services that aren't down as I write this, or spin up new ones again

EPG

FIXME Needs to run the EPG script on a cron job somewhere and point Kodi to it

Sources

htpc/kodi.1738986498.txt.gz · Last modified: 2025/02/07 22:48 by Yuki