Installing Kodi in Docker!!!

BurnsHA
BurnsHA
38.5 هزار بار بازدید - 5 سال پیش - This video is a tutorial
This video is a tutorial on how to install Kodi media server in a docker container.  

Here is a link to get you started.....
https://hub.docker.com/r/linuxserver/...

(0:00) Intro

(1:59) For starters, you need to verify your id for your user and group that will be running the Kodi container...

id

(2:24) Once that is done, create a config directory for the Kodi config...

mkdir kodi ( i placed mine in my home directory)

(2:54) Now we are ready to install Kodi in a docker container, using docker-compose

cd docker-compose
vi docker-compose.yaml

 kodi:
   container_name: kodi
   image: linuxserver/kodi-headless
   restart: always
   environment:
     - PGID=1000
     - PUID=1000
     - TZ=America/Chicago
   volumes:
     - /home/adrian/kodi:/config/.kodi
   ports:
     - 8082:8080
     - 9090:9090
     - "9777:9777/udp"

Save that and then install...

sudo docker-compose up -d

Give it a second to install and then you can jump over to portainer and check everything out.

(6:44) Once everything looks good, follow along with the video and get logged in to Kodi

default username and password should both be kodi

(7:52) Lastly, lets add the Kodi server into Home Assistant using the Kodi component.

vi configuration.yaml

media_player:
 - platform: kodi
   name: 'kodi-server'
   host: 10.10.10.8

Once that is done, you can save it and restart home assistant for the changes to take.

After that, you should now be able to follow along with the last part of the video to get the media player card added to the web frontend.  

Thats the end of the video guys, if you like the video, please subscribe to my channel.  If you have any questions or comments, hit me up in the comments below.  As always, if there are any videos out there you would like to see that I don't already have out there, let  me know in the comments as well and ill see what I can do!
5 سال پیش در تاریخ 1398/01/02 منتشر شده است.
38,540 بـار بازدید شده
... بیشتر