All Projects → matthuisman → docker-kodi-headless

matthuisman / docker-kodi-headless

Licence: GPL-3.0 License
A headless install of kodi in a docker container

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to docker-kodi-headless

addon-check
Automatic checks for new repository submissions
Stars: ✭ 45 (+95.65%)
Mutual labels:  kodi
repository.colossus
Colossus Repository for Kodi Addons - Kodi is a registered trademark of the XBMC Foundation. We are not connected to or in any other way affiliated with Kodi - DMCA: [email protected]
Stars: ✭ 13 (-43.48%)
Mutual labels:  kodi
plugin.video.mlbtv
MLB.tv KODI add-on
Stars: ✭ 17 (-26.09%)
Mutual labels:  kodi
script.kodi.lifx.ambilight
💡📺🌈Kodi add-on for Lifx lights with ambilight support.
Stars: ✭ 28 (+21.74%)
Mutual labels:  kodi
rdio-xbmc
A Kodi plugin for Rdio
Stars: ✭ 34 (+47.83%)
Mutual labels:  kodi
plugin.video.covenant
Covenant Kodi Addon Development - Kodi is a registered trademark of the XBMC Foundation. We are not connected to or in any other way affiliated with Kodi - DMCA: [email protected]
Stars: ✭ 24 (+4.35%)
Mutual labels:  kodi
DeezerKodi
Deezer client for Kodi
Stars: ✭ 15 (-34.78%)
Mutual labels:  kodi
plugin.video.vrt.nu
Kodi add-on to watch content from the VRT NU website
Stars: ✭ 88 (+282.61%)
Mutual labels:  kodi
docker-amtd
AMTD is a Radarr companion script to automatically download movie trailers and extras for use in other video applications (plex/kodi/jellyfin/emby)
Stars: ✭ 78 (+239.13%)
Mutual labels:  kodi
plugin.video.invidious
Invidious Addon for Kodi
Stars: ✭ 27 (+17.39%)
Mutual labels:  kodi
skin.night
Night - A skin for KODI and OpenHT
Stars: ✭ 13 (-43.48%)
Mutual labels:  kodi
repo-scrapers
Official source repository for Kodi scraper add-ons
Stars: ✭ 27 (+17.39%)
Mutual labels:  kodi
docker-amvd
AMVD is a Lidarr companion script to automatically download and tag Music Videos for use in other video applications (plex/kodi/jellyfin/emby)
Stars: ✭ 58 (+152.17%)
Mutual labels:  kodi
kodi.web-pdb
Web-based remote Python debugger for Kodi addons
Stars: ✭ 73 (+217.39%)
Mutual labels:  kodi
piwigo-kodi
A Piwigo plugin for Kodi
Stars: ✭ 17 (-26.09%)
Mutual labels:  kodi
kodi-plugin-routing
A routing module for kodi plugins
Stars: ✭ 34 (+47.83%)
Mutual labels:  kodi
slyguy.addons
Github mirror of SlyGuy add-ons
Stars: ✭ 80 (+247.83%)
Mutual labels:  kodi
script.library.integration.tool
Kodi addon that allows video plugin content to be integrated into your library
Stars: ✭ 14 (-39.13%)
Mutual labels:  kodi
script.artwork.beef
An add-on for Kodi to manage artwork
Stars: ✭ 35 (+52.17%)
Mutual labels:  kodi
kodi.plugin.yandex-music
Yandex Music plugin for Kodi
Stars: ✭ 33 (+43.48%)
Mutual labels:  kodi

matthuisman/kodi-headless

A headless install of kodi in a docker container. Commonly used with MySQL Kodi setup to allow library updates via web interface.

https://hub.docker.com/r/matthuisman/kodi-headless

Usage

sudo docker run -d \
--name=kodi-headless \
--restart unless-stopped \
-v <path to data>:/config/.kodi \
-e PGID=<gid> -e PUID=<uid> \
-e TZ=<timezone> \
-p 8080:8080 \
-p 9090:9090 \
-p 9777:9777/udp \
matthuisman/kodi-headless:Matrix

Parameters

  • -p 8080 - webui port
  • -p 9090 - websockets port
  • -p 9777/udp - esall interface port
  • -v /config/.kodi - path for kodi configuration files
  • -e PGID for GroupID - see below for explanation
  • -e PUID for UserID - see below for explanation
  • -e TZ - for timezone information eg Europe/London, etc

Tags

  • Leia
  • Matrix

Platforms

  • amd64
  • armv6 / armv7
  • armv8 / arm64

Docker will automatically pull the correct version for your platform

User / Group Identifiers

Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.

In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

  $ id <dockeruser>
    uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)

Setting up the application

SQL settings are entered by editing the file advancedsettings.xml which is found in the userdata folder of your /config/.kodi mapping. Many other settings are within this file also.

If you intend to use this kodi instance to perform library tasks other than merely updating, eg. library cleaning etc, it is important to copy over the sources.xml from the host machine that you performed the initial library scan on to the userdata folder of this instance, otherwise database loss can and most likely will occur.

Info

  • Shell access whilst the container is running: docker exec -it kodi-headless /bin/bash
  • To monitor the logs of the container in realtime: docker logs -f kodi-headless

Credits

Fast Scanning

The below works if your media is stored on the same machine as this docker container and your using smb:// to share that media on the network.

First, mount your host media directory somewhere inside the container so Kodi can see it.
eg. --mount type=bind,source=/sharedfolders/pool,target=/media

Now, the below magic is done in Kodis advancedsettings.xml

<pathsubstitution>
  <substitute>
    <from>smb://192.168.20.3/sharedfolders/pool/</from>
    <to>/media/</to>
  </substitute>
</pathsubstitution>

That's it. Now instead of always needing to scan over smb://, it will replace that with /media and scan much quicker. When it does find new items, they are correctly stored in the SQL using their smb:// path

Versions

  • 29.10.21: Bump Matrix to 19.3
  • 10.10.21: Bump Matrix to 19.2
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].