GithubHelp home page GithubHelp logo

joearauzo / pyplexutils Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 31 KB

A Python package which includes useful command-line tools for managing media files for use with Plex Media Server.

License: GNU General Public License v3.0

Python 100.00%

pyplexutils's Introduction

pyPlexUtils

A Python package which includes useful command-line tools for managing media files for use with Plex Media Server.

Table of Contents

Getting Started

Prerequisites

The command-line tool, clear-mkvchptnames, included with this pyPlexUtils Python package requires the Matroska tools to be installed on your system. The Matroska tools includes a set of command-line tools which should be accessible from the shell PATH upon installation.

On macOS, the Matroska tools can be installed using the Homebrew package manager. From the terminal, type brew install mkvtoolnix and press Enter.

Installation

It is recommended to perform the install using pipx. Pipx allows you to execute binaries from Python packages in isolated environments. This is generally good housekeeping and helps to maintain a tidy global python environment on your system. Here's how to install pipx:

$ python3 -m pip install pipx
$ python3 -m userpath append ~/.local/bin

The last command updates your path if your system is configured to use the bash shell. However, if your system is configured to use zsh instead of bash, you will need to edit the ~./zshrc to include export PATH="$PATH:/Users/<your_user_name>/.local/bin" where <your_user_name> is your specific user name.

Here's how to install pyPlexUtils:

$ pipx install --spec git+https://[email protected]/JoeArauzo/pyPlexUtils.git pyPlexUtils

Usage

Once the package is installed, the following executable is available from the shell.

CLEAR-MKVCHPTNAMES
--------------------
Usage: clear-mkvchptnames [OPTIONS] FILE

  This command-line tool inspects the metadata of a Matroska (MKV) media
  file for chapters and clears the names assigned to each chapter.  This is
  to ensure interoperability with Plex Media Server (https://www.plex.tv)
  which requires MKV chapter names to be unnamed.

  Matroska tools (https://mkvtoolnix.download/) needs to already be
  installed and accessible from the shell PATH in order for this tool to
  run.

Options:
  -v, --verbose         Verbose output
  -b, --backupchapters  Backup chapters as xml file.
  --help                Show this message and exit.

Versioning

  • 0.1.0 โ€” (2019-06-04) first release

Authors

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

pyplexutils's People

Contributors

joearauzo avatar

Watchers

James Cloos 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.