Coder Social home page Coder Social logo

nfogen's Introduction

Nfo Gen

Release MIT licensed

THIS IS NO LONGER BEING MAINTENANCE. SEE THE REWRITTEN VERSION.

Overview

Nfo Gen is a script to generate nfo file(s). It is designed to be used by plex agent AvalonXmlAgent.bundle.

Usage

$ python nfogen.py <show name> [arguments]

Arguments

Short Long Argument(s) Example Description
-o --output output directory -o dir/ Output directory of the nfo(s) (default: current)
-s --season season number -s 1 Season number of the nfo(s) (default: 1)
-D --date start date -D 2017-01-01 Start date of the nfo file(s) (default: None)
-m --mpaa mpaa -m TV-14 Common mpaa of all the generate nfo(s)
-d --directors directors -d Alex Mary Common director(s) of all the generate nfo(s)
-w --writers writers -w Alex Mary Common writer(s) of all the generate nfo(s)
-p --producers producers -d Alex Mary Common producer(s) of all the generate nfo(s)
-g --guests guests -w Alex Mary Common guest(s) of all the generate nfo(s)
-i --increment days -i 7 Number of day(s) between each episode (default: 7)
-S --start_episode start episode -S 1 Episode number of the start (inclusive) (default: 1)
-E --end_episode end episode -E 12 Episode number of the end (inclusive) (default: 12)
-r --rating rating -r 1.0 Common rating(s) of all the generate nfo(s)
-t --title title* -t Ep1 Common title(s) of all the generate nfo(s)
-v --version N/A -v Show the version of the program
-h --help N/A -h Show help of the program

* Support template string

Template String

Template string allow using variable in the string for different nfos.

Variable Description
%INDEX% Current index in loop. Start from 0.
%EPISODE% Current episode number.
%DATE% Aired date of current episode. Format: yyyy-mm-dd

nfogen's People

Contributors

joshuaavalon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.