Git Product home page Git Product logo

plextidy's Introduction


Build Status GitHub issues GitHub forks

PlexTidy

PlexTidy is a small python3 script to cleanup your transcode directory to allow processing on small (ram)disks.

Using PlexTidy

  • Use it directly through Python3(.5+), visit the GitHub Release! page to download the script.
pip3 install scandir --upgrade
*/1 * * * * python3 plextidy.py -o [OPTIONS]

Configurable Options

The variables are honored to configure your instance:

  • -t, --disk-threshold = Disk full threshold (Default 700 (e.g. 70%))
  • -i,--disk-interval = Period in seconds between disk threshold checks. The default interval is 60 seconds. Higher quality source media and a smaller disk size require more frequent threshold checks A higher disk threshold (speficied by the user) will also require more frequent checks;
  • -p,--disk-path = Path to the temporary working directory used by the Plex New Transcoder. The transcode_path can be modified from the Plex web through Settings -> Server -> General -> Advanced;
  • -f,--file-regex = The temporary file regex (default should be fine);
  • -l,--log-level = Logging Level DEBUG, INFO, WARNING, ERROR (DEBUG is not advised);
  • -d,--log-dir = Log directory (default script dir) for logrotating.
  • -o,--one-off = Run only once, in-case you run from cron (default=false)

Automation

If you need help for additional configuration/automation/persistency please check my Blog Post

Credits

I'd like to thank https://gitlab.com/wjb/Plex-Free-Mem for the initial idea (No UNIX support).

Issues

If you have any problems with or questions about this image, please contact me through a GitHub issue!.

plextidy's People

Contributors

mirabis avatar

Stargazers

Admin9705 avatar

Watchers

James Cloos avatar Chaz Larson 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.