Skip to content

IronBlood/kodi-tvshow-nfo-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kodi nfo generator for TV shows

中文说明

This is a simple node-based command-line tool to generate *.nfo files for TV shows. To generate *.nfo files for movies, please check out Peter Reutemann's kodi-nfo-generator.

IMDb will be used as the data source for genres, ratings, thumbs, etc.

Installation

Node.js is required as the running environment. After installing node.js, you may install this tools with this command:

npm install -g kodi-tvshow-nfo-generator

Usage

kodi-tvshow-nfo-generator /path/to/directory_1 /path/to/directory_2 ...

If no directory is provided in arguments, the current working directory will be used. You need to provide a tvshow.json file in each directory, the content looks like this:

	"id": "tt0000000",
	"title": "Foo (2021- )",
	"seasons": [1,2,3]

If everything goes well, the directory will look like this:

Foo (2021- )
├── Season 1
│   ├── Foo (2021– ) S01E01.nfo
│   ├── Foo (2021– ) S01E02.nfo
│   └── ......
├── Season 2
├── Season 3
├── tvshow.json
└── tvshow.nfo

You may need to copy, move or create symlinks to the original video files, and the target name should keep the same as the nfo file, e.g. Foo (2021- ) S01E01.mkv.

License

MIT

About

A node-based command-line tool to generator nfo files to add TV shows to kodi library.

Topics

Resources

License

Stars

Watchers

Forks