mknfo creates nfo files for video files. The name mknfo is a concatenation of make and information.

Given a video file, mknfo looks for embedded metadata within the file. A basic nfo file is created with the embedded metadata.

If the embedded metadata includes a URL1 to the video’s source, mknfo will fetch the URL and use extended metadata from the response to improve the final nfo file.

Using mknfo

To get started with mknfo, download and expand the executable file onto your computer.

mknfo is a single executable file. It does not need to be installed, can be run from any directory, and can be removed by deleting the file.

Limited Scope: This initial version of mknfo focuses on creating nfo files containing episode details.

Assuming you have a tagged video file called myvideo.mp4 in the current working directory, call mknfo with the video’s path:

./mknfo myvideo.mp4

The result is a new file called:

myvideo.nfo

The myvideo.nfo file is XML and can be viewed with a text editor.

What is an nfo file?

nfo files contain information about the contents, creator, and origin of video files. These files are often referred to as sidecar files because they are stored alongside the original video file. nfo files are commonly used by media players like Jellyfin, Kodi, and Plex to help identify and organise videos.

Flags

mknfo accepts the following command line flags:

Usage of mknfo:
  -cache string
        Directory to cache http requests (default "~/Caches/eu.miln.mknfo")
  -config string
        File path to configuration.
  -h    Show this help message and exit. (shorthand)
  -help
        Show this help message and exit.
  -l string
        Directory path to licence certificate files (PEM encoded) (shorthand) (default "~/.miln/")
  -legal
        Show legal notices and exit.
  -licence string
        Directory path to licence certificate files (PEM encoded) (default "~/.miln/")
  -quiet
        Quieten non-critical output.
  -replace
        Replace existing .nfo files
  -show-licence
        Show licence details and exit.
  -v    Show version details and exit. (shorthand)
  -version
        Show version details and exit.

  1. mknfo checks the comment field for the URL. ↩︎

Download

Latest downloads for mknfo.

Legal

Legal notices associated with mknfo.