Python media scanner
A post download script used in conjunction with the transmission-daemon bittorent client.
- Python 2.7
- transmissionrpc python module
sudo easy_install transmissionrpc
- transmission-daemon
sudo apt-get install transmission-daemon
- xbmc tools
sudo apt-get install xbmc-eventclients-xbmc-send
- Download the transmission-daemon
sudo apt-get install transmission-daemon
- Stop the service
sudo service transmission-daemon stop
- Modify the init.d script to run the program as root.
- Set the configuration for the web and rpc interfaces
- Set the download folder and remember its path
- Set script-on-finish to true and the path to TorrentFinished as the file location
- Restart the service
sudo service transmission-daemon start
- Set variables in scanner.py script as they apply to you
cp scanner.cfg.example scanner.cfg
- Added a torrect via rpc or web interface and test!