This project is a media automation tool using Django 1.5 and Python 3.3 It is intended for use with Plex for Media, and Transmission for torrent management.
- Plex Media Server for the media search functions
- Transmission as a torrent client running the RPC Server
- A server running aria2 for downloading files over HTTPS:
- Command for running aria2 in daemon mode with RPC:
- aria2c --daemon --enable-rpc --rpc-listen-all --rpc-user=user --rpc-passwd=pass --check-certificate=false --log-level=warn --log=/tmp/aria2.log
- Command for running aria2 in daemon mode with RPC:
- Server Packages
- apache
- libapache2-mod-wsgi-py3 // or relevant mod_wsgi package
- python3.3
- Python Packages
- django >= 1.5
- djangocms_admin_style
- django-dajax
- transmissionrpc
- requests
- django-crispy-forms
- urllib3
- beautifulsoup4
The server that is running the aria2 daemon must at least have the storage that the Plex server uses mounted, or have it as local storage.
Plex:
- Two sections, TV Shows and Movies.
- TV Shows storage format: * TV Shows/<Showname>/Season <#>/<Episode>
- Movies storage format: * Movies/<Moviename> (<Year>)/<Movie>
-
Copy config-example.py to config.py
-
Plex configurations
PLEX_URL = "https://127.0.0.1:32400" PLEX_SECTIONS = "library/sections" TRANSMISSION_HOST = '' TRANSMISSION_PORT = '' TRANSMISSION_USER = '' TRANSMISSION_PASS = '' TRANSMISSION_DOWNLOAD = '' # TRANSMISSION_DOWNLOAD is the HTTP/HTTPS location (root url) of all your downloads ARIA_HOST = '' # ARIA_HOST should look similar to: 'http://127.0.0.1:6800/jsonrpc' ARIA_USER = '' ARIA_PASS = '' ARIA_LOCATION = '' # ARIA_LOCATION is the mount point for where your videos are stored