Skip to main content

Simple Python-based command-line tool to generate .nfo files for movies and TV shows for Kodi.

Project description

The kodi-nfo-generator is a simple Python-based command-line tool that allows you to generate .nfo files for movies that Kodi can use for its library.

This tool is aimed at people that manually curate their movie databases, in order to avoid using scrapers that may pull in the wrong information (or none at all). All the user has to do is place an ID file alongside their movie files, the default is *.imdb, containing the unique IMDB movie ID (or full IMDB movie URL). The tool will then scour the movie directories for these files and pull in the information and create the .nfo files in the same location.

Changelog

0.0.11 (2023-08-19)

  • seasons can be extracted now from button-based navigation, as well as the older style “select”-based one.

  • episode data can be extract from episode-item-wrapper tags as well now

0.0.10 (2023-04-16)

  • using @type in JSON data to check whether episode data available (i.e., when TVSeries)

0.0.9 (2023-01-06)

  • using download-missing no longer generates Ignoring unhandled fanart type: download-missing message when fanart already present (just an output bug).

  • improved checks for existing .nfo files to reduce IMDB requests

  • added kodi-nfo-rename tool for renaming files using regular expressions (e.g., files of TV shows)

  • the kodi-nfo-gen tool now has additional options for matching episode files rather than using hardcoded defaults: –episode_pattern, –season_group, –episode_group.

0.0.8 (2023-01-04)

  • added kodi-nfo-guess tool that performs online database searches for directories that miss meta-files, like .imdb, which the kodi-nfo-gen tool uses as input.

0.0.7 (2023-01-03)

0.0.6 (2022-08-18)

0.0.5 (2021-11-06)

0.0.4 (2021-05-29)

  • ratingValue is now set as string, not float; better handling when preflang_title not available

0.0.3 (2021-03-11)

0.0.2 (2020-02-09)

  • added ability to export movie IDs to a CSV file using kodi-nfo-export

  • added ability to import movie IDs from a CSV file using kodi-nfo-import

  • kodi-nfo-gen now handles movies that only have limited information available (e.g., no plot or no image)

  • added interactive mode to tools (–interactive)

0.0.1 (2020-02-08)

  • initial release, only supports IMDB for the time being

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kodi-nfo-generator-0.0.11.tar.gz (33.6 kB view details)

Uploaded Source

File details

Details for the file kodi-nfo-generator-0.0.11.tar.gz.

File metadata

  • Download URL: kodi-nfo-generator-0.0.11.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for kodi-nfo-generator-0.0.11.tar.gz
Algorithm Hash digest
SHA256 439b38ec97abf8790bd001723dd28f3b53867ceda148a5bf2c25958d657ac435
MD5 0b5e312f67bd73cc999573397d24fec4
BLAKE2b-256 24709c6105c061364a1f41fb98647eaf154e1ca666dbf1e59406b0b4c3c67bff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page