Skip to main content

plex-tvdb-alt-orderer

A 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.

Usage

Interactive

By 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/48

Example (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/48

CLI

Usage: 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.

Example

plex-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 Variables

Name Description
ALT_ORDERER_PLEX_LIBRARY Your Plex TV show library name.
ALT_ORDERER_PLEX_PASSWORD Your Plex password.
ALT_ORDERER_PLEX_SERVER Your Plex server name (user/password authentication) or URL (token authentication).
ALT_ORDERER_PLEX_SHOW The name of the show in Plex.
ALT_ORDERER_PLEX_TOKEN Your Plex token.
ALT_ORDERER_PLEX_USER Your Plex username.
ALT_ORDERER_SEASON The season to update (-1 to update the entire series).
ALT_ORDERER_TVDB_ORDER The TVDB order name (as specified for API-connected systems).
ALT_ORDERER_TVDB_PIN Your TVDB subscriber PIN.

NOTE: CLI parameters take precedence over environment variables.

Additional Information

If 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

Metadata

Release files for plex-tvdb-alt-orderer 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plex-tvdb-alt-orderer 0.3.1
File Size Uploaded
plex-tvdb-alt-orderer-0.3.1.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plex-tvdb-alt-orderer 0.3.1
File Interpreter ABI Platform
plex_tvdb_alt_orderer-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / plex-tvdb-alt-orderer-0.3.1.tar.gz

Download URL plex-tvdb-alt-orderer-0.3.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a701c9b753d58c36978c3f44ef52f580ab66399e48ebfb3d2af24d0341e32b05
BLAKE2b-256 checksum
How to use checksums
a3b7ad18d51f0ef5fb097682da7034413393260d6ec5c4e806af691a57f6c535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / plex_tvdb_alt_orderer-0.3.1-py3-none-any.whl

Download URL plex_tvdb_alt_orderer-0.3.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4407a06d956aa369d93cef5351f16fa95e339fa387e6cc3616afe5641216a1b0
BLAKE2b-256 checksum
How to use checksums
41e6e10075e7170a13d284e0730c1c1ba3052701315147b9798398b549bd202e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page