Kodi: Difference between revisions
(→Add-on) |
|||
(45 intermediate revisions by the same user not shown) | |||
Line 40: | Line 40: | ||
= Install using PPA on Ubuntu = | = Install using PPA on Ubuntu = | ||
If we want to install it directly, Kodi is available in the '''universe''' repository of Ubuntu. Also Ubuntu 20.04 still has Kodi '''18.6''' (maybe useful for some old addons using python2). | |||
https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux | https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux | ||
Line 64: | Line 66: | ||
= OSMC = | = OSMC = | ||
[https://raspberrytips.com/kodi-guide-osmc/ The Ultimate Guide to Install Kodi on Raspberry Pi (OSMC)] including installing a VPN on it (Kodi) | * Based on Debian. See the [https://osmc.tv/wiki/general/frequently-asked-questions/ FAQ]. So it should be simple to install VPN | ||
* It has Raspberry Pi image & Windows & Linux (AppImage) & macOS. | |||
* [https://raspberrytips.com/kodi-guide-osmc/ The Ultimate Guide to Install Kodi on Raspberry Pi (OSMC)] including installing a VPN on it (Kodi) | |||
= LibreELEC = | = LibreELEC = | ||
Line 158: | Line 162: | ||
= Settings = | = Settings = | ||
== Skins == | |||
[https://www.comparitech.com/kodi/best-kodi-skins/ The 12 Best Kodi skins for 2023 and how to install them] | |||
== Chinese font == | == Chinese font == | ||
Line 164: | Line 171: | ||
== Data location == | == Data location == | ||
[https://kodi.wiki/view/Kodi_data_folder Kodi data folder] | [https://kodi.wiki/view/Kodi_data_folder Kodi data folder] | ||
== Configuration file == | |||
[https://kodi.wiki/view/Sources.xml sources.xml] | |||
== HDR == | |||
* [https://www.reddit.com/r/kodi/comments/10u7381/how_to_enable_hdr_in_kodi/ How to enable HDR in Kodi?] | |||
* [https://www.pcmag.com/news/what-is-hdr-high-dynamic-range What Is HDR (High Dynamic Range)?] | |||
* [https://history-computer.com/hd-vs-hdr/ HD vs. HDR: What’s the Difference?] | |||
* [https://lifehacker.com/the-best-budget-streaming-box-might-be-from-walmart-1850488513 The largest compromise with the Onn streaming box is HDR]. No Dolby Vision, No Dolby Atmos. But it does support HDR10. | |||
* [https://help.netflix.com/en/node/23939 How to use Netflix on your Android phone or tablet] | |||
== Artwork == | |||
* [https://www.tinymediamanager.org/ tinyMediaManager] | |||
= Mount Network Share = | = Mount Network Share = | ||
Line 169: | Line 189: | ||
* Kodi: [https://kodi.wiki/view/SMB SMB], [https://kodi.wiki/view/NFS NFS] | * Kodi: [https://kodi.wiki/view/SMB SMB], [https://kodi.wiki/view/NFS NFS] | ||
= Stream video to browser, phone = | = Stream = | ||
== Stream video to browser, phone == | |||
* [https://stackoverflow.com/questions/40663466/how-to-stream-video-to-browser-with-kodi How to stream video to browser with Kodi]. Kodi is not exactly a media server, it works as a media center. However, with plex, you can set up your media center and have access to your media from your web browser. | * [https://stackoverflow.com/questions/40663466/how-to-stream-video-to-browser-with-kodi How to stream video to browser with Kodi]. Kodi is not exactly a media server, it works as a media center. However, with plex, you can set up your media center and have access to your media from your web browser. | ||
* [https://www.reddit.com/r/kodi/comments/xfpcid/kodi_content_to_phone_or_browser/ Kodi content to phone or browser?] | * [https://www.reddit.com/r/kodi/comments/xfpcid/kodi_content_to_phone_or_browser/ Kodi content to phone or browser?] | ||
== Internet video and audio streams == | |||
[https://kodi.wiki/view/Internet_video_and_audio_streams Kodi wiki]. I can create an .strm file (supports http, mms and rtsp protocols) and include my motionEye camera http://IP:8081 URL. It works. | |||
= Remote controller and CEC = | = Remote controller and CEC = | ||
Line 184: | Line 208: | ||
* [https://www.comparitech.com/kodi/kodi-web-interface/ How to use Kodi Web Interface and access files from any device]. How to use the Kodi web interface to stream music locally. ''This feature does not work for videos or even music addons. Only music files stored on your Kodi device can be streamed over the wireless network through this feature.'' | * [https://www.comparitech.com/kodi/kodi-web-interface/ How to use Kodi Web Interface and access files from any device]. How to use the Kodi web interface to stream music locally. ''This feature does not work for videos or even music addons. Only music files stored on your Kodi device can be streamed over the wireless network through this feature.'' | ||
* [https://www.howtogeek.com/277116/how-to-cast-youtube-and-other-web-videos-to-kodi-like-the-chromecast/ How to Cast YouTube and Other Web Videos to Kodi (Like the Chromecast)]. It works when I tested it with Yatse on Android and [https://chrome.google.com/webstore/detail/play-to-kodi/fncjhcjfnnooidlkijollckpakkebden?hl=en Play on Kodi] Chrome extension. After sending the video, I can turn off the original device or close the tab from PC. | * [https://www.howtogeek.com/277116/how-to-cast-youtube-and-other-web-videos-to-kodi-like-the-chromecast/ How to Cast YouTube and Other Web Videos to Kodi (Like the Chromecast)]. It works when I tested it with Yatse on Android and [https://chrome.google.com/webstore/detail/play-to-kodi/fncjhcjfnnooidlkijollckpakkebden?hl=en Play on Kodi] Chrome extension. After sending the video, I can turn off the original device or close the tab from PC. | ||
* [https://kodi.wiki/view/Official_Kodi_Remote/iOS Official Kodi Remote/iOS] | |||
** [https://www.technadu.com/how-to-setup-kodi-remote-on-ios-and-android-devices/12532/ How to Setup Kodi Remote on iOS and Android Devices] | |||
== Yatse == | |||
* Host IP: 192.168.x.x | |||
* Webserver port:8080 | |||
* Login: kodi | |||
* Password: yourpassword | |||
= Webserver = | = Webserver = | ||
Line 206: | Line 238: | ||
** I feel it is either too slow or can freeze Kodi | ** I feel it is either too slow or can freeze Kodi | ||
* [https://www.comparitech.com/kodi/uninstall-kodi-build-firestick/ How to uninstall a Kodi build on Amazon Fire Stick or FireTV] | * [https://www.comparitech.com/kodi/uninstall-kodi-build-firestick/ How to uninstall a Kodi build on Amazon Fire Stick or FireTV] | ||
= TV = | |||
* [https://tvheadend.org/ Tvheadend], [https://github.com/tvheadend/tvheadend Github] | |||
* [https://info.hdhomerun.com/info/hdhomerun_config hdhomerun_config] | |||
** It is best to specify static IP using your router's settings. So the streaming addresses used in tvheaded won't change. | |||
* [https://www.youtube.com/watch?v=6Dgjn1IKrFM Adding HDHomeRun tuners to TVheadend as IPTV inputs] | |||
* [https://www.youtube.com/watch?v=2Y-E4sQSb94 How to configure tvheadend server]. HDHomeRun. | |||
* [https://youtu.be/HAF6gcYGvhA PiPVR: Build your own Raspberry Pi (TV) Personal Video Recorder] | |||
* [https://youtu.be/UIyEX-qPXlo Live TV and PVR - TVheadend, Kodi, Jellyfin] | |||
* [https://youtu.be/P10uMzr7uiY TVheadend and HDHomeRun using IPTV inputs] | |||
Use Kodi to stream files available from server (http, https, smb, nfs, ...). Not related to TV. | |||
* [https://youtu.be/yREBMpLC4QY?t=658 You don't need JELLYFIN, EMBY, OR PLEX] (so no need a browser to access videos) | |||
* tvheadend server should be installed in Linux. On Kodi, we need to install Tvheadend HTSP client add-on from the 'PVR clients' addon category. | |||
== Plex == | |||
* [https://support.plex.tv/articles/226463767-frequently-asked-questions-dvr-live-tv/ Frequently Asked Questions – DVR & Live TV] | |||
* [https://support.plex.tv/articles/225877427-supported-dvr-tuners-and-antennas Supported DVR Tuners and Antennas] | |||
* [https://www.youtube.com/watch?v=Q5okoyPewyU The Ultimate Guide to Configuring Live TV & DVR with Plex!] | |||
== TV Guide == | |||
* https://www.tvtv.us/ Local over the air | |||
** [https://www.reddit.com/r/jellyfin/comments/kiz8jx/hdhomerun_free_xmltv_guide_data/ HDHomeRun & FREE XMLTV Guide Data], https://gist.github.com/idolpx/c82747bb740c303f56ad8a1e8f17d575 | |||
* Electronic Program Guide; TV Guide (it is a problem with tvheadend, not Kodi) | |||
** [https://koditips.com/set-up-an-epg-on-kodi/ 3 Easy Ways to Set up an EPG on Kodi (Really Works)] | |||
* [https://forum.libreelec.tv/thread/12228-tvheadend-epg-guide-from-hdhomerun/ Tvheadend EPG guide from hdhomerun]. | |||
** Generate an XMLTV-Compliant File from HDHomeRun: | |||
*** First, you’ll need to create an XMLTV-compliant file using a Python script that fetches data from your HDHomeRun device. | |||
*** Download the script named hdhomerun.py from this link and rename it to hdhomerun.py. | |||
*** Run the script on your system (e.g., via SSH) to generate an hdhomerun.xml file. This file contains EPG data from your HDHomeRun device | |||
** Configure TVHeadend: | |||
*** Open the TVHeadend web interface (usually accessible at http://<TVHeadend_IP>:9981/). | |||
*** Navigate to Configuration > General > Image Cache and enable it (to cache channel icons locally). | |||
*** In Configuration > Channel/EPG > EPG Grabber, ensure that “Update channel icon” is checked. | |||
*** Enable the Internal XMLTV EPG Grabber module. | |||
*** Set your channels to map correctly (auto-mapping by channel number might not work consistently). | |||
*** Re-run the internal EPG grabbers to fetch EPG content | |||
** Configure Kodi: | |||
*** In Kodi, go to Settings > PVR & Live TV and clear the data. | |||
*** Force a refresh of the guide content and channel icons in Kodi. | |||
*** Now your TV guide should display icons and EPG data from HDHomeRun! | |||
= Add-on = | = Add-on = | ||
Line 214: | Line 287: | ||
== Rsync == | == Rsync == | ||
https://forum.libreelec.tv/thread/1265-rsync/ It's in the | https://forum.libreelec.tv/thread/1265-rsync/ It's in the '''LibreELEC Add-ons''' -> '''Program add-ons''' -> '''Network-tools''', bundled with a few other bits and bobs. | ||
== cron == | |||
* Program add-on -> Cron for Kodi. | |||
* https://kodi.tv/addons/matrix/service.cronxbmc | |||
* https://github.com/robweber/cronxbmc | |||
== htop == | |||
* It is in the Program add-on -> System tools. See [https://forum.libreelec.tv/thread/640-htop/ here]. | |||
* As I can see from htop, streaming from YT does not use much CPU nor Memory in raspberry pi (hardware accelerated decoding). See also [https://kodi.wiki/view/Settings/Player/Videos Settings/Player/Videos] in Kodi wiki. | |||
** CPU is 3-10% for each core. | |||
** Memory usage is increased from 280MB to 330MB. | |||
== SendToKodi == | |||
* [https://github.com/firsttris/plugin.video.sendtokodi Kodi plugin] plays various stream sites on kodi using youtube-dl | |||
* [https://chromewebstore.google.com/detail/sendtokodi/gbcpfpcacakaadapjcdchbdmdnfbnbaf Chrome extension] | |||
== Youtube == | == Youtube == | ||
* https://kodi.wiki/view/Add-on:YouTube, [https://github.com/anxdpanic/plugin.video.youtube/wiki/Personal-API-Keys Github | * https://kodi.wiki/view/Add-on:YouTube, | ||
** [https://github.com/anxdpanic/plugin.video.youtube/releases Latest release]. On my Kodi/LibreElec 19.2 Matrix, the youtube addon is 6.8.x and youtube playback failed suddenly for some reason. However, once I download the latest zip file (7.0.3.2) and install the addon via this zip file, youtube works again. sftp [email protected] (libreelec). The home folder for '''root''' is '''/storage'''. Note that installation via zip file will not be able to get an update. | |||
** [https://github.com/anxdpanic/plugin.video.youtube/wiki/Personal-API-Keys Configure the API] on Github page. | |||
* [https://www.kodivpn.co/how-to-install-youtube-kodi-addon/ How to Install Kodi YouTube Addon & Setup Its API Key (2021)] | * [https://www.kodivpn.co/how-to-install-youtube-kodi-addon/ How to Install Kodi YouTube Addon & Setup Its API Key (2021)] | ||
* [https://www.firesticktricks.com/youtube-kodi-addon.html How to Install & Setup YouTube Kodi Addon (2022)] | * [https://www.firesticktricks.com/youtube-kodi-addon.html How to Install & Setup YouTube Kodi Addon (2022)] | ||
Line 224: | Line 315: | ||
* youtube.com/activate and google.com/device go to the same place. | * youtube.com/activate and google.com/device go to the same place. | ||
* The "project name" should not contain any space or use the [https://stackoverflow.com/a/67143074 project ID] (check the URL to find the ID), | * The "project name" should not contain any space or use the [https://stackoverflow.com/a/67143074 project ID] (check the URL to find the ID), | ||
* It is pain to enter the '''credentials''' API key, client ID & client Secret in Kodi. We can also create a json file ('''~/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json'''); see the Github page. It's a good idea to save the file for future use if we want to re-installl Youtube addon on Kodi. NOTE: '''~/.kodi''' is a soft link to '''/opt/retropie/configs/ports/kodi''' for the Kodi installed | * It is pain to enter the '''credentials''' API key, client ID & client Secret in Kodi. We can also create a json file ('''~/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json'''); see the Github page. It's a good idea to save the file for future use if we want to re-installl Youtube addon on Kodi. NOTE: On Raspbian Lite '''~/.kodi''' is a soft link to '''/opt/retropie/configs/ports/kodi''' for the Kodi installed. So we essentially need to back up the corresponding file from there. | ||
* You have to enter the authorization codes two times. On the 2nd time, I will get an [https://stackoverflow.com/a/65756560 error 403 - access denied]. The trick is to [https://www.linuxbabe.com/raspberry-pi/kodi-youtube add a test user] and click the button of "publish the app" on OAuth page (not sure if both are needed). At the 2nd time verification, we won't see the 403 error. But we need to go to "Advanced" and click the "Allow" button. | * You have to enter the authorization codes two times. On the 2nd time, I will get an [https://stackoverflow.com/a/65756560 error 403 - access denied]. The trick is to [https://www.linuxbabe.com/raspberry-pi/kodi-youtube add a test user] and click the button of "publish the app" on OAuth page (not sure if both are needed). At the 2nd time verification, we won't see the 403 error. But we need to go to "Advanced" and click the "Allow" button. | ||
* Some instruction based on an old version of addon [https://www.comparitech.com/kodi/kodi-youtube-addon/ How to install the YouTube Kodi addon] 2017 | * Some instruction based on an old version of addon [https://www.comparitech.com/kodi/kodi-youtube-addon/ How to install the YouTube Kodi addon] 2017 | ||
Line 230: | Line 321: | ||
== Exodus-redux == | == Exodus-redux == | ||
[https://androidtvnews.com/exodus-redux/ How to Install Exodus Redux Kodi Addon [2022]] | * [https://androidtvnews.com/exodus-redux/ How to Install Exodus Redux Kodi Addon [2022]] | ||
* Seren: This add-on allows users to access a wide range of TV shows and movies from various streaming sources. | |||
* The Magic Dragon: This add-on provides access to a large library of TV shows and movies, including popular series and new releases. | |||
* Yoda: This add-on allows users to search for and stream a wide variety of TV shows and movies, including popular series and new releases. | |||
* [https://kodibeginner.com/download-movies-tv-shows-kodi/ How to Download Movies and TV Shows with Kodi] | |||
* [https://androidtvnews.com/exodus-redux/ It does not work on Kodi 19]. | |||
== Chinese == | == Chinese == | ||
Line 243: | Line 339: | ||
== IPTV == | == IPTV == | ||
[https://www.makeuseof.com/tag/best-kodi-add-ons-iptv/ The 10 Best Kodi Add-Ons to Watch IPTV] | * [https://www.makeuseof.com/tag/best-kodi-add-ons-iptv/ The 10 Best Kodi Add-Ons to Watch IPTV] | ||
* [https://www.freedidi.com/8328.html IPTV直播源汇总!高清、稳定、速度快的免费'''直播源''',自己动手永不过时!] | |||
== Plex == | == Plex == | ||
[https://www.kodivpn.co/how-to-install-plex-kodi-addon/ How to Install Kodi Plex Addon & Use Plex Media Server (2021)] | [https://www.kodivpn.co/how-to-install-plex-kodi-addon/ How to Install Kodi Plex Addon & Use Plex Media Server (2021)] | ||
= Uses = | |||
[https://itigic.com/what-else-can-i-do-with-kodi-apart-from-streaming/ What else can I do with Kodi, apart from streaming?] | |||
== cron == | |||
* [https://kodi.wiki/view/Add-on:XBMC_Library_Auto_Update Add-on:XBMC Library Auto Update] | |||
* [https://kodi.tv/addons/matrix/service.cronxbmc Cron For Kodi] A customizable Cron timer for Kodi | |||
== Samba == | |||
* [https://kodi.wiki/view/SMB SMB] from Kodi wiki. SMB v2 or higher must be used1. Note that SMB v1 is not supported in Kodi. | |||
** Method 1. To add a share using this method, select '''Windows Network (SMB)''' from the '''Browse for new shares''' list, then browse to the required Source folder. | |||
** Method 2. '''Add Network Location'''. | |||
* [https://wiki.libreelec.tv/how-to/mount_network_share LibreELEC] | |||
* [https://singleboardbytes.com/2007/access-network-storage-in-kodi.htm How to access network storage in Kodi] with step-by-step screenshots. | |||
== Games == | |||
* [https://koditips.com/retro-games-kodi/ Retro Games in Kodi: Complete Setup Guide, Tips & Help (2022)] | |||
* (video) [https://youtu.be/i2w2ImIUXzs RETRO GAMING STEP BY STEP GUIDE 2019], [https://youtu.be/aONik9eIUEY 2020] from https://www.techdoctoruk.com/. [https://youtu.be/syJm33wylnE Another similar one]. https://github.com/zach-morris/repository.zachmorris/releases/ | |||
== Web browser == | |||
* Chrome Launcher | |||
* [https://raspberrytips.com/how-to-install-use-chromium-os-on-raspberry-pi-fydeos/ How to Install & Use Chromium OS on Raspberry Pi? (FydeOS)] |
Latest revision as of 12:30, 23 September 2024
Install on Raspberry Pi OS
sudo apt-get update sudo apt-get install kodi
When it is launched, it will ask if we want to enable "version check" add-on. We can enable it. If we want to change mind, we need to go to Kodi -> Add-on -> Box icon on top-left corner. Install from repository -> Services and select "Version Check".
Some tips
- When I use "htop" from another machine to check the memory usage when I watch pluto.tv, it uses 580MB.
- Inputstream adaptive missing? sudo apt-get install kodi-inputstream-adaptive It works on my Kodi 19.
- If I hit 'ESC' key, it will bring up a Kodi menu and put the video playing in the background. To go back to the video, hit the tab key. See Best Kodi Keyboard Shortcuts You Should Know in 2020.
Install to USB
- On RPI 3B+, I can directly install Kodi/LibreElec to USB and boot from it.
- On RPI 3B, it's a 2-step process.
- The OS contains 2 partitions. One is fat32 and the other is ext4. For LibreElec case, the fat32 partition took only 511.7M.
- I first install the Kodi/LibreElec to SD card. Then move the rootfs/STORAGE partition (ext4) from SD card to USB drive. I also need to open cmdline.txt file from the fat32 partition and modify the 2nd UUID (like, ab60c86b-b9bd-4048-ab59-2f570bce4662, below obtained by using the blkid command) to match it with my USB drive.
boot=UUID=0603-1735 disk=UUID=ab60c86b-b9bd-4048-ab59-2f570bce4662 quiet
As we can see below, the original /STORAGE partition from SD card (/dev/mmcblk0p2 or /var/media/STORAGE) is empty. And the new STORAGE partition is on the USB drive (/dev/sda1).
LibreELEC:~ # df -h Filesystem Size Used Available Use% Mounted on devtmpfs 330.5M 4.0K 330.5M 0% /dev tmpfs 184.4M 9.3M 175.2M 5% /run /dev/mmcblk0p1 511.7M 124.9M 386.9M 24% /flash /dev/loop0 110.0M 110.0M 0 100% / /dev/sda1 28.3G 1.3G 25.6G 5% /storage tmpfs 461.0M 0 461.0M 0% /dev/shm tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup tmpfs 461.0M 2.3M 458.8M 0% /var tmpfs 461.0M 0 461.0M 0% /tmp /dev/mmcblk0p2 27.4G 398.0K 27.4G 0% /var/media/STORAGE LibreELEC:~ # du -sh /var/media/STORAGE 1.0K /var/media/STORAGE
Install using PPA on Ubuntu
If we want to install it directly, Kodi is available in the universe repository of Ubuntu. Also Ubuntu 20.04 still has Kodi 18.6 (maybe useful for some old addons using python2).
https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux
sudo apt-get install software-properties-common sudo add-apt-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install kodi
Docker
https://github.com/linuxserver/docker-kodi-headless
docker run --name=kodi-headless \ -v <path to data>:/config/.kodi \ -e PGID=1000 -e PUID=1000 \ -p 8080:8080 \ -p 9090:9090 \ -p 9777:9777/udp \ linuxserver/kodi-headless
The username/password is kodi/kodi
OSMC
- Based on Debian. See the FAQ. So it should be simple to install VPN
- It has Raspberry Pi image & Windows & Linux (AppImage) & macOS.
- The Ultimate Guide to Install Kodi on Raspberry Pi (OSMC) including installing a VPN on it (Kodi)
LibreELEC
- Default username/ps: root/libreelec
- LibreELEC: 10.0.2. System info: 165/922MB. Build: 19.4. Hardware: CPU temperature: 129F (53C) on RP3B.
- How to Install a VPN on LibreELEC (and Configure It)
- InputStream Adaptive. Install it from the LibreELEC addon repository -> VideoPlayer InputStream -> InputStream Adaptive. inputstream.adaptive missing - LibreELEC v8.90.004 Generic
# ssh [email protected] # vcgencmd measure_temp temp=56.9 # cat /etc/os-release NAME="LibreELEC" VERSION="10.0.2" ID="libreelec" VERSION_ID="10.0" PRETTY_NAME="LibreELEC (official): 10.0.2" HOME_URL="https://libreelec.tv" BUG_REPORT_URL="https://github.com/LibreELEC/LibreELEC.tv" BUILD_ID="8fd15cdad59fb70083aa25b5c9680d8826b94696" LIBREELEC_ARCH="RPi2.arm" LIBREELEC_BUILD="official" LIBREELEC_PROJECT="RPi" LIBREELEC_DEVICE="RPi2" LibreELEC:~ # ls /flash SYSTEM bcm2710-rpi-3-b-plus.dtb cmdline.txt SYSTEM.md5 bcm2710-rpi-3-b.dtb config.txt bcm2708-rpi-b-plus.dtb bcm2710-rpi-cm3.dtb distroconfig.txt bcm2708-rpi-b-rev1.dtb bcm2710-rpi-zero-2-w.dtb fixup.dat bcm2708-rpi-b.dtb bcm2710-rpi-zero-2.dtb kernel.img bcm2708-rpi-cm.dtb bcm2711-rpi-4-b.dtb kernel.img.md5 bcm2708-rpi-zero-w.dtb bcm2711-rpi-400.dtb overlays bcm2708-rpi-zero.dtb bcm2711-rpi-cm4.dtb start.elf bcm2709-rpi-2-b.dtb bcm2711-rpi-cm4s.dtb bcm2710-rpi-2-b.dtb bootcode.bin
VPN
- Set up a VPN with a Kodi add-on
- How to Install Kodi VPN – A Complete Guide On The Best VPN for Kodi
- Guide: How to get VPN working on RetroPie's Kodi 'for noobs'
- *How to Install a VPN on Kodi: Using VPN Add-Ons for Kodi 2022. This allows you to change your VPN settings without exiting Kodi but comes with two notable drawbacks: not all VPN providers support this setup and it can be a tricky process. The benefits of this setup are limited – mainly it allows you to run your VPN without exiting Kodi – so we only recommend it for advanced users who know exactly what they want.
- DNS Leak-Test add-on
- Raspberry Pi VPN Setup Guide
- Download NordVPN app for Raspberry Pi, How to configure a Raspberry Pi
- HOW-TO:Install Kodi on Raspberry Pi
- We can use VPN on a virtual machine.
ProtonVPN
- Desktop App on x86 How to install a VPN on Ubuntu (not work yet on lubuntu)
- How to Install and Use ProtonVPN on Desktop Linux. We just need our (IKE2) username/password credential to set it up.
Install CLI in Ubuntu/debian
sudo apt update sudo apt install openvpn dialog python3-pip python3-setuptools sudo pip3 install protonvpn-cli
Setup ProtonVPN
sudo protonvpn init # Enter username/password # Choose UDP # done!
Disable IPV6. sudo nano /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 net.ipv6.conf.tun0.disable_ipv6 = 1
sudo sysctl -p
Connect to ProtonVPN
sudo protonvpn connect # Select a server location # Select UDP for fast speeds
Run curl ifconfig.me to confirm the new IP.
To disconnect from VPN
sudo protonvpn disconnect
Settings
Skins
The 12 Best Kodi skins for 2023 and how to install them
Chinese font
Settings - Interface - Skin - Fonts - Change to Arial from default.
Data location
Configuration file
HDR
- How to enable HDR in Kodi?
- What Is HDR (High Dynamic Range)?
- HD vs. HDR: What’s the Difference?
- The largest compromise with the Onn streaming box is HDR. No Dolby Vision, No Dolby Atmos. But it does support HDR10.
- How to use Netflix on your Android phone or tablet
Artwork
Stream
Stream video to browser, phone
- How to stream video to browser with Kodi. Kodi is not exactly a media server, it works as a media center. However, with plex, you can set up your media center and have access to your media from your web browser.
- Kodi content to phone or browser?
Internet video and audio streams
Kodi wiki. I can create an .strm file (supports http, mms and rtsp protocols) and include my motionEye camera http://IP:8081 URL. It works.
Remote controller and CEC
- Kodi wiki
- CEC. Kodi comes with libCEC (CEC abstraction and interface library from Pulse-Eight) which allows control of the Kodi input over the standard TV remote that comes with your TV.
- Remote controls
- If your TV and media center both support HDMI-CEC (the CEC stands for Consumer Electronics Control), you'll be able to use the TV remote to control Kodi. How to Set Up a Kodi Remote Control
Web interface/remote control via HTTP
- https://kodi.wiki/view/Web_interface
- How to Use Kodi’s Web Interface to Control Your Home Theater PC (or Stream Music)
- How to use Kodi Web Interface and access files from any device. How to use the Kodi web interface to stream music locally. This feature does not work for videos or even music addons. Only music files stored on your Kodi device can be streamed over the wireless network through this feature.
- How to Cast YouTube and Other Web Videos to Kodi (Like the Chromecast). It works when I tested it with Yatse on Android and Play on Kodi Chrome extension. After sending the video, I can turn off the original device or close the tab from PC.
- Official Kodi Remote/iOS
Yatse
- Host IP: 192.168.x.x
- Webserver port:8080
- Login: kodi
- Password: yourpassword
Webserver
https://kodi.wiki/view/Webserver
How to set up a Kodi UPnP server
How to set up a Kodi UPnP server
Resume video playback
- Looking for solution to resume across devices. You need a shared database, either MySQL or MariaDB.
- https://kodi.wiki/view/Add-on:Kodi_Playback_Resumer
- https://kodi.tv/addons/matrix/script.service.playbackresumer
Kodi builds
- Better to use VPN. Best free vpn for kodi: Windscribe VPN free 10GB
- 13 Best Kodi Builds of August 2022 – Everything You Need!!!
- 33 Best Kodi Builds in Aug 2022 (Added Kodi 19 Builds)
- 12 Best Kodi Builds August 2022
- Misfit Mods Kodi Build.
- How to Install Misfit Mods Lite Kodi Build on FireStick (2022)
- How to Install Misfit Mods Plus Kodi Build in 2022
- I feel it is either too slow or can freeze Kodi
- How to uninstall a Kodi build on Amazon Fire Stick or FireTV
TV
- Tvheadend, Github
- hdhomerun_config
- It is best to specify static IP using your router's settings. So the streaming addresses used in tvheaded won't change.
- Adding HDHomeRun tuners to TVheadend as IPTV inputs
- How to configure tvheadend server. HDHomeRun.
- PiPVR: Build your own Raspberry Pi (TV) Personal Video Recorder
- Live TV and PVR - TVheadend, Kodi, Jellyfin
- TVheadend and HDHomeRun using IPTV inputs
Use Kodi to stream files available from server (http, https, smb, nfs, ...). Not related to TV.
- You don't need JELLYFIN, EMBY, OR PLEX (so no need a browser to access videos)
- tvheadend server should be installed in Linux. On Kodi, we need to install Tvheadend HTSP client add-on from the 'PVR clients' addon category.
Plex
- Frequently Asked Questions – DVR & Live TV
- Supported DVR Tuners and Antennas
- The Ultimate Guide to Configuring Live TV & DVR with Plex!
TV Guide
- https://www.tvtv.us/ Local over the air
- Electronic Program Guide; TV Guide (it is a problem with tvheadend, not Kodi)
- Tvheadend EPG guide from hdhomerun.
- Generate an XMLTV-Compliant File from HDHomeRun:
- First, you’ll need to create an XMLTV-compliant file using a Python script that fetches data from your HDHomeRun device.
- Download the script named hdhomerun.py from this link and rename it to hdhomerun.py.
- Run the script on your system (e.g., via SSH) to generate an hdhomerun.xml file. This file contains EPG data from your HDHomeRun device
- Configure TVHeadend:
- Open the TVHeadend web interface (usually accessible at http://<TVHeadend_IP>:9981/).
- Navigate to Configuration > General > Image Cache and enable it (to cache channel icons locally).
- In Configuration > Channel/EPG > EPG Grabber, ensure that “Update channel icon” is checked.
- Enable the Internal XMLTV EPG Grabber module.
- Set your channels to map correctly (auto-mapping by channel number might not work consistently).
- Re-run the internal EPG grabbers to fetch EPG content
- Configure Kodi:
- In Kodi, go to Settings > PVR & Live TV and clear the data.
- Force a refresh of the guide content and channel icons in Kodi.
- Now your TV guide should display icons and EPG data from HDHomeRun!
- Generate an XMLTV-Compliant File from HDHomeRun:
Add-on
- 30+ Best Kodi movie and TV addons working in June 2021
- Crackle, Pluto, Tube
- The Oath, The Crew, Scrubs V2 (free), Ezra, Nightwing, Homelander, Alvin, The Promise, Sealteam6, Exodus fork
- FEN, Seren and Umbrella (most). Require Real Debrid ($3/month).
Rsync
https://forum.libreelec.tv/thread/1265-rsync/ It's in the LibreELEC Add-ons -> Program add-ons -> Network-tools, bundled with a few other bits and bobs.
cron
- Program add-on -> Cron for Kodi.
- https://kodi.tv/addons/matrix/service.cronxbmc
- https://github.com/robweber/cronxbmc
htop
- It is in the Program add-on -> System tools. See here.
- As I can see from htop, streaming from YT does not use much CPU nor Memory in raspberry pi (hardware accelerated decoding). See also Settings/Player/Videos in Kodi wiki.
- CPU is 3-10% for each core.
- Memory usage is increased from 280MB to 330MB.
SendToKodi
- Kodi plugin plays various stream sites on kodi using youtube-dl
- Chrome extension
Youtube
- https://kodi.wiki/view/Add-on:YouTube,
- Latest release. On my Kodi/LibreElec 19.2 Matrix, the youtube addon is 6.8.x and youtube playback failed suddenly for some reason. However, once I download the latest zip file (7.0.3.2) and install the addon via this zip file, youtube works again. sftp [email protected] (libreelec). The home folder for root is /storage. Note that installation via zip file will not be able to get an update.
- Configure the API on Github page.
- How to Install Kodi YouTube Addon & Setup Its API Key (2021)
- How to Install & Setup YouTube Kodi Addon (2022)
Tips:
- youtube.com/activate and google.com/device go to the same place.
- The "project name" should not contain any space or use the project ID (check the URL to find the ID),
- It is pain to enter the credentials API key, client ID & client Secret in Kodi. We can also create a json file (~/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json); see the Github page. It's a good idea to save the file for future use if we want to re-installl Youtube addon on Kodi. NOTE: On Raspbian Lite ~/.kodi is a soft link to /opt/retropie/configs/ports/kodi for the Kodi installed. So we essentially need to back up the corresponding file from there.
- You have to enter the authorization codes two times. On the 2nd time, I will get an error 403 - access denied. The trick is to add a test user and click the button of "publish the app" on OAuth page (not sure if both are needed). At the 2nd time verification, we won't see the 403 error. But we need to go to "Advanced" and click the "Allow" button.
- Some instruction based on an old version of addon How to install the YouTube Kodi addon 2017
- The Youtube addon does not provide much more information about videos (eg how popular a video). So it is better to use the 'cast' function to send videos from Android or PC's browsers to Kodi. See Web interface/remote control via HTTP.
Exodus-redux
- How to Install Exodus Redux Kodi Addon [2022]
- Seren: This add-on allows users to access a wide range of TV shows and movies from various streaming sources.
- The Magic Dragon: This add-on provides access to a large library of TV shows and movies, including popular series and new releases.
- Yoda: This add-on allows users to search for and stream a wide variety of TV shows and movies, including popular series and new releases.
- How to Download Movies and TV Shows with Kodi
- It does not work on Kodi 19.
Chinese
- Chinese addons for Kodi and Github page
- 5 Best Kodi Chinese Movies Add-ons
- 4 Best Chinese Kodi Addons in 2022
- bilibili插件, http://www.kodiplayer.cn/
Clear cache
- Youtube addon - Settings - Maintenance - Clear function cache/Clear data cache, ....
- Kodi Clear Cache Guide - Clear/Remove/Delete Caches on Kodi for Smooth Experience 2021 Feb
IPTV
Plex
How to Install Kodi Plex Addon & Use Plex Media Server (2021)
Uses
What else can I do with Kodi, apart from streaming?
cron
- Add-on:XBMC Library Auto Update
- Cron For Kodi A customizable Cron timer for Kodi
Samba
- SMB from Kodi wiki. SMB v2 or higher must be used1. Note that SMB v1 is not supported in Kodi.
- Method 1. To add a share using this method, select Windows Network (SMB) from the Browse for new shares list, then browse to the required Source folder.
- Method 2. Add Network Location.
- LibreELEC
- How to access network storage in Kodi with step-by-step screenshots.
Games
- Retro Games in Kodi: Complete Setup Guide, Tips & Help (2022)
- (video) RETRO GAMING STEP BY STEP GUIDE 2019, 2020 from https://www.techdoctoruk.com/. Another similar one. https://github.com/zach-morris/repository.zachmorris/releases/
Web browser
- Chrome Launcher
- How to Install & Use Chromium OS on Raspberry Pi? (FydeOS)