Skip to main content

Write .NFO files and download poster/backdrop images from a Plex movie library.

Project description

Plex2NFO

Given a Plex movie library, this tool will generate NFO files for each movie in the library. The NFO files are compatible with Kodi and Jellyfin and can be used to import the movie library into Kodi or Jellyfin.

I assume that the library is already scanned into Plex, that the metadata is already downloaded and that each movie is in a separate folder. Please see the Plex documentation, especially the section "Movies in Their Own Folders" for more information.

Existing pictures are not overwritten, but NFO files are always overwritten.

installation

python3 -m pip install --user plex2nfo

You should also consider to use pipx to install plex2nfo, so that it does not interfere with your system Python installation.

sudo apt install pipx
pipx install plex2nfo

Another option is to use the Docker image:

docker run --rm d9pouces/plex2nfo:latest --help

Usage

python3 -m plex2nfo http://localhost:32400/ <plex-token> --section <Section> [--dry-run] --volume /local/volume/Movies:/data/Movies

The --volume argument is required when the Plex server is running in a Docker container and the NFO files should be written to the host system. The path /local/volume/Movies should be replaced with the path to the movie library on the host system. The path /data/Movies should be replaced with the path to the movie library in the Docker container.

Only Movies are supported, not TV shows.

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

plex2nfo-1.0.3.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plex2nfo-1.0.3-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file plex2nfo-1.0.3.tar.gz.

File metadata

  • Download URL: plex2nfo-1.0.3.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for plex2nfo-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ba8b97d2db499510ce00e873fa20d64245846c0b6d81a291d1b3a2d5f3248c0b
MD5 75bdc8c0daacba664487c75df031f855
BLAKE2b-256 0c2a225682ef26ee8de822bf91629b903686171a1cabbc20662b39e6629db92e

See more details on using hashes here.

File details

Details for the file plex2nfo-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: plex2nfo-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for plex2nfo-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c43d96e2e40ad3e19a6728ce8061a97bef27beb8e663bd67980714074538610b
MD5 e32343f8439f8c8c8d77a04ce9479ac8
BLAKE2b-256 2f57ff95fa0de0adabf29bd0aefd114d5b147262de38bf79cba3913d4404ace2

See more details on using hashes here.

Supported by

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