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.4.tar.gz (12.4 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.4-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plex2nfo-1.0.4.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0

File hashes

Hashes for plex2nfo-1.0.4.tar.gz
Algorithm Hash digest
SHA256 c42b8c62d01f18e1301e8f6061e1cdc400b66ccb3655b72b382c9b1ef7b0650f
MD5 c6eb3810aa3f02f65bd48b223794787e
BLAKE2b-256 651d51af5f0be35e9cebcabc5e48e53741f5508b69aeb77fd2d414f6cc9f47cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: plex2nfo-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0

File hashes

Hashes for plex2nfo-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 deba77fb11f520b0faa422f9e4cb0ed5cdc15410ac97c39c9456858a33cd75c0
MD5 7d6cdec42281ce0eca4b434214d6f8c1
BLAKE2b-256 055933cd3846b33d39a52a03f022ce92fbb09ed4ef27b8b60d0232402ae8c3b3

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