Skip to content

phelset/transmissionrpc-miniupnpc-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

transmissionrpc-miniupnpc-python

My transmission-daemon wouldn't properly map peer port with UPnP IGD, this is my solution.

This code (and readme) is for personal use, and not intended for others.

In short therms my code does this:

  1. Find current peer port via Transmission RPC
  2. Check if current peer port is mapped
    • Exit if port is successfully mapped (nothing to do)
  3. Try to map port if available
    • Find alternate port
  4. Update (new) peer port via Transmission RPC

Libraries

Install transmissionrpc python library in Ubuntu:

sudo apt-get install python-transmissionrpc

Install miniupnpc python library in Ubuntu:

sudo apt-get install git make python-dev
git clone https://github.com/miniupnp/miniupnp.git
cd miniupnp/miniupnpc
make pythonmodule
sudo make installpythonmodule

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages