This is an old revision of the document!
Table of Contents
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:
- Supplementary Tools on the Kodi wiki.
- Supplementary Tools for Kodi section on their forum.
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> </musicvideo>
Supposedly 'director' isn't used, but I want that info for myself :)
I also create a subtitle file (.ssa) that mimics the artist/titles credits Rage puts on videos:
[Script Info] ; Edit 'PlayResX: [1080|1920]', '[ARTIST]', '[Title]' Title: Default Aegisub file ScriptType: v4.00 WrapStyle: 0 ScaledBorderAndShadow: yes YCbCr Matrix: TV.601 PlayResX: [1080|1920] PlayResY: 1080 [V4 Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, Bold, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style: Rage-artist,Nimbus Sans Narrow,100,16777215,255,-1,5,1,70,10,10,1 Style: Rage-title,Nimbus Sans Narrow,80,16777215,255,-1,5,1,70,10,70,1 [Events] Format: Marked, Start, End, Style, Text Dialogue: Marked=0,0:00:15.00,0:00:25.00,Rage-artist,{\pos(70,934)}[ARTIST] Dialogue: Marked=0,0:00:15.00,0:00:25.00,Rage-title,[Title]
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 as long as you have the .nfo files and tell it to search recursively (like you do with other media) it'll be fine.