Skip to content

Command-line tool for taking raw torrents and loading them into Plex Server Libraries

License

Notifications You must be signed in to change notification settings

smccaffrey/plex_etl_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project has been converted to a Flask Application https://github.com/smccaffrey/plex-etl

Plex ETL Command Line Tool

This tool was originally designed for personal use, but after some refactoring efforts it will hopefully make your media loading process into PLEX a lot easier.

Installation

Change current directory to where you want to process media files.

$ cd /path/to/plex/libraries

Install plex_etl_cli

~/path/to/plex/libraries$ git clone https://github.com/smccaffrey/plex_etl_cli.git

Usage - Movies

Intitialize the pipeline. You will be prompted to specify where your plex library lives.

$ python plex_etl.py --pipe movies --initialize

A directory called movies will be created in the cwd, with sub directories 1_dump, 2_extracted, 3_transformed, 4_error, 5_encoding_queue. Place all raw movie rips/torrents in 1_dump.

Extract all movie files.

$ python plex_etl.py --pipe movies --extract

Test if movies can be processed by the pipeline.

$ python plex_etl.py --pipe movies --test_parse

Transform all movie files

$ python plex_etl.py --pipe movies --transform

Load all transformed movies in PLEX_MEDIA_LIBRARY

$ python plex_etl.py --pipe movies --load

Cleanup all ETL directories in the movies pipeline

$ python plex_etl.py --pipe movies --cleanup

Versions

v1.0.1

  • added cleanup() function remove old directories and file from 1_dump and 2_extracted from the movies pipe

v1.0.0

  • Created initial functionality
  • Fully supports processing movie files

About

Command-line tool for taking raw torrents and loading them into Plex Server Libraries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages