Skip to main content

Manages the transportation of TV/Movie files to a mountable media share.

Project description

Manages the transportation of TV/Movie files to a mountable media share.

Contributers:

  • Steve Coward (stevesugarstack.io)

media-transporter is a project that arose out of laziness and boredom, mainly. There are plenty of similar or fully-featured alternatives like SickBeard and others, but I already had an existing workflow for:

  • Polling RSS feeds and downloading torrent files (Otomatic).

  • Automatic watching of a folder for torrents and auto-adding to a torrent client (Transmission).

The last piece involved the need to move completed downloads to my NAS. Enter media-transporter. Here’s how it works:

  • Create config.py in the same directory as transport.py. Use config_example.py as a template. The main options are media_shares, download_path, and unrar_path. Adjust these to match the path to your media share, where you have finished downloads, and the absolute path to the unrar binary. The share_[tv|movie]_* config options point to the path on your media share where TV and Movies are stored.

  • When executed (preferably automatically after a torrent is completed (Transmission is built to support this, for example)), media-transporter determines if your configured media share is within an acceptable range for storage capacity (configured in config.py).

  • If it is, media-transporter checks your Downloads folder for media files and folders, and intelligently moves each of them to their appropriate destination on your media share.

  • Logs are written to the value of log file to record all actions taken during processing. Useful for debugging.

The idea is that media-transporter will be able to be used on multiple platforms, including Windows. At the moment, media-transporter has only been tested on OS X and Linux, but it should be feasible to support Windows very easily.

Requirements

  • Python 2.*

  • unrar via either apt-get/yum (Linux), homebrew (OS X), WinRAR (Windows)

Installation

$ pip install transporter
$ python setup.py install

Things to do

  • Code cleanup. Plenty of stuff to do. This wasn’t originally meant for public distribution.

  • Support and test script on Windows.

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

media-transporter-0.1.1.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file media-transporter-0.1.1.tar.gz.

File metadata

File hashes

Hashes for media-transporter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 02468fb6cabdeeb89aa156fb3f9c1f6b3aee6bcf007331cf34dd37abc92e2ed1
MD5 b64e5d918430f85bb8adc351250f9245
BLAKE2b-256 fa097dde9103704ba15e75fd4a7023a82f13690dded8f835fe5e101773be3ae9

See more details on using hashes here.

Supported by

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