Package: plex-tvdb-alt-orderer
plex-tvdb-alt-ordererA utility that applies alternate TVDB orders to Plex.It was specifically created to apply the Money Heist Netflix order but can be used for any show/order combination.NOTE: A TVDB API subscription is required.UsageInteractiveBy default, this application runs in interactive mode and will prompt the user for all necessary information.
However, all of this information can also be supplied via the CLI or environment variables.Example (User/Password)B:\> plex-tvdb-alt-orderer
[?] Enter your Plex server name (user/password authentication) or URL (token authentication): CoolGuyServer
[?] Enter your Plex username: coolguy
[?] Enter your Plex password: ********************
[?] Enter the name of the show: Money Heist
[?] Enter your TVDB subscriber PIN: ABC1234
[?] Select the order to apply: Alternate Order
   Aired Order
   DVD Order
   Absolute Order
 > Alternate Order
   Regional Order
   Alternate DVD Order

[?] Select the season to update: Entire Series
 > Entire Series
   Season 1
   Season 2
   Season 3
   Season 4
   Season 5

Updating Plex |################################| 48/48Example (Token)B:\> plex-tvdb-alt-orderer
[?] Enter your Plex server name (user/password authentication) or URL (token authentication): http://127.0.0.1:32400/
[?] Enter your Plex token: a9vuu9aklnKisJy4kmsT
[?] Enter the name of the show: Money Heist
[?] Enter your TVDB subscriber PIN: ABC1234
[?] Select the order to apply: Alternate Order
   Aired Order
   DVD Order
   Absolute Order
 > Alternate Order
   Regional Order
   Alternate DVD Order

[?] Select the season to update: Entire Series
 > Entire Series
   Season 1
   Season 2
   Season 3
   Season 4
   Season 5

Updating Plex |################################| 48/48CLIUsage: plex-tvdb-alt-orderer [OPTIONS]

Options:
  --plex-library TEXT   Your Plex TV show library name. Omit to use the
                        ALT_ORDERER_PLEX_LIBRARY environment variable, choose
                        from a list interactively or if your Plex server has a
                        sole TV show library.
  --plex-password TEXT  Your Plex password. Omit to use the
                        ALT_ORDERER_PLEX_PASSWORD environment variable or
                        enter interactively.
  --plex-server TEXT    Your Plex server name (user/password authentication)
                        or URL (token authentication). Omit to use the
                        ALT_ORDERER_PLEX_SERVER environment variable or enter
                        interactively.
  --plex-show TEXT      The name of the show in Plex. Omit to use the
                        ALT_ORDERER_PLEX_SHOW environment variable or enter
                        interactively.
  --plex-token TEXT     Your Plex token. Omit to use the
                        ALT_ORDERER_PLEX_TOKEN environment variable or enter
                        interactively.
  --plex-user TEXT      Your Plex username. Omit to use the
                        ALT_ORDERER_PLEX_USER environment variable or enter
                        interactively.
  --season INTEGER      The season to update (-1 to update the entire series).
                        Omit to use the ALT_ORDERER_SEASON environment
                        variable or enter interactively.
  --tvdb-order TEXT     The TVDB order name (as specified for API-connected
                        systems). Omit to use the ALT_ORDERER_TVDB_ORDER
                        environment variable or choose from a list
                        interactively.
  --tvdb-pin TEXT       Your TVDB subscriber PIN. Omit to use the
                        ALT_ORDERER_TVDB_PIN environment variable or enter
                        interactively.
  --help                Show this message and exit.Exampleplex-tvdb-alt-orderer --plex-server "CoolGuyServer" --plex-user coolguy --plex-password P@$$W0RD --plex-show "Money Heist" --season -1 --tvdb-pin ABC1234 --tvdb-order "Alternate Order"Environment VariablesNameDescriptionALT_ORDERER_PLEX_LIBRARYYour Plex TV show library name.ALT_ORDERER_PLEX_PASSWORDYour Plex password.ALT_ORDERER_PLEX_SERVERYour Plex server name (user/password authentication) or URL (token authentication).ALT_ORDERER_PLEX_SHOWThe name of the show in Plex.ALT_ORDERER_PLEX_TOKENYour Plex token.ALT_ORDERER_PLEX_USERYour Plex username.ALT_ORDERER_SEASONThe season to update (-1 to update the entire series).ALT_ORDERER_TVDB_ORDERThe TVDB order name (as specified for API-connected systems).ALT_ORDERER_TVDB_PINYour TVDB subscriber PIN.NOTE: CLI parameters take precedence over environment variables.Additional InformationIf the show name (entered interactively or via the CLI or environment variable) matches multiple Plex shows, the user will be prompted to select one:[?] Select the show to update: The 10th Kingdom
 > The 10th Kingdom
   Animal Kingdom (2016)
   Kingdom
   Kingdom (2014)
   The Last Kingdom