Sign inSign up

d9pouces/plex2nfo

By d9pouces

•Updated over 1 year ago

Image
0

1.2K

d9pouces/plex2nfo repository overview

⁠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 --overwrite-picture

If you installed plex2nfo with pipx, you can run it directly:

plex-2-nfo http://localhost:32400/ <plex-token> --section <Section> [--dry-run] --volume /local/volume/Movies:/data/Movies --overwrite-picture

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 currently supported, not TV shows.

Tag summary

Content type

Image

Digest

sha256:89ff71b2e…

Size

27.5 MB

Last updated

over 1 year ago

docker pull d9pouces/plex2nfo