Control KODI open source media center with Mycroft.ai
Utilize the kodi API and Python library for controlling the KODI open source media center with Mycroft.ai. The control is mostly geared towards videos/movies but is capable of handling cursor navigation as well. The Kodi Skill uses conversational dialog to help you to control your KODI instance more naturally.
- "play the movie guardians of the galaxy"
- "play the film planet of the apes"
- "turn kodi subtitles on"
- "turn kodi subtitles off"
- "skip movie forward"
- "skip movie backward"
- "pause the movie"
- "re-start the movie"
- "stop the movie"
- "show the movie information"
- "hide the movie information"
- "turn kodi notifications on"
- "turn kodi notifications off"
- "move the cursor up / down / left / right / back / select / cancel"
- "move the cursor right 3 times"
- "move the cursor down twice"
- "update the kodi library"
- "clean the kodi library"
- "list recently added movies"
- "list the movies by genre"
- "list the movies by studio"
- "list movie sets"
- "list movies by title"
- "list movies by actor"
- "list all movies"
** If mycroft.ai locates more than one movie that matches your request it will permit you to itterate through your requests
- using conversational context.
- eg. "hey mycroft:"
- Request: "play the move Iron Man"
- Response: "I have located 3 movies with the name Iron Man, would you like me to list them?"
- Request: "yes" / "no"
- Response: "Iron Man, to Skip, say Next, say play, to play, or Cancel, to stop"
- Request: "next" / "skip"
- Response: "Iron Man 2"
- Request: "play" / "select"
- Response: "o-k, attempting to play, Iron Man 2"
If mycroft.ai locates the addon CinemaVision it will prompt the user if this addon should be used during the playback of the movie that was selected.
- Response: "Would you like to play the movie using cinemavision?"
- Request: "yes / no"
- Request: "play some Elton John from youtube
- Request: "Play the official captain marvel trailer from youtube"
- Request: "Stop youtube"
PCWii
Media
Tested on platform_picroft (others untested)
- Mycroft
- kodipydent
- Configure Kodi to “allow remote control via HTTP”, under the Kodi settings:services
- Configure Kodi to “allow remote control from applications on other systems”, under the Kodi settings:services
- Under Kodi settings:services note the port number (8080)
- Configure home.mycroft.ai to set your kodi instance ip address and port number
- Convert all kodipydent functions to json requests (WIP)
Enable username and password support in webgui(Complete)Enable subtitle control(Complete)Enable library scanning / cleaning(Complete)Enable Support for cinemavision(Complete)Correct cinemavision dialog control(Complete)- Enable kodi Volume Control (WIP)
Enable movie skip fwd/rev(Complete)- Enable random movie selection (WIP)
Add play "from youtube" option for videos / music(Complete)Clean up decision tree, requires significant pruning;-)- Show a filtered list of movies when a play request returns multiple results (WIP)