Skip to content

Instantly share code, notes, and snippets.

View cvium's full-sized avatar

Claus Vium cvium

  • Copenhagen, Denmark
View GitHub Profile
@cvium
cvium / rtorrent_throttle.py
Last active March 13, 2018 08:54
A plexpy/tautulli notification script agent that throttles the upload rate of an rtorrent instance using rtxmlrpc if there are any remote Plex streams.
#!/usr/bin/env python
"""
Throttle an rtorrent instance when a remote stream is started. Can be executed from PlexPy/Tautulli or directly from
CLI.
Requirements:
1. Install pyroscope from github
2. install requests from pip
"""
@cvium
cvium / flexget-on-openelec.md
Last active August 1, 2018 12:51
Flexget on OpenELEC on Raspberry Pi

Instructions

Credit to danielfm

Compile from Source

First you need to download the source code and change the package build for the Python package. Replace X with the version you wish to install:

$ git clone -b openelec-X.0 https://github.com/openelec/openelec.tv
$ cd openelec.tv
$ vim packages/lang/Python/package.mk

Change vim with whatever text editor you prefer. Then find the following line: