J1nx

YOU CAN DO IT CHEAPER YOURSELF.
  • Home
  • Articles
    • [DiY] Home (Personal AI) Assistant – BLOG series
    • [DEV] MycroftOS – A bare minimal OS based on Buildroot
  • Projects
    • [DIY] Home (Personal A.I.) Assistant – Project Page
    • [HACK] Installing HassOS on the Homey
    • [DEV] MycroftOS – Buildroot OS for Mycroft A.I.
  • Patreon
  • Contact
  • Home
  • Articles
  • DIY
  • [DiY] Home (Personal AI) Assistant (Installing KODI) – PART 7

Blog

Friday, 24 August 2018 / Published in DIY, ICT Matters, MyCroft A.I., Project 1, Smart Speaker

[DiY] Home (Personal AI) Assistant (Installing KODI) – PART 7

Next on the list is to install KODI on our device. This of course is optional, but as my device will end up close to the TV within the livingroom and I would like to have a great mediaplayer that plays all my offline content as well as a lot of online content (the upcoming release even including Netflix support / integration). Most steps below are just copy & paste from other tutorials online, but for completeness sake I include the install information on this blog as well.

So let us start with installing KODI itself by;

sudo apt-get update
sudo apt-get install kodi kodi-inputstream-adaptive kodi-inputstream-rtmp

This will install KODI and the two inputstream plugins. This for now is enough for me. If you need more or other plugins / addons you can check them out by;

apt-cache search kodi

For KODI to run properly we need to tweak our system a bit. Nothing fancy as all can be done once again with the raspi-config program. First we need to increase the amount of memory allocated to the video driver;

sudo raspi-config
"Advanced Options" -> "Memory Split" -> 256

Then to enable certain multimedia codecs such as VP6, VP8, MJPEG, Theora, etc. we need to enable the camera option.

"Interfacing Options" -> "Camera" -> Enable

And last but not least, we need to make sure we are using the closed source video drivers from the foundation, not the new(er) opensource version. It is default with Raspbian so should be OK, otherwise check it with the raspi-config and change it back to the  “Original non-GL desktop driver”.

That is it for now. If you would like to autostart KODI on boot you can do so by;

sudo nano /lib/systemd/system/kodi.service

And insert the following content;

[Unit]
Description = Kodi Media Center
After = remote-fs.target network-online.target
Wants = network-online.target

[Service]
User = pi
Group = pi
Type = simple
ExecStart = /usr/bin/kodi
Restart = on-abort
RestartSec = 5

[Install]
WantedBy = multi-user.target

Followed by the command;

sudo systemctl enable kodi.service
reboot

In one of the next blog post I will look at the great work from user “pcwii” at the Mycroft community, who is working on a Mycroft skill to control a KODI instance.


Do you like what you just read? Keep me going by donating on Paypal or become a Patron.


BE AMONG THE FIRST..
I agree to have my personal information transfered to MailChimp ( more information )
Be among the first to get access to all the latest information, tutorials and how-to's by joining the newsletter email list.
We hate spam. Your email address will not be sold or shared with anyone else.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
Tagged under: Embedded, ICT-Matters, Kodi, Multimedia, Raspberry Pi, Raspbian, Smart Speaker

What you can read next

[DiY] Home (Personal AI) Assistant (Some more ideas) – PART 9
[DiY] Home (Personal AI) Assistant (HASS / GA / Alexa / MyCroft) – PART 1
[DiY] Home (Personal AI) Assistant (Installing HASS) – PART 8

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • ReSpeaker 4-Mic Array HAT Mycroft A.I. Skill

    A while ago I created a Mycroft A.I. skill for ...
  • [DEV] MycroftOS – A bare minimal OS based on Buildroot – PART 5

    It has been a while once again since the last u...
  • [Update] Busy, busy, busy….

    Holy crap ! The last blog post here is already ...
  • [DEV] MycroftOS – A bare minimal OS based on Buildroot – PART 4

    A first (very) early alpha release is ready. St...
  • [Update] My plans for 2019

    It has (again, yeah I know) been a while since ...

Categories

  • ARM
  • DIY
  • Embedded
  • Home Assistance
  • Home Automation
  • Homey
  • ICT Matters
  • IoT
  • Linux
  • MyCroft A.I.
  • Project 1
  • Project 2
  • Project 3
  • Smart Speaker
  • Website News

Tags

A.I. Adapt Alexa ARM Bootsplash Buildroot chroot crosscompiling DeepSpeech DIY Embedded Google Assistance Google Home HASS HDMI Home Assistance Home Automation Homey ICT-Matters IoT Kodi Linux Mimic Multimedia MyCroft A.I. News Padatious Precise Raspberry Pi Raspbian ReSpeaker RPi Skills Smart Speaker sourcecode Webkit WPE

PETER STEENBERGEN

Born on the 25th of July 1978 in Leiderdorp - The Netherlands. A "geek" who is working 15+ years in the Oil & Gas industry. As a result of that, visited many parts of the world. His strong affinity with ICT matters has earned him certain online recognition and got him involved in multiple interesting projects. Was a co-founder of "The Little Black Box", a multimedia streamer based on XBMC / Kodi. A device that was brought available to big retail shops in the Netherlands such as MediaMarkt, BCC and many big online webshops as bol.com as an end result.

WEBSITE

  • Articles
  • Projects
  • Patreon
  • Our Policy
  • Contact

FOLLOW

  • Facebook
  • MeWe
  • Patreon
  • Github
  • Youtube

© 2018 J1nx | All rights reserved.

TOP