Skip to main content

Tool for downloading videos from your Plex server to an external HDD

Project description

plexiglas

This piece of software was inspired by me buying the WD My Passport Wireless Pro, quite nice external hdd which is able to run Plex and stream all available media across connected wireless devices. The only remarkable problem was is requirement to manually copy required content to hdd, at least when you already have some instance of Plex set up. But now, with plexiglas, you can easily have multiple servers with similar data.

Features

  • Mobile Sync, Plex Pass subscribers only
    • Limit used space
    • Minimize transcoding somehow (no idea if it's possible)
  • Work with Python 2.7
    • Work on WD My Passport Wireless Pro (docs)
      • Run and able to download files
      • Keyring is working
  • Resume transfer
  • Simple downloading of original video for those, who don't have PlexPass. Please see Plex Downloader for now
    • With configurable transcoding
    • Automatically remove watched videos
  • Mark missing videos as watched
  • Limit bandwidth
  • Trailers downloading & converting to mp4

Installation

pip install --process-dependency-links plexiglas

Option --process-dependency-links is a temporary requirement, while plexapi doesn't have sync api.

Usage

plexiglas -d "/Volumes/My Passport/PlexSync" --limit-disk-usage 10% -w

Following arguments are currently supported:

  • -u, --username — your Plex.tv username, after the first run in will be securely stored in a keychain
  • -p, --password — your Plex.tv password, after the first run in will be securely stored in a keychain
  • -d, --destination — the path where to store downloaded files and Plexiglas' DB, current dir by default. Do not forget to copy .plexiglas.db file to the new path manually, If you'd like to change the folder
  • -w, --mark-watched — if a previously downloaded file is missing within destination directory the media would be marked as watched
  • --debug — enable debug logging
  • -v, --verbose — enable logging from underlying library (plexapi)
  • -s, --limit-disk-usage — sets disk usage limit, supported human-readable format and percents of total disk space
  • --loop — run the script in a loop, so it will monitor for updates
  • --delay — sets delay (in seconds) between iterations
  • -n, --device-name — allows to set human-readable device name instead of computer name
  • -r, --resume-downloads — restart download if file is exist
  • --rate-limit — limit bandwidth usage
  • -q — close application right after initialization and storing all required data in keyring
  • -i, --insecure — use insecure keyring, which can be used in non-interactive mode

If you wouldn't provide a username and/or password the app will ask you to provide them in interactive mode

Project details


Download files

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

Source Distribution

plexiglas-0.1.10.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distributions

plexiglas-0.1.10-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

plexiglas-0.1.10-py2-none-any.whl (14.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page