SkillAgentSearch skills...

GoogleHomeKodi

Control kodi via Google Home / Assistant

Install / Use

/learn @OmerTu/GoogleHomeKodi
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Control Kodi through your Google Home / Google Assistant

Table of contents:


What it can do

Follow these steps to easily control your kodi using simple voice commands with your Google Home or Google assistant:

Play a movie:

"Hey Google, kodi play [movie name]" --> will search for the given movie name and play it.
"Hey Google, kodi resume [movie name]" --> will search for given movie name and pick up playback from where you left it.

Play a random movie:

"Hey Google, kodi play a random movie" --> will play a random movie.
"Hey Google, kodi play a random horror movie" --> will play a random movie of the genre "Horror".
"Hey Google, kodi play a random movie of the year 2010" --> will play a random movie of the year 2010.
"Hey Google, kodi play a random horror movie of the year 2010" --> will play a random movie of the genre "Horror" and of the year 2010.

Play a tv show:

Play the next unwatched episode: "Hey Google, kodi play tv show [tv show name]" --> will search for the given tv show and play the next unwatched episode.
Play a specific episode: "Hey Google, kodi play [tv show name] season 3 episode 1" --> will search for the given tv show and play season 3 episode 1.
Play a random episode from a tv show: "Hey Google, kodi shuffle [tv show name]" --> will search for the given tv show and play a random episode.
Play the most recently added episode: "Hey Google, kodi play new episode" --> will play the most recently added episode to the kodi library.
Binge watch a tv show: "Hey Google, kodi binge watch [tv show name]" --> will add all unwatched episodes to the playlist and play it.

Search and play a youtube video:

"Hey Google, kodi play youtube [youtube title]" --> will search a youtube video, and play the first video.
"Hey Google, kodi search youtube [youtube title]" --> will search youtube and show you the results on the kodi screen.

Pause / Resume kodi:

"Hey Google, pause kodi"

Stop kodi:

"Hey Google, stop kodi"

Change volume:

Mute kodi: "Hey Google, mute/unmute kodi"
Set volume: "Hey Google, set kodi volume to 60"
Increase volume: "Hey Google, Kodi volume up [by 10]" --> increase the volume by the requested amount or by 20% if no amount was specified
Decrease volume: "Hey Google, Kodi volume down [by 10]" --> similar to the above

Play PVR channel:

"Hey Google, switch kodi to BBC channel" or "Hey Google, switch kodi to channel 10"

Turn on TV:

"Hey Google, switch to kodi" --> will turn on the TV and switch to Kodi's HDMI input

Control Kodi-System:

"Hey Google, kodi shutdown" "Hey Google, kodi hibernate" "Hey Google, kodi reboot" "Hey Google, kodi suspend"

Scan/Clean library:

"Hey Google, kodi scan library" --> Will start a full library scan "Hey Google, kodi clean library" --> Will cleanup your library

Navigate kodi:

Navigate up: "Hey Google, kodi navigate up [3]" --> Will navigate up the requested amount or just once if no number was specified
Navigate Down: "Hey Google, kodi navigate down [3]" --> same as above for navigating down
Navigate Left: "Hey Google, kodi navigate left [3]" --> same as above for navigating left
Navigate Right: "Hey Google, kodi navigate right [3]" --> same as above for navigating right
Navigate Back: "Hey Google, kodi go back [3]" --> Will navigate back the requested amount or just once if no number was specified
Navigate Select: "Hey Google, kodi Select" --> Will select the hightlighted item
Navigate Context Menu: "Hey Google, kodi open context menu" --> Will open the context menu for the selected item
Navigate Go Home: "Hey Google, kodi go home" --> Will open the main menu page

Show kodi windows:

"Hey Google, kodi show favourites"
"Hey Google, kodi show movies"
"Hey Google, kodi show movies by title"
"Hey Google, kodi show movies by genre"
"Hey Google, kodi show recently added movies"
"Hey Google, kodi show tv shows"
"Hey Google, kodi show tv shows by title"
"Hey Google, kodi show tv shows by genre"
"Hey Google, kodi show recently added episodes"
"Hey Google, kodi show video addons"
"Hey Google, kodi show music addons"
"Hey Google, kodi show video files"
"Hey Google, kodi show music files"
"Hey Google, kodi show the top 100 albums"
"Hey Google, kodi show system settings"
"Hey Google, kodi show file manager"
"Hey Google, kodi show new YouTube videos"
"Hey Google, kodi show YouTube watch later"
"Hey Google, kodi show YouTube history"
"Hey Google, kodi show YouTube recommendations"
"Hey Google, kodi show YouTube subscriptions"
"Hey Google, kodi show YouTube settings"
"Hey Google, kodi show Spotify" (Spotify Kodi-Addon required)
"Hey Google, kodi show Spotify featured playlists" (Spotify Kodi-Addon required)

There are many more windows to choose from, a full list can be found here.

Whats Playing:

"Hey Google, kodi Whats Playing" --> Will show whats playing information

Change Subtitles:

"Hey Google, kodi subtitles on/off/previous/next" --> Will change subtitle settings

Change Subtitles direct select:

"Hey Google, kodi change subtitle to track 3" --> Will change subtitle track to a specific track

Change Audiostream(Language):

"Hey Google, kodi audiostream previous/next" --> Will change audiostream settings

Change Audiostream(Language) direct select:

"Hey Google, kodi change audiostream to track 3" --> Will change audiostream settings

Seek forward x minutes:

"Hey Google, kodi go forward 30 minutes" --> will seek forward [the requested number] of minutes or just 1 minute if no number was specified

Seek backwards x minutes:

"Hey Google, kodi go backward 30 minutes" --> same as above just seeking backward

Seek to x minutes:

"Hey Google, kodi jump to 30 minutes"

Play music:

"Hey Google, kodi play the song [song name]" --> will search for the given song name and play it.
"Hey Google, kodi play the album [album name]" --> will search for the given album name and play it.
"Hey Google, kodi play songs by the artist [music artist name]" --> will search for the given music artist name and play it.
"Hey Google, kodi play some [genre name] music" --> will play shuffled songs of that genre.
"Hey Google, kodi toggle party mode" --> starts the kodi party mode.

Playlist Control:

"Hey Google, kodi play playlist [playlistname]" --> This will look for a playlist with that name and play it. Smart and regular playlist supported.
"Hey Google, kodi playlist previous/next/[list item number]" --> This will go forward/backward or select an item on the currently playing playlist #.


How to setup and update

Disclaimer: Use on your own risk and choose complex username & password in the below steps.

A) Enable webserver access in kodi

  1. In Kodi, go to Settings > Services > Web server
  2. Set Allow remote contorl via HTTP to On
  3. Choose a port number (e.g. 8080). We will refer to that port as YOUR_KODI_PORT
  4. Choose a username and password (Important!). We will refer to those values as YOUR_KODI_USER_NAME and YOUR_KODI_PASSWORD

B) Set up a nodejs-webserver to control your kodi

We currently support three methods of how this app can be hosted.
~~1. Hosting it in Glitch, a 3rd-party web-hosting service~~ (No longer usable)
2. Hosting it yourself
3. Hosting it yourself with Docker
4. Hosting it with Google Cloud Run

The first method is very easy to set up and to maintain and also free of charge. The second method is for advanced users. You have to setup and maintain the nodejs environment yourself. But it supports multiple Kodi instances, greatly reduces latency and does not expose your kodi-webservice to the internet directly. The third method is also for advanced users. After installing docker, you can simply run our app as a production ready docker container. This is the recommended method for LibreELEC users.

<details> <summary><b>B.1 Set up a webserver in Glitch</b> (Click to expand instructions)</summary><p />

Please note, this method is no longer usable, due to Glitch's new policy regarding IFTTT and other pinging services like it. This section is left here for historic reasons. See #305 for more details.

  1. Configure your router to forward YOUR_KODI_PORT.
    Note: This is needed, so your kodi can be contacted from the internet.
  2. Find your external IP address (i.e. google for 'what's my ip?'). We will refer to that as YOUR_EXTERNAL_IP_ADDRESS later.
    Hint: It is strongly recommended to setup a dynDNS service of your choice. (i.e. selfhost.me)
  3. Go to Glitch.com and sign in with your github user
  4. Create a new Glitch project and under advance settings choose Import from GitHub
  5. Enter this project OmerTu/GoogleHomeKodi
  6. Change Glitch project settings to private (under share > Make private)
  7. Edit the .env file in your Glitch project with the following settings: (see this example)
KODI_PROTOCOL="http"
KODI_IP="YOUR_EXTERNAL_IP_ADDRESS"
KODI_PORT="YOUR_KODI_PORT"
KODI_USER="YOUR_KODI_USER_NAME"
KODI_PASSWORD="YOUR_KODI_PASSWORD"
AUTH_TOKEN="YOUR_CONNECTION_PASSWORD"
BROKER_ACCENT_INSENSITIVE_MATCH="true"
BROKER_LANGUAGE_CACHE_ENABLE="false"

YOUR_CONNECTION_PASSWORD can be anything you want. BROKER_ACCENT_INSENSITIVE_MATCH is a boolean value indicating if broker should do accent insens

View on GitHub
GitHub Stars535
CategoryDevelopment
Updated4d ago
Forks164

Languages

JavaScript

Security Score

80/100

Audited on Mar 29, 2026

No findings