Skip to main content

Plex default settings

Project description

Requirements

Python 3.8+

Installation

$ pip install plex_default_settings
---> 100%
Successfully installed plex_default_settings

Usage

Commands

$ plex_default_settings --help
Usage: plex_default_settings [OPTIONS] COMMAND [ARGS]...

Options:
  --verbose / --no-verbose        [default: False]
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.

  --help                          Show this message and exit.

Commands:
  dub  Set the default dubs for every episode of the show.
  sub  Set the default subtitles for every episode of the show.

Setting default subtitles for every episode of a show

$ plex_default_settings sub --help
Usage: plex_default_settings sub [OPTIONS] SHOW LANG

  Set the default subtitles for every episode of the show.

Arguments:
  SHOW  Show title  [required]
  LANG  Language code is defined by the ISO-639-1 (2-letter) or ISO-639-2/B
        (3-letter) standard. See links below

        https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes,
        https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes  [required]


Options:
  --username TEXT    Your Plex username  [required]
  --password TEXT    Your Plex password  [required]
  --servername TEXT  Plex server name  [required]
  --help             Show this message and exit.

Setting default dubs for every episode of a show

$ plex_default_settings dub --help
Usage: plex_default_settings dub [OPTIONS] SHOW LANG

  Set the default dubs for every episode of the show.

Arguments:
  SHOW  Show title  [required]
  LANG  Language code is defined by the ISO-639-1 (2-letter) or ISO-639-2/B
        (3-letter) standard. See links below

        https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes,
        https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes  [required]


Options:
  --username TEXT    Your Plex username  [required]
  --password TEXT    Your Plex password  [required]
  --servername TEXT  Plex server name  [required]
  --help             Show this message and exit.

Example

Set jpn dubs for every episode in the show "Hokuto No Ken Fan-Kai"

$ plex_default_settings dub \
  --username "${USERNAME}" \
  --password "${PASSWORD}" \
  --servername 'Linux Media Server' \
  'Hokuto No Ken Fan-Kai' jpn
Updating episodes  [####################################]  100%
Success!

Set eng subs for every episode in the show "Hokuto No Ken Fan-Kai"

$ plex_default_settings sub \
  --username "${USERNAME}" \
  --password "${PASSWORD}" \
  --servername 'Linux Media Server' \
  'Hokuto No Ken Fan-Kai' eng
Updating episodes  [####################################]  100%
Success!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for plex-default-settings, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size plex_default_settings-0.1.4-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size plex_default_settings-0.1.4.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page