[Part 3] Download torrent & newsserver packages
|
10th Nov, 2013, 07:18 AM
Post: #85
|
|||
|
|||
RE: [Part 3] Download torrent & newsserver packages
Another suggestion for Transmission package. I can not think of a reason why not to include this. Its part of my how-to-follow-tvshows+movies-fully-automated guide. But I think anyone using Transmission will like this part, its just 1 .sh file, chmod +x and 2 settings that need to be modified in settings.json:
TRIGGER XBMC TO AUTO-UPDATE LIBRARY WHEN A NEW DOWNLOAD IS FINISHED. XBMC will ONLY update the folder containing the finished download file, so no more need for full "Update Library", which can take some time on the Pi. How? By running a simple script. Transmission can automatically run a script when a torrent is finished downloading. 1. sudo nano /etc/transmission/xbmc-upd.sh (The script needs to be in /etc/transmission/ otherwise Transmission cannot run the script) Now copy this and save it with CTRL+O, exit texteditor with CTRL+X: Code: /usr/bin/wget --header='Content-Type:application/json' --post-data='{"jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "xbian", "params": {"directory":"'"$TR_TORRENT_DIR"'/"}}' "http://localhost:8080/jsonrpc" 2. give the file execution permission: sudo chmod +x /etc/transmission/xbmc-upd.sh 3. add it to the etc/transmission/settings.json file: "script-torrent-done-enabled": true, "script-torrent-done-filename": "/etc/transmission/xbmc-upd.sh", |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[Part 2] Download torrent & newsserver package(s) | CurlyMo | 190 | 693,292 |
23rd Jan, 2014 06:31 PM Last Post: Robbie Wiggins |