Git Product home page Git Product logo

jsonmovieagent.bundle's Introduction

JSON Metadata Agent for Plex

Plex agent for Plex to load movie metadata from JSON located in folder with your media.

Media Structure

This agent supports only movies, agent for TV Shows can be found here.

Movies Metadata should be presented in Info.json file in same directory as your movie(s). For Example:

Movies
   |- Movie Subdir
   |   |- Memento.mkv
   |   |- Fight Club.mkv
   |   |- Memento.jpg
   |   |- Fight Club.jpg
   |   \- Info.json
   |- Zombieland.mp4
   |- No Country for Old Men.mkv
   |- Zombieland.jpg
   |- No Country for Old Men.jpg
   \- Info.json

Example JSON

The Info.json file is structured to follow Plex Movie Metadata Model as much as possible. It should look something like (this example is for Movie subdir mentioned above):

{
    "Memento.mkv": {
        "title": "Memento",
        "original_title": "Memento",
        "summary": "Leonard Shelby is tracking down the man who raped and murdered his wife. The difficulty of locating his wife's killer, however, is compounded by the fact that he suffers from a rare, untreatable form of short-term memory loss. Although he can recall details of life before his accident, Leonard cannot remember what happened fifteen minutes ago, where he's going, or why.",
        "year": "2000",
        "originally_available_at": "2000-10-11",
        "rating": "8.2",
        "content_rating": "PG-13",
        "studio": "Summit Entertainment",
        "duration": "113",
        "directors": [
            "Christopher Nolan"
        ],
        "genres": [
            "Mystery",
            "Thriller"
        ],
        "roles": [
                "Guy Pearce",
                "Carrie-Anne Moss"
        ],
        "writers": [
            "Christopher Nolan",
            "Jonathan Nolan"
        ],
        "producers": [
            "Suzanne Todd",
            "Jennifer Todd"
        ],
        "collections": [
            "Movie"
        ],
        "countries": [
            "USA"
        ]
    },
    "Fight Club.mkv": {
        "title": "Fight Club",
        "original_title": "Fight Club",
        "summary": "Leonard Shelby is tracking down the man who raped and murdered his wife. The difficulty of locating his wife's killer, however, is compounded by the fact that he suffers from a rare, untreatable form of short-term memory loss. Although he can recall details of life before his accident, Leonard cannot remember what happened fifteen minutes ago, where he's going, or why.",
        "originally_available_at": "1999-10-15",
        "directors": [
            "David Fincher"
        ],
        "genres": [
            "Drama",
            "Thriller",
            "Comedy"
        ],
        "roles": [
                "Brad Pitt",
                "Edward Norton",
                "Helena Bonham Carter"
        ],
        "producers": [
            "Art Linson",
            "Ceán Chaffin"
        ],
        "countries": [
            "USA"
        ]
    }
}

The keys of metadata are movie media file names with suffix. All fields in json file are optional. Nut First movie Memento has all metadata which can be optained from json file.

Installation

  1. Download the zipped bundle.
  2. Extract it.
  3. Rename it to JsonMovieAgent.bundle.
  4. Find the Plex Media data directory.
  5. move the .bundle folder to the Plug-ins directory.
  6. Restart plex server.
  7. You should be able to see JsonMovieAgent in Agents settings and should be able to pick it in Libraries manager settings as movie library agent.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.