This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
htpc:kodi [2025/02/08 01:19] – Yuki | htpc:kodi [2025/02/26 16:47] (current) – Yuki | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Kodi ====== | ====== Kodi ====== | ||
- | FIXME //This page is a stub, and needs to be tested on the current setup.// | + | FIXME //This page 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' | I mostly use Kodi to watch IPTV on it and some movies, although going on the respective TV channels' | ||
+ | |||
+ | ===== Useful plugins ===== | ||
+ | |||
+ | |[[https:// | ||
+ | |IPTV Simple Client|See [[#iptv]]| | ||
+ | |InputStream Helper|Make sure Widevine is installed, see [[# | ||
+ | |InputStream Adaptive|::: | ||
===== IPTV ===== | ===== IPTV ===== | ||
Line 8: | Line 15: | ||
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. | 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 | + | ==== Installation ==== |
- | <code m3u> | + | |
+ | - Install IPTV Simple Client. | ||
+ | - In Kodi's PVR & Live TV settings, make sure //Use channel order from backend(s)// | ||
+ | - Obtain the URL corresponding to your playlist, and feed it in the IPTV Simple Client settings as the M3U playlist URL. | ||
+ | - Make sure Auto refresh mode is enabled and is set to at least once a day. | ||
+ | |||
+ | ==== Common | ||
+ | <code m3u [highlight_lines_extra=" | ||
#EXTM3U | #EXTM3U | ||
- | #EXTINF:-1 tvg-id=" | + | #EXTINF:-1 tvg-id=" |
- | stream URL here.m3u | + | https:// |
</ | </ | ||
- | ^Attribute^Comments^ | + | ^EXTINF attribute^Comments^ |
- | |tvg-id|Station ID, used to sync with the EPG and should be the same| | + | |tvg-id|Station ID, used to sync with the EPG and should be the same as in the EPG config| |
|tvg-chno|Kodi 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' | |tvg-chno|Kodi 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' | ||
|tvg-logo|URL to a channel logo| | |tvg-logo|URL to a channel logo| | ||
Line 35: | Line 49: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | |||
+ | ===== Widevine ===== | ||
+ | |||
+ | Required for some channels. | ||
+ | |||
+ | If you install Widevine from the InputStream Helper settings, it's going to download a ChromeOS recovery image and extract the needed file from it, if you don't want to waste time and bandwidth you might want to fetch it from an existing web browser install instead. Depending of the browser, you can find it either in ''/ | ||
+ | <code bash> | ||
+ | mkdir -p ~/.kodi/cdm | ||
+ | ln -s / | ||
+ | </ | ||
+ | Note that we're doing a symbolic link, so we can automatically keep it updated. | ||
+ | |||
+ | Now on the playlist you can do something like this: | ||
+ | < | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | https:// | ||
+ | </ | ||
+ |