User Tools

Site Tools


kodi

This is an old revision of the document!


Kodi

Usage

Keyboard Shortcuts

Some keyboard shortcuts I forget:

c Context menu Let's you do handy things like mark a movie as watched
\ Fullscreen toggle

Config

Language

I had to set my (default) skin to use an 'Arial based' font to get not-Latin characters to render.

System (cog icon) > Interface settings > Skin > Fonts > Arial based

Metadata

You can use .nfo files instead of, or to enhance the data Kodi gets from databases like The Movie Database.

If you're setting this up after already having a big collection of stuff you can use a combination of tools like comm (or diff), find, and sort to check which directories don't have .nfo files.

I tend to do them by hand, but here're some tools to make the organisation process much less tedious:

Movie

They can just include a link to your movie on IMDB, or can contain XML.

The best way to get rolling is to use an online database to get all the data it can. Then from the settings you export your data as individual files that will be in the right place (in each films' directory) and you can make any needed changes (there'll be a bunch of misidentified films).

I have a file called movie.nfo in my ~/Templates directory that I use for new entries. Contents:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
	<title></title>
	<originaltitle></originaltitle>
	<set>
		<name></name>
		<overview></overview>
	</set>
	<sorttitle></sorttitle> 
	<plot></plot>
	<runtime></runtime>
	<uniqueid type="tmdb" default="true"></uniqueid>
	<uniqueid type="imdb" default="false"></uniqueid>
	<genre></genre>
	<country></country>
	<director></director>
	<year></year>
</movie>

Music Video

I thought it'd be fun to be able to homebrew guest host Rage (instead of just keeping a mental list), and Kodi has a category for music videos I now understand the purpose of.

Like with movies, I have a template I use:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<musicvideo>
	<title></title>
	<artist></artist>
	<year></year>
	<genre></genre>
	<tag></tag>
	<country></country>
	<director></director>
	<plot></plot
</musicvideo>

Supposedly 'director' isn't used, but I want that info for myself :) 'plot' is for additional info. abotu the video, if it's fro ma live performance, or a film, etc.

The page on the Kodi wiki says you need to keep the files in one directory and use the filename format [artist] - [title].[ext], but I think this is more for people who use music video scrapers (which aren't great—). As long as you have the .nfo files and tell it to search recursively (like you do with other media) it'll be fine.

Playlists

I haven't messed with playlists, but I think I'd find them useful for music videos.

You have four types (well, I'm ignoring one deliberately):

  • Queue - Temporary list you can add videos to as you explore your library.
  • Party Mode - Temporary list of ten random songs from your library. Seems like a bad way to run a party to me.
  • Basic - List of paths to files, in m3, pls, etc. formats, like you'd use elsewhere.
  • Smart - A dynamic playlist based on querying Kodi's database. There's a playlist creator in the Kodi interface. They can also be used as menu items.

See Also

kodi.1649980126.txt.gz · Last modified: 2022/04/15 09:48 by rjt